1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_buffer swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_double swig_types[2]
2469 #define SWIGTYPE_p_form_ops_t swig_types[3]
2470 #define SWIGTYPE_p_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_wxANIHandler swig_types[8]
2475 #define SWIGTYPE_p_wxAcceleratorTable swig_types[9]
2476 #define SWIGTYPE_p_wxActivateEvent swig_types[10]
2477 #define SWIGTYPE_p_wxAlphaPixelData swig_types[11]
2478 #define SWIGTYPE_p_wxAlphaPixelData_Accessor swig_types[12]
2479 #define SWIGTYPE_p_wxBMPHandler swig_types[13]
2480 #define SWIGTYPE_p_wxBitmap swig_types[14]
2481 #define SWIGTYPE_p_wxBoxSizer swig_types[15]
2482 #define SWIGTYPE_p_wxBrush swig_types[16]
2483 #define SWIGTYPE_p_wxBrushList swig_types[17]
2484 #define SWIGTYPE_p_wxBufferedDC swig_types[18]
2485 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[19]
2486 #define SWIGTYPE_p_wxCURHandler swig_types[20]
2487 #define SWIGTYPE_p_wxChar swig_types[21]
2488 #define SWIGTYPE_p_wxChildFocusEvent swig_types[22]
2489 #define SWIGTYPE_p_wxClientDC swig_types[23]
2490 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[24]
2491 #define SWIGTYPE_p_wxCloseEvent swig_types[25]
2492 #define SWIGTYPE_p_wxColour swig_types[26]
2493 #define SWIGTYPE_p_wxColourDatabase swig_types[27]
2494 #define SWIGTYPE_p_wxCommandEvent swig_types[28]
2495 #define SWIGTYPE_p_wxContextMenuEvent swig_types[29]
2496 #define SWIGTYPE_p_wxControl swig_types[30]
2497 #define SWIGTYPE_p_wxControlWithItems swig_types[31]
2498 #define SWIGTYPE_p_wxCursor swig_types[32]
2499 #define SWIGTYPE_p_wxDC swig_types[33]
2500 #define SWIGTYPE_p_wxDash swig_types[34]
2501 #define SWIGTYPE_p_wxDateEvent swig_types[35]
2502 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[36]
2503 #define SWIGTYPE_p_wxDropFilesEvent swig_types[37]
2504 #define SWIGTYPE_p_wxDuplexMode swig_types[38]
2505 #define SWIGTYPE_p_wxEffects swig_types[39]
2506 #define SWIGTYPE_p_wxEncodingConverter swig_types[40]
2507 #define SWIGTYPE_p_wxEraseEvent swig_types[41]
2508 #define SWIGTYPE_p_wxEvent swig_types[42]
2509 #define SWIGTYPE_p_wxEvtHandler swig_types[43]
2510 #define SWIGTYPE_p_wxFSFile swig_types[44]
2511 #define SWIGTYPE_p_wxFileSystem swig_types[45]
2512 #define SWIGTYPE_p_wxFlexGridSizer swig_types[46]
2513 #define SWIGTYPE_p_wxFocusEvent swig_types[47]
2514 #define SWIGTYPE_p_wxFont swig_types[48]
2515 #define SWIGTYPE_p_wxFontList swig_types[49]
2516 #define SWIGTYPE_p_wxFontMapper swig_types[50]
2517 #define SWIGTYPE_p_wxGBSizerItem swig_types[51]
2518 #define SWIGTYPE_p_wxGDIObjListBase swig_types[52]
2519 #define SWIGTYPE_p_wxGDIObject swig_types[53]
2520 #define SWIGTYPE_p_wxGIFHandler swig_types[54]
2521 #define SWIGTYPE_p_wxGridBagSizer swig_types[55]
2522 #define SWIGTYPE_p_wxGridSizer swig_types[56]
2523 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[57]
2524 #define SWIGTYPE_p_wxICOHandler swig_types[58]
2525 #define SWIGTYPE_p_wxIcon swig_types[59]
2526 #define SWIGTYPE_p_wxIconBundle swig_types[60]
2527 #define SWIGTYPE_p_wxIconLocation swig_types[61]
2528 #define SWIGTYPE_p_wxIconizeEvent swig_types[62]
2529 #define SWIGTYPE_p_wxIdleEvent swig_types[63]
2530 #define SWIGTYPE_p_wxImage swig_types[64]
2531 #define SWIGTYPE_p_wxImageHandler swig_types[65]
2532 #define SWIGTYPE_p_wxImageList swig_types[66]
2533 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[67]
2534 #define SWIGTYPE_p_wxInitDialogEvent swig_types[68]
2535 #define SWIGTYPE_p_wxJPEGHandler swig_types[69]
2536 #define SWIGTYPE_p_wxKeyEvent swig_types[70]
2537 #define SWIGTYPE_p_wxLanguageInfo swig_types[71]
2538 #define SWIGTYPE_p_wxLayoutConstraints swig_types[72]
2539 #define SWIGTYPE_p_wxLocale swig_types[73]
2540 #define SWIGTYPE_p_wxMask swig_types[74]
2541 #define SWIGTYPE_p_wxMaximizeEvent swig_types[75]
2542 #define SWIGTYPE_p_wxMemoryDC swig_types[76]
2543 #define SWIGTYPE_p_wxMenu swig_types[77]
2544 #define SWIGTYPE_p_wxMenuBar swig_types[78]
2545 #define SWIGTYPE_p_wxMenuEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMenuItem swig_types[80]
2547 #define SWIGTYPE_p_wxMetaFile swig_types[81]
2548 #define SWIGTYPE_p_wxMetaFileDC swig_types[82]
2549 #define SWIGTYPE_p_wxMirrorDC swig_types[83]
2550 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[84]
2551 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[85]
2552 #define SWIGTYPE_p_wxMouseEvent swig_types[86]
2553 #define SWIGTYPE_p_wxMoveEvent swig_types[87]
2554 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[88]
2555 #define SWIGTYPE_p_wxNativeFontInfo swig_types[89]
2556 #define SWIGTYPE_p_wxNativePixelData swig_types[90]
2557 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[91]
2558 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
2559 #define SWIGTYPE_p_wxNcPaintEvent swig_types[93]
2560 #define SWIGTYPE_p_wxNotifyEvent swig_types[94]
2561 #define SWIGTYPE_p_wxObject swig_types[95]
2562 #define SWIGTYPE_p_wxPCXHandler swig_types[96]
2563 #define SWIGTYPE_p_wxPNGHandler swig_types[97]
2564 #define SWIGTYPE_p_wxPNMHandler swig_types[98]
2565 #define SWIGTYPE_p_wxPaintDC swig_types[99]
2566 #define SWIGTYPE_p_wxPaintEvent swig_types[100]
2567 #define SWIGTYPE_p_wxPalette swig_types[101]
2568 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[102]
2569 #define SWIGTYPE_p_wxPaperSize swig_types[103]
2570 #define SWIGTYPE_p_wxPen swig_types[104]
2571 #define SWIGTYPE_p_wxPenList swig_types[105]
2572 #define SWIGTYPE_p_wxPixelDataBase swig_types[106]
2573 #define SWIGTYPE_p_wxPoint swig_types[107]
2574 #define SWIGTYPE_p_wxPostScriptDC swig_types[108]
2575 #define SWIGTYPE_p_wxPrintData swig_types[109]
2576 #define SWIGTYPE_p_wxPrinterDC swig_types[110]
2577 #define SWIGTYPE_p_wxPseudoDC swig_types[111]
2578 #define SWIGTYPE_p_wxPyApp swig_types[112]
2579 #define SWIGTYPE_p_wxPyCommandEvent swig_types[113]
2580 #define SWIGTYPE_p_wxPyEvent swig_types[114]
2581 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[115]
2582 #define SWIGTYPE_p_wxPyImageHandler swig_types[116]
2583 #define SWIGTYPE_p_wxPyLocale swig_types[117]
2584 #define SWIGTYPE_p_wxPySizer swig_types[118]
2585 #define SWIGTYPE_p_wxPyValidator swig_types[119]
2586 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[120]
2587 #define SWIGTYPE_p_wxRect swig_types[121]
2588 #define SWIGTYPE_p_wxRegion swig_types[122]
2589 #define SWIGTYPE_p_wxRegionIterator swig_types[123]
2590 #define SWIGTYPE_p_wxRendererNative swig_types[124]
2591 #define SWIGTYPE_p_wxRendererVersion swig_types[125]
2592 #define SWIGTYPE_p_wxScreenDC swig_types[126]
2593 #define SWIGTYPE_p_wxScrollEvent swig_types[127]
2594 #define SWIGTYPE_p_wxScrollWinEvent swig_types[128]
2595 #define SWIGTYPE_p_wxSetCursorEvent swig_types[129]
2596 #define SWIGTYPE_p_wxShowEvent swig_types[130]
2597 #define SWIGTYPE_p_wxSize swig_types[131]
2598 #define SWIGTYPE_p_wxSizeEvent swig_types[132]
2599 #define SWIGTYPE_p_wxSizer swig_types[133]
2600 #define SWIGTYPE_p_wxSizerItem swig_types[134]
2601 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[135]
2602 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[136]
2603 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[137]
2604 #define SWIGTYPE_p_wxStockGDI swig_types[138]
2605 #define SWIGTYPE_p_wxString swig_types[139]
2606 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[140]
2607 #define SWIGTYPE_p_wxTIFFHandler swig_types[141]
2608 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[142]
2609 #define SWIGTYPE_p_wxValidator swig_types[143]
2610 #define SWIGTYPE_p_wxWindow swig_types[144]
2611 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[145]
2612 #define SWIGTYPE_p_wxWindowDC swig_types[146]
2613 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[147]
2614 #define SWIGTYPE_p_wxXPMHandler swig_types[148]
2615 static swig_type_info
*swig_types
[150];
2616 static swig_module_info swig_module
= {swig_types
, 149, 0, 0, 0, 0};
2617 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2618 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2620 /* -------- TYPES TABLE (END) -------- */
2622 #if (PY_VERSION_HEX <= 0x02000000)
2623 # if !defined(SWIG_PYTHON_CLASSIC)
2624 # error "This python version requires to use swig with the '-classic' option"
2627 #if (PY_VERSION_HEX <= 0x02020000)
2628 # error "This python version requires to use swig with the '-nomodern' option"
2630 #if (PY_VERSION_HEX <= 0x02020000)
2631 # error "This python version requires to use swig with the '-nomodernargs' option"
2634 # error "This python version requires to use swig with the '-nofastunpack' option"
2637 /*-----------------------------------------------
2638 @(target):= _gdi_.so
2639 ------------------------------------------------*/
2640 #define SWIG_init init_gdi_
2642 #define SWIG_name "_gdi_"
2644 #define SWIGVERSION 0x010329
2647 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2648 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2651 #include <stdexcept>
2655 class PyObject_ptr
{
2660 PyObject_ptr() :_obj(0)
2664 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2669 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2671 if (initial_ref
) Py_XINCREF(_obj
);
2674 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2676 Py_XINCREF(item
._obj
);
2687 operator PyObject
*() const
2692 PyObject
*operator->() const
2701 struct PyObject_var
: PyObject_ptr
{
2702 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2704 PyObject_var
& operator = (PyObject
* obj
)
2714 #include "wx/wxPython/wxPython.h"
2715 #include "wx/wxPython/pyclasses.h"
2718 static const wxString
wxPyEmptyString(wxEmptyString
);
2720 #define SWIG_From_long PyInt_FromLong
2723 SWIGINTERNINLINE PyObject
*
2724 SWIG_From_int (int value
)
2726 return SWIG_From_long (value
);
2732 # define LLONG_MIN LONG_LONG_MIN
2735 # define LLONG_MAX LONG_LONG_MAX
2738 # define ULLONG_MAX ULONG_LONG_MAX
2743 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2745 if (PyNumber_Check(obj
)) {
2746 if (val
) *val
= PyInt_AsLong(obj
);
2749 return SWIG_TypeError
;
2754 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2757 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2758 return SWIG_TypeError
;
2761 *val
= (unsigned long)v
;
2767 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2770 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2771 if (SWIG_IsOK(res
)) {
2772 if ((v
> UCHAR_MAX
)) {
2773 return SWIG_OverflowError
;
2775 if (val
) *val
= static_cast< unsigned char >(v
);
2782 SWIGINTERNINLINE PyObject
*
2783 SWIG_From_unsigned_SS_long (unsigned long value
)
2785 return (value
> LONG_MAX
) ?
2786 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2790 SWIGINTERNINLINE PyObject
*
2791 SWIG_From_unsigned_SS_char (unsigned char value
)
2793 return SWIG_From_unsigned_SS_long (value
);
2796 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2797 wxColour temp
, *obj
= &temp
;
2798 if ( other
== Py_None
) return false;
2799 if ( ! wxColour_helper(other
, &obj
) ) {
2803 return self
->operator==(*obj
);
2805 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2806 wxColour temp
, *obj
= &temp
;
2807 if ( other
== Py_None
) return true;
2808 if ( ! wxColour_helper(other
, &obj
)) {
2812 return self
->operator!=(*obj
);
2816 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2818 if (obj
== Py_True
) {
2819 if (val
) *val
= true;
2821 } else if (obj
== Py_False
) {
2822 if (val
) *val
= false;
2826 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2827 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2832 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2833 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2837 int alpha
= wxALPHA_OPAQUE
;
2840 green
= self
->Green();
2841 blue
= self
->Blue();
2842 alpha
= self
->Alpha();
2844 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2845 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2846 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2848 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2851 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2852 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2856 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2859 int res
= SWIG_AsVal_long (obj
, &v
);
2860 if (SWIG_IsOK(res
)) {
2861 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2862 return SWIG_OverflowError
;
2864 if (val
) *val
= static_cast< int >(v
);
2870 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2872 int count
= self
->GetDashes(&dashes
);
2873 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2874 PyObject
* retval
= PyList_New(0);
2875 for (int x
=0; x
<count
; x
++) {
2876 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2877 PyList_Append(retval
, pyint
);
2880 wxPyEndBlockThreads(blocked
);
2883 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2884 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2885 int size
= PyList_Size(pyDashes
);
2886 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2888 // black magic warning! The array of wxDashes needs to exist as
2889 // long as the pen does because wxPen does not copy the array. So
2890 // stick a copy in a Python string object and attach it to _self,
2891 // and then call SetDashes with a pointer to that array. Then
2892 // when the Python pen object is destroyed the array will be
2894 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2895 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2897 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2899 Py_DECREF(strDashes
);
2900 wxPyEndBlockThreads(blocked
);
2902 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2903 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2905 SWIGINTERNINLINE PyObject
*
2906 SWIG_From_short (short value
)
2908 return SWIG_From_long (value
);
2913 SWIG_AsVal_short (PyObject
* obj
, short *val
)
2916 int res
= SWIG_AsVal_long (obj
, &v
);
2917 if (SWIG_IsOK(res
)) {
2918 if ((v
< SHRT_MIN
|| v
> SHRT_MAX
)) {
2919 return SWIG_OverflowError
;
2921 if (val
) *val
= static_cast< short >(v
);
2928 #include <wx/rawbmp.h>
2931 #include <wx/image.h>
2933 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2934 char** cArray
= NULL
;
2937 if (!PyList_Check(listOfStrings
)) {
2938 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2941 count
= PyList_Size(listOfStrings
);
2942 cArray
= new char*[count
];
2944 for(int x
=0; x
<count
; x
++) {
2945 // TODO: Need some validation and error checking here
2946 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2952 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2953 char** cArray
= NULL
;
2956 cArray
= ConvertListOfStrings(listOfStrings
);
2959 bmp
= new wxBitmap(cArray
);
2963 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2966 PyString_AsStringAndSize(bits
, &buf
, &length
);
2967 return new wxBitmap(buf
, width
, height
, depth
);
2969 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2970 wxSize
size(self
->GetWidth(), self
->GetHeight());
2973 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2974 wxMask
*mask
= new wxMask(*self
, colour
);
2975 self
->SetMask(mask
);
2977 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2978 self
->SetWidth(size
.x
);
2979 self
->SetHeight(size
.y
);
2981 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2982 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2984 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2985 // appears to me that the other platforms are already doing it, so I'll just
2986 // automatically do it for wxMSW here.
2988 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2989 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2991 #define wxPy_premultiply(p, a) (p)
2992 #define wxPy_unpremultiply(p, a) (p)
2996 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
2997 buffer data
, int DATASIZE
,
2998 buffer alpha
, int ALPHASIZE
)
3000 if (DATASIZE
!= width
*height
*3) {
3001 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3005 if (ALPHASIZE
!= width
*height
) {
3006 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3010 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3011 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3013 // raise an exception...
3014 wxPyErr_SetString(PyExc_RuntimeError
,
3015 "Failed to gain raw access to bitmap data.");
3020 wxAlphaPixelData::Iterator
p(pixData
);
3021 for (int y
=0; y
<height
; y
++) {
3022 wxAlphaPixelData::Iterator rowStart
= p
;
3023 for (int x
=0; x
<width
; x
++) {
3024 byte a
= *(alpha
++);
3025 p
.Red() = wxPy_premultiply(*(data
++), a
);
3026 p
.Green() = wxPy_premultiply(*(data
++), a
);
3027 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3032 p
.OffsetY(pixData
, 1);
3037 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3039 if (DATASIZE
!= width
*height
*3) {
3040 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3044 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3045 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3047 // raise an exception...
3048 wxPyErr_SetString(PyExc_RuntimeError
,
3049 "Failed to gain raw access to bitmap data.");
3053 wxNativePixelData::Iterator
p(pixData
);
3054 for (int y
=0; y
<height
; y
++) {
3055 wxNativePixelData::Iterator rowStart
= p
;
3056 for (int x
=0; x
<width
; x
++) {
3057 p
.Red() = *(data
++);
3058 p
.Green() = *(data
++);
3059 p
.Blue() = *(data
++);
3063 p
.OffsetY(pixData
, 1);
3069 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3071 if (DATASIZE
!= width
*height
*4) {
3072 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3076 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3077 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3079 // raise an exception...
3080 wxPyErr_SetString(PyExc_RuntimeError
,
3081 "Failed to gain raw access to bitmap data.");
3086 wxAlphaPixelData::Iterator
p(pixData
);
3087 for (int y
=0; y
<height
; y
++) {
3088 wxAlphaPixelData::Iterator rowStart
= p
;
3089 for (int x
=0; x
<width
; x
++) {
3091 p
.Red() = wxPy_premultiply(*(data
++), a
);
3092 p
.Green() = wxPy_premultiply(*(data
++), a
);
3093 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3094 p
.Alpha() = a
; data
++;
3098 p
.OffsetY(pixData
, 1);
3104 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3106 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3107 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3108 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3110 self
->Green() = green
;
3111 self
->Blue() = blue
;
3113 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3114 PyObject
* rv
= PyTuple_New(3);
3115 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3116 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3117 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3121 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3123 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3124 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3125 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3126 self
->Red() = wxPy_premultiply(red
, alpha
);
3127 self
->Green() = wxPy_premultiply(green
, alpha
);
3128 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3129 self
->Alpha() = alpha
;
3131 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3132 PyObject
* rv
= PyTuple_New(4);
3133 int red
= self
->Red();
3134 int green
= self
->Green();
3135 int blue
= self
->Blue();
3136 int alpha
= self
->Alpha();
3138 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3139 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3140 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3141 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3144 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3146 return new wxMask(bitmap
, *wxBLACK
);
3148 return new wxMask(bitmap
, colour
);
3151 #include <wx/iconbndl.h>
3153 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3154 wxIcon
* icon
= new wxIcon();
3155 icon
->CopyFromBitmap(bmp
);
3158 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3159 char** cArray
= NULL
;
3162 cArray
= ConvertListOfStrings(listOfStrings
);
3165 icon
= new wxIcon(cArray
);
3169 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3173 return new wxIconLocation(*filename
);
3176 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3183 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3190 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3192 wxImage
img(cursorName
, type
);
3193 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3194 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3195 return new wxCursor(img
);
3197 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3202 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3205 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3206 return self
->operator bool();
3209 #include <wx/fontutil.h>
3210 #include <wx/fontmap.h>
3211 #include <wx/fontenum.h>
3213 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3214 return self
->ToString();
3217 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3218 static wxNativeEncodingInfo info
;
3219 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3226 SWIGINTERNINLINE PyObject
*
3227 SWIG_From_size_t (size_t value
)
3229 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3233 SWIGINTERNINLINE
int
3234 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3237 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3238 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3242 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3243 wxFontEncoding alt_enc
;
3244 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3245 return PyInt_FromLong(alt_enc
);
3251 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3252 wxNativeFontInfo nfi
;
3253 nfi
.FromString(info
);
3254 return new wxFont(nfi
);
3256 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3257 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3259 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3260 return wxFontBase::New(pixelSize
, family
,
3261 style
, weight
, underlined
,
3264 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3265 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3267 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3268 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3270 class wxPyFontEnumerator
: public wxFontEnumerator
{
3272 wxPyFontEnumerator() {}
3273 ~wxPyFontEnumerator() {}
3275 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3276 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3281 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3282 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3285 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3287 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3288 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3289 ret
= wxArrayString2PyList_helper(arr
);
3290 wxPyEndBlockThreads(blocked
);
3293 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3295 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3296 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3297 ret
= wxArrayString2PyList_helper(arr
);
3298 wxPyEndBlockThreads(blocked
);
3304 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3307 loc
= new wxLocale();
3309 loc
= new wxLocale(language
, flags
);
3310 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3311 // for the floating point conversions and such to work right.
3312 #if PY_VERSION_HEX < 0x02040000
3313 setlocale(LC_NUMERIC
, "C");
3317 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3318 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3319 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3320 // for the floating point conversions and such to work right.
3321 #if PY_VERSION_HEX < 0x02040000
3322 setlocale(LC_NUMERIC
, "C");
3326 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3327 bool rc
= self
->Init(language
, flags
);
3328 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3329 // for the floating point conversions and such to work right.
3330 #if PY_VERSION_HEX < 0x02040000
3331 setlocale(LC_NUMERIC
, "C");
3336 class wxPyLocale
: public wxLocale
3341 wxPyLocale(const wxChar
*szName
, // name (for messages)
3342 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3343 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3344 bool bLoadDefault
= true, // preload wxstd.mo?
3345 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3347 wxPyLocale(int language
, // wxLanguage id or custom language
3348 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3352 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3353 const wxChar
*szDomain
= NULL
) const;
3354 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3355 const wxChar
*szOrigString2
, size_t n
,
3356 const wxChar
*szDomain
= NULL
) const;
3358 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3359 const wxChar
*szDomain
= NULL
) const;
3360 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3361 const wxChar
*szOrigString2
, size_t n
,
3362 const wxChar
*szDomain
= NULL
) const;
3366 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3369 wxPyLocale::wxPyLocale() : wxLocale()
3373 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3374 const wxChar
*szShort
, // dir prefix (for msg files)
3375 const wxChar
*szLocale
, // locale (for setlocale)
3376 bool bLoadDefault
, // preload wxstd.mo?
3377 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3378 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3382 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3383 int flags
) : wxLocale(language
, flags
)
3387 wxPyLocale::~wxPyLocale()
3391 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3392 const wxChar
*szDomain
) const
3394 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3395 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3398 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3399 const wxChar
*szOrigString2
, size_t n
,
3400 const wxChar
*szDomain
) const
3402 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3403 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3406 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3407 const wxChar
*szDomain
) const
3410 static wxString str
;
3411 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3412 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3413 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3414 PyObject
* param1
= wx2PyString(szOrigString
);
3415 PyObject
* param2
= wx2PyString(szDomain
);
3416 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3420 str
= Py2wxString(ret
);
3424 wxPyEndBlockThreads(blocked
);
3425 return (found
? (wxChar
*)str
.c_str() : NULL
);
3428 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3429 const wxChar
*szOrigString2
, size_t n
,
3430 const wxChar
*szDomain
) const
3433 static wxString str
;
3434 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3435 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3436 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3437 PyObject
* param1
= wx2PyString(szOrigString
);
3438 PyObject
* param2
= wx2PyString(szOrigString2
);
3439 PyObject
* param4
= wx2PyString(szDomain
);
3440 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3445 str
= Py2wxString(ret
);
3449 wxPyEndBlockThreads(blocked
);
3450 return (found
? (wxChar
*)str
.c_str() : NULL
);
3453 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3456 loc
= new wxPyLocale();
3458 loc
= new wxPyLocale(language
, flags
);
3459 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3460 // for the floating point conversions and such to work right.
3461 #if PY_VERSION_HEX < 0x02040000
3462 setlocale(LC_NUMERIC
, "C");
3467 #include "wx/wxPython/pydrawxxx.h"
3469 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3471 self
->GetPixel(x
, y
, &col
);
3474 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3476 self
->GetPixel(pt
, &col
);
3481 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3483 if (PyNumber_Check(obj
)) {
3484 if (val
) *val
= PyFloat_AsDouble(obj
);
3487 return SWIG_TypeError
;
3490 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3492 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3495 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3497 self
->GetClippingBox(rect
);
3500 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3502 self
->GetPartialTextExtents(text
, widths
);
3506 #define SWIG_From_double PyFloat_FromDouble
3508 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3509 self
->SetLogicalOrigin(point
.x
, point
.y
);
3511 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3512 self
->SetDeviceOrigin(point
.x
, point
.y
);
3514 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3515 self
->CalcBoundingBox(point
.x
, point
.y
);
3517 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3518 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3520 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3521 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3523 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3524 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3526 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3527 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3529 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3530 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3532 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3533 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3536 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3544 #include <wx/dcbuffer.h>
3547 #include <wx/dcps.h>
3550 #include <wx/metafile.h>
3554 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3555 self
->AddColour(name
, wxColour(red
, green
, blue
));
3558 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3559 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3560 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3561 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3564 #include <wx/effects.h>
3567 #include "wx/renderer.h"
3570 SWIGINTERNINLINE PyObject
*
3571 SWIG_From_bool (bool value
)
3573 return PyBool_FromLong(value
? 1 : 0);
3577 #include "wx/wxPython/pseudodc.h"
3579 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3581 self
->GetIdBounds(id
, rect
);
3587 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3588 PyObject
*resultobj
= 0;
3589 wxGDIObject
*result
= 0 ;
3591 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3593 if (!wxPyCheckForApp()) SWIG_fail
;
3594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3595 result
= (wxGDIObject
*)new wxGDIObject();
3596 wxPyEndAllowThreads(__tstate
);
3597 if (PyErr_Occurred()) SWIG_fail
;
3599 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3606 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3607 PyObject
*resultobj
= 0;
3608 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3611 PyObject
*swig_obj
[1] ;
3613 if (!args
) SWIG_fail
;
3615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3616 if (!SWIG_IsOK(res1
)) {
3617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3619 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3624 wxPyEndAllowThreads(__tstate
);
3625 if (PyErr_Occurred()) SWIG_fail
;
3627 resultobj
= SWIG_Py_Void();
3634 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3635 PyObject
*resultobj
= 0;
3636 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3640 PyObject
*swig_obj
[1] ;
3642 if (!args
) SWIG_fail
;
3644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3645 if (!SWIG_IsOK(res1
)) {
3646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3648 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3651 result
= (bool)(arg1
)->IsNull();
3652 wxPyEndAllowThreads(__tstate
);
3653 if (PyErr_Occurred()) SWIG_fail
;
3656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3664 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3666 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3667 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3668 return SWIG_Py_Void();
3671 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3672 return SWIG_Python_InitShadowInstance(args
);
3675 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3676 PyObject
*resultobj
= 0;
3677 byte arg1
= (byte
) 0 ;
3678 byte arg2
= (byte
) 0 ;
3679 byte arg3
= (byte
) 0 ;
3680 byte arg4
= (byte
) wxALPHA_OPAQUE
;
3681 wxColour
*result
= 0 ;
3682 unsigned char val1
;
3684 unsigned char val2
;
3686 unsigned char val3
;
3688 unsigned char val4
;
3690 PyObject
* obj0
= 0 ;
3691 PyObject
* obj1
= 0 ;
3692 PyObject
* obj2
= 0 ;
3693 PyObject
* obj3
= 0 ;
3694 char * kwnames
[] = {
3695 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
3698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3700 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3701 if (!SWIG_IsOK(ecode1
)) {
3702 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3704 arg1
= static_cast< byte
>(val1
);
3707 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3708 if (!SWIG_IsOK(ecode2
)) {
3709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3711 arg2
= static_cast< byte
>(val2
);
3714 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3715 if (!SWIG_IsOK(ecode3
)) {
3716 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3718 arg3
= static_cast< byte
>(val3
);
3721 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3722 if (!SWIG_IsOK(ecode4
)) {
3723 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
3725 arg4
= static_cast< byte
>(val4
);
3728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3729 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
3730 wxPyEndAllowThreads(__tstate
);
3731 if (PyErr_Occurred()) SWIG_fail
;
3733 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3740 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3741 PyObject
*resultobj
= 0;
3742 wxString
*arg1
= 0 ;
3743 wxColour
*result
= 0 ;
3744 bool temp1
= false ;
3745 PyObject
* obj0
= 0 ;
3746 char * kwnames
[] = {
3747 (char *) "colorName", NULL
3750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3752 arg1
= wxString_in_helper(obj0
);
3753 if (arg1
== NULL
) SWIG_fail
;
3757 if (!wxPyCheckForApp()) SWIG_fail
;
3758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3759 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3760 wxPyEndAllowThreads(__tstate
);
3761 if (PyErr_Occurred()) SWIG_fail
;
3763 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3778 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3779 PyObject
*resultobj
= 0;
3780 unsigned long arg1
;
3781 wxColour
*result
= 0 ;
3782 unsigned long val1
;
3784 PyObject
* obj0
= 0 ;
3785 char * kwnames
[] = {
3786 (char *) "colRGB", NULL
3789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3790 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3791 if (!SWIG_IsOK(ecode1
)) {
3792 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3794 arg1
= static_cast< unsigned long >(val1
);
3796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3797 result
= (wxColour
*)new wxColour(arg1
);
3798 wxPyEndAllowThreads(__tstate
);
3799 if (PyErr_Occurred()) SWIG_fail
;
3801 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3808 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3809 PyObject
*resultobj
= 0;
3810 wxColour
*arg1
= (wxColour
*) 0 ;
3813 PyObject
*swig_obj
[1] ;
3815 if (!args
) SWIG_fail
;
3817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3818 if (!SWIG_IsOK(res1
)) {
3819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3821 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3826 wxPyEndAllowThreads(__tstate
);
3827 if (PyErr_Occurred()) SWIG_fail
;
3829 resultobj
= SWIG_Py_Void();
3836 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3837 PyObject
*resultobj
= 0;
3838 wxColour
*arg1
= (wxColour
*) 0 ;
3842 PyObject
*swig_obj
[1] ;
3844 if (!args
) SWIG_fail
;
3846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3847 if (!SWIG_IsOK(res1
)) {
3848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3850 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3853 result
= (byte
)(arg1
)->Red();
3854 wxPyEndAllowThreads(__tstate
);
3855 if (PyErr_Occurred()) SWIG_fail
;
3857 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3864 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3865 PyObject
*resultobj
= 0;
3866 wxColour
*arg1
= (wxColour
*) 0 ;
3870 PyObject
*swig_obj
[1] ;
3872 if (!args
) SWIG_fail
;
3874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3875 if (!SWIG_IsOK(res1
)) {
3876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
3878 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3881 result
= (byte
)(arg1
)->Green();
3882 wxPyEndAllowThreads(__tstate
);
3883 if (PyErr_Occurred()) SWIG_fail
;
3885 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3892 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3893 PyObject
*resultobj
= 0;
3894 wxColour
*arg1
= (wxColour
*) 0 ;
3898 PyObject
*swig_obj
[1] ;
3900 if (!args
) SWIG_fail
;
3902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3903 if (!SWIG_IsOK(res1
)) {
3904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
3906 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3909 result
= (byte
)(arg1
)->Blue();
3910 wxPyEndAllowThreads(__tstate
);
3911 if (PyErr_Occurred()) SWIG_fail
;
3913 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3920 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3921 PyObject
*resultobj
= 0;
3922 wxColour
*arg1
= (wxColour
*) 0 ;
3926 PyObject
*swig_obj
[1] ;
3928 if (!args
) SWIG_fail
;
3930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3931 if (!SWIG_IsOK(res1
)) {
3932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
3934 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3937 result
= (byte
)(arg1
)->Alpha();
3938 wxPyEndAllowThreads(__tstate
);
3939 if (PyErr_Occurred()) SWIG_fail
;
3941 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3948 SWIGINTERN PyObject
*_wrap_Colour_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3949 PyObject
*resultobj
= 0;
3950 wxColour
*arg1
= (wxColour
*) 0 ;
3954 PyObject
*swig_obj
[1] ;
3956 if (!args
) SWIG_fail
;
3958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3959 if (!SWIG_IsOK(res1
)) {
3960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Ok" "', expected argument " "1"" of type '" "wxColour *""'");
3962 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3965 result
= (bool)(arg1
)->Ok();
3966 wxPyEndAllowThreads(__tstate
);
3967 if (PyErr_Occurred()) SWIG_fail
;
3970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3978 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3979 PyObject
*resultobj
= 0;
3980 wxColour
*arg1
= (wxColour
*) 0 ;
3984 byte arg5
= (byte
) wxALPHA_OPAQUE
;
3987 unsigned char val2
;
3989 unsigned char val3
;
3991 unsigned char val4
;
3993 unsigned char val5
;
3995 PyObject
* obj0
= 0 ;
3996 PyObject
* obj1
= 0 ;
3997 PyObject
* obj2
= 0 ;
3998 PyObject
* obj3
= 0 ;
3999 PyObject
* obj4
= 0 ;
4000 char * kwnames
[] = {
4001 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4006 if (!SWIG_IsOK(res1
)) {
4007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4009 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4010 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4011 if (!SWIG_IsOK(ecode2
)) {
4012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4014 arg2
= static_cast< byte
>(val2
);
4015 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4016 if (!SWIG_IsOK(ecode3
)) {
4017 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4019 arg3
= static_cast< byte
>(val3
);
4020 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4021 if (!SWIG_IsOK(ecode4
)) {
4022 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4024 arg4
= static_cast< byte
>(val4
);
4026 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4027 if (!SWIG_IsOK(ecode5
)) {
4028 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4030 arg5
= static_cast< byte
>(val5
);
4033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4034 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4035 wxPyEndAllowThreads(__tstate
);
4036 if (PyErr_Occurred()) SWIG_fail
;
4038 resultobj
= SWIG_Py_Void();
4045 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4046 PyObject
*resultobj
= 0;
4047 wxColour
*arg1
= (wxColour
*) 0 ;
4048 unsigned long arg2
;
4051 unsigned long val2
;
4053 PyObject
* obj0
= 0 ;
4054 PyObject
* obj1
= 0 ;
4055 char * kwnames
[] = {
4056 (char *) "self",(char *) "colRGB", NULL
4059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4061 if (!SWIG_IsOK(res1
)) {
4062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4064 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4065 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4066 if (!SWIG_IsOK(ecode2
)) {
4067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4069 arg2
= static_cast< unsigned long >(val2
);
4071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4073 wxPyEndAllowThreads(__tstate
);
4074 if (PyErr_Occurred()) SWIG_fail
;
4076 resultobj
= SWIG_Py_Void();
4083 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4084 PyObject
*resultobj
= 0;
4085 wxColour
*arg1
= (wxColour
*) 0 ;
4086 wxString
*arg2
= 0 ;
4089 bool temp2
= false ;
4090 PyObject
* obj0
= 0 ;
4091 PyObject
* obj1
= 0 ;
4092 char * kwnames
[] = {
4093 (char *) "self",(char *) "colourName", NULL
4096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4098 if (!SWIG_IsOK(res1
)) {
4099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4101 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4103 arg2
= wxString_in_helper(obj1
);
4104 if (arg2
== NULL
) SWIG_fail
;
4108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4109 (arg1
)->InitFromName((wxString
const &)*arg2
);
4110 wxPyEndAllowThreads(__tstate
);
4111 if (PyErr_Occurred()) SWIG_fail
;
4113 resultobj
= SWIG_Py_Void();
4128 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4129 PyObject
*resultobj
= 0;
4130 wxColour
*arg1
= (wxColour
*) 0 ;
4131 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4137 PyObject
* obj0
= 0 ;
4138 PyObject
* obj1
= 0 ;
4139 char * kwnames
[] = {
4140 (char *) "self",(char *) "flags", NULL
4143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4145 if (!SWIG_IsOK(res1
)) {
4146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4148 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4150 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4151 if (!SWIG_IsOK(ecode2
)) {
4152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4154 arg2
= static_cast< long >(val2
);
4157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4158 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4159 wxPyEndAllowThreads(__tstate
);
4160 if (PyErr_Occurred()) SWIG_fail
;
4164 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4166 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4175 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4176 PyObject
*resultobj
= 0;
4177 wxColour
*arg1
= (wxColour
*) 0 ;
4181 PyObject
*swig_obj
[1] ;
4183 if (!args
) SWIG_fail
;
4185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4186 if (!SWIG_IsOK(res1
)) {
4187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4189 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4192 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4193 wxPyEndAllowThreads(__tstate
);
4194 if (PyErr_Occurred()) SWIG_fail
;
4196 resultobj
= SWIG_From_long(static_cast< long >(result
));
4203 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4204 PyObject
*resultobj
= 0;
4205 wxColour
*arg1
= (wxColour
*) 0 ;
4206 PyObject
*arg2
= (PyObject
*) 0 ;
4210 PyObject
* obj0
= 0 ;
4211 PyObject
* obj1
= 0 ;
4212 char * kwnames
[] = {
4213 (char *) "self",(char *) "other", NULL
4216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4218 if (!SWIG_IsOK(res1
)) {
4219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4221 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4224 result
= (bool)wxColour___eq__(arg1
,arg2
);
4225 if (PyErr_Occurred()) SWIG_fail
;
4228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4236 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4237 PyObject
*resultobj
= 0;
4238 wxColour
*arg1
= (wxColour
*) 0 ;
4239 PyObject
*arg2
= (PyObject
*) 0 ;
4243 PyObject
* obj0
= 0 ;
4244 PyObject
* obj1
= 0 ;
4245 char * kwnames
[] = {
4246 (char *) "self",(char *) "other", NULL
4249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4251 if (!SWIG_IsOK(res1
)) {
4252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4254 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4257 result
= (bool)wxColour___ne__(arg1
,arg2
);
4258 if (PyErr_Occurred()) SWIG_fail
;
4261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4269 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
*resultobj
= 0;
4271 wxColour
*arg1
= (wxColour
*) 0 ;
4272 bool arg2
= (bool) false ;
4273 PyObject
*result
= 0 ;
4278 PyObject
* obj0
= 0 ;
4279 PyObject
* obj1
= 0 ;
4280 char * kwnames
[] = {
4281 (char *) "self",(char *) "includeAlpha", NULL
4284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4286 if (!SWIG_IsOK(res1
)) {
4287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4289 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4291 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4292 if (!SWIG_IsOK(ecode2
)) {
4293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4295 arg2
= static_cast< bool >(val2
);
4298 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4299 if (PyErr_Occurred()) SWIG_fail
;
4308 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4309 PyObject
*resultobj
= 0;
4310 wxColour
*arg1
= (wxColour
*) 0 ;
4311 unsigned long result
;
4314 PyObject
*swig_obj
[1] ;
4316 if (!args
) SWIG_fail
;
4318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4319 if (!SWIG_IsOK(res1
)) {
4320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4322 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4324 result
= (unsigned long)wxColour_GetRGB(arg1
);
4325 if (PyErr_Occurred()) SWIG_fail
;
4327 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4334 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4336 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4337 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4338 return SWIG_Py_Void();
4341 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4342 return SWIG_Python_InitShadowInstance(args
);
4345 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
*resultobj
= 0;
4348 unsigned char *arg2
= (unsigned char *) 0 ;
4349 unsigned char *arg3
= (unsigned char *) 0 ;
4350 unsigned char *arg4
= (unsigned char *) 0 ;
4351 wxPalette
*result
= 0 ;
4360 PyObject
* obj0
= 0 ;
4361 PyObject
* obj1
= 0 ;
4362 PyObject
* obj2
= 0 ;
4363 PyObject
* obj3
= 0 ;
4364 char * kwnames
[] = {
4365 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4369 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4370 if (!SWIG_IsOK(ecode1
)) {
4371 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4373 arg1
= static_cast< int >(val1
);
4374 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4375 if (!SWIG_IsOK(res2
)) {
4376 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4378 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4379 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4380 if (!SWIG_IsOK(res3
)) {
4381 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4383 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4384 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4385 if (!SWIG_IsOK(res4
)) {
4386 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4388 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4390 if (!wxPyCheckForApp()) SWIG_fail
;
4391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4392 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4393 wxPyEndAllowThreads(__tstate
);
4394 if (PyErr_Occurred()) SWIG_fail
;
4396 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4403 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4404 PyObject
*resultobj
= 0;
4405 wxPalette
*arg1
= (wxPalette
*) 0 ;
4408 PyObject
*swig_obj
[1] ;
4410 if (!args
) SWIG_fail
;
4412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4413 if (!SWIG_IsOK(res1
)) {
4414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4416 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4421 wxPyEndAllowThreads(__tstate
);
4422 if (PyErr_Occurred()) SWIG_fail
;
4424 resultobj
= SWIG_Py_Void();
4431 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
*resultobj
= 0;
4433 wxPalette
*arg1
= (wxPalette
*) 0 ;
4440 unsigned char val2
;
4442 unsigned char val3
;
4444 unsigned char val4
;
4446 PyObject
* obj0
= 0 ;
4447 PyObject
* obj1
= 0 ;
4448 PyObject
* obj2
= 0 ;
4449 PyObject
* obj3
= 0 ;
4450 char * kwnames
[] = {
4451 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4456 if (!SWIG_IsOK(res1
)) {
4457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4459 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4460 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4461 if (!SWIG_IsOK(ecode2
)) {
4462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4464 arg2
= static_cast< byte
>(val2
);
4465 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4466 if (!SWIG_IsOK(ecode3
)) {
4467 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4469 arg3
= static_cast< byte
>(val3
);
4470 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4471 if (!SWIG_IsOK(ecode4
)) {
4472 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4474 arg4
= static_cast< byte
>(val4
);
4476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4477 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4478 wxPyEndAllowThreads(__tstate
);
4479 if (PyErr_Occurred()) SWIG_fail
;
4481 resultobj
= SWIG_From_int(static_cast< int >(result
));
4488 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4489 PyObject
*resultobj
= 0;
4490 wxPalette
*arg1
= (wxPalette
*) 0 ;
4492 byte
*arg3
= (byte
*) 0 ;
4493 byte
*arg4
= (byte
*) 0 ;
4494 byte
*arg5
= (byte
*) 0 ;
4501 int res3
= SWIG_TMPOBJ
;
4503 int res4
= SWIG_TMPOBJ
;
4505 int res5
= SWIG_TMPOBJ
;
4506 PyObject
* obj0
= 0 ;
4507 PyObject
* obj1
= 0 ;
4508 char * kwnames
[] = {
4509 (char *) "self",(char *) "pixel", NULL
4515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4517 if (!SWIG_IsOK(res1
)) {
4518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4520 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4522 if (!SWIG_IsOK(ecode2
)) {
4523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4525 arg2
= static_cast< int >(val2
);
4527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4528 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4529 wxPyEndAllowThreads(__tstate
);
4530 if (PyErr_Occurred()) SWIG_fail
;
4533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4535 if (SWIG_IsTmpObj(res3
)) {
4536 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4538 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4539 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4541 if (SWIG_IsTmpObj(res4
)) {
4542 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4544 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4545 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4547 if (SWIG_IsTmpObj(res5
)) {
4548 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4550 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4551 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4559 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4560 PyObject
*resultobj
= 0;
4561 wxPalette
*arg1
= (wxPalette
*) 0 ;
4565 PyObject
*swig_obj
[1] ;
4567 if (!args
) SWIG_fail
;
4569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4570 if (!SWIG_IsOK(res1
)) {
4571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4573 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4576 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4577 wxPyEndAllowThreads(__tstate
);
4578 if (PyErr_Occurred()) SWIG_fail
;
4580 resultobj
= SWIG_From_int(static_cast< int >(result
));
4587 SWIGINTERN PyObject
*_wrap_Palette_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4588 PyObject
*resultobj
= 0;
4589 wxPalette
*arg1
= (wxPalette
*) 0 ;
4593 PyObject
*swig_obj
[1] ;
4595 if (!args
) SWIG_fail
;
4597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4598 if (!SWIG_IsOK(res1
)) {
4599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_Ok" "', expected argument " "1"" of type '" "wxPalette *""'");
4601 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4604 result
= (bool)(arg1
)->Ok();
4605 wxPyEndAllowThreads(__tstate
);
4606 if (PyErr_Occurred()) SWIG_fail
;
4609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4617 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4619 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4620 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4621 return SWIG_Py_Void();
4624 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4625 return SWIG_Python_InitShadowInstance(args
);
4628 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4629 PyObject
*resultobj
= 0;
4630 wxColour
*arg1
= 0 ;
4631 int arg2
= (int) 1 ;
4632 int arg3
= (int) wxSOLID
;
4639 PyObject
* obj0
= 0 ;
4640 PyObject
* obj1
= 0 ;
4641 PyObject
* obj2
= 0 ;
4642 char * kwnames
[] = {
4643 (char *) "colour",(char *) "width",(char *) "style", NULL
4646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4649 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4652 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4653 if (!SWIG_IsOK(ecode2
)) {
4654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4656 arg2
= static_cast< int >(val2
);
4659 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4660 if (!SWIG_IsOK(ecode3
)) {
4661 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4663 arg3
= static_cast< int >(val3
);
4666 if (!wxPyCheckForApp()) SWIG_fail
;
4667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4668 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4669 wxPyEndAllowThreads(__tstate
);
4670 if (PyErr_Occurred()) SWIG_fail
;
4672 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4679 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4680 PyObject
*resultobj
= 0;
4681 wxPen
*arg1
= (wxPen
*) 0 ;
4684 PyObject
*swig_obj
[1] ;
4686 if (!args
) SWIG_fail
;
4688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4689 if (!SWIG_IsOK(res1
)) {
4690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4692 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4697 wxPyEndAllowThreads(__tstate
);
4698 if (PyErr_Occurred()) SWIG_fail
;
4700 resultobj
= SWIG_Py_Void();
4707 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4708 PyObject
*resultobj
= 0;
4709 wxPen
*arg1
= (wxPen
*) 0 ;
4713 PyObject
*swig_obj
[1] ;
4715 if (!args
) SWIG_fail
;
4717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4718 if (!SWIG_IsOK(res1
)) {
4719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4721 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4724 result
= (int)(arg1
)->GetCap();
4725 wxPyEndAllowThreads(__tstate
);
4726 if (PyErr_Occurred()) SWIG_fail
;
4728 resultobj
= SWIG_From_int(static_cast< int >(result
));
4735 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4736 PyObject
*resultobj
= 0;
4737 wxPen
*arg1
= (wxPen
*) 0 ;
4741 PyObject
*swig_obj
[1] ;
4743 if (!args
) SWIG_fail
;
4745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4746 if (!SWIG_IsOK(res1
)) {
4747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4749 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4752 result
= (arg1
)->GetColour();
4753 wxPyEndAllowThreads(__tstate
);
4754 if (PyErr_Occurred()) SWIG_fail
;
4756 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4763 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4764 PyObject
*resultobj
= 0;
4765 wxPen
*arg1
= (wxPen
*) 0 ;
4769 PyObject
*swig_obj
[1] ;
4771 if (!args
) SWIG_fail
;
4773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4774 if (!SWIG_IsOK(res1
)) {
4775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4777 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4780 result
= (int)(arg1
)->GetJoin();
4781 wxPyEndAllowThreads(__tstate
);
4782 if (PyErr_Occurred()) SWIG_fail
;
4784 resultobj
= SWIG_From_int(static_cast< int >(result
));
4791 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4792 PyObject
*resultobj
= 0;
4793 wxPen
*arg1
= (wxPen
*) 0 ;
4797 PyObject
*swig_obj
[1] ;
4799 if (!args
) SWIG_fail
;
4801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4802 if (!SWIG_IsOK(res1
)) {
4803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4805 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4808 result
= (int)(arg1
)->GetStyle();
4809 wxPyEndAllowThreads(__tstate
);
4810 if (PyErr_Occurred()) SWIG_fail
;
4812 resultobj
= SWIG_From_int(static_cast< int >(result
));
4819 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4820 PyObject
*resultobj
= 0;
4821 wxPen
*arg1
= (wxPen
*) 0 ;
4825 PyObject
*swig_obj
[1] ;
4827 if (!args
) SWIG_fail
;
4829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4830 if (!SWIG_IsOK(res1
)) {
4831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4833 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4836 result
= (int)(arg1
)->GetWidth();
4837 wxPyEndAllowThreads(__tstate
);
4838 if (PyErr_Occurred()) SWIG_fail
;
4840 resultobj
= SWIG_From_int(static_cast< int >(result
));
4847 SWIGINTERN PyObject
*_wrap_Pen_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4848 PyObject
*resultobj
= 0;
4849 wxPen
*arg1
= (wxPen
*) 0 ;
4853 PyObject
*swig_obj
[1] ;
4855 if (!args
) SWIG_fail
;
4857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4858 if (!SWIG_IsOK(res1
)) {
4859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_Ok" "', expected argument " "1"" of type '" "wxPen *""'");
4861 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4864 result
= (bool)(arg1
)->Ok();
4865 wxPyEndAllowThreads(__tstate
);
4866 if (PyErr_Occurred()) SWIG_fail
;
4869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4877 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4878 PyObject
*resultobj
= 0;
4879 wxPen
*arg1
= (wxPen
*) 0 ;
4885 PyObject
* obj0
= 0 ;
4886 PyObject
* obj1
= 0 ;
4887 char * kwnames
[] = {
4888 (char *) "self",(char *) "cap_style", NULL
4891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4893 if (!SWIG_IsOK(res1
)) {
4894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4896 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4897 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4898 if (!SWIG_IsOK(ecode2
)) {
4899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
4901 arg2
= static_cast< int >(val2
);
4903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4904 (arg1
)->SetCap(arg2
);
4905 wxPyEndAllowThreads(__tstate
);
4906 if (PyErr_Occurred()) SWIG_fail
;
4908 resultobj
= SWIG_Py_Void();
4915 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4916 PyObject
*resultobj
= 0;
4917 wxPen
*arg1
= (wxPen
*) 0 ;
4918 wxColour
*arg2
= 0 ;
4922 PyObject
* obj0
= 0 ;
4923 PyObject
* obj1
= 0 ;
4924 char * kwnames
[] = {
4925 (char *) "self",(char *) "colour", NULL
4928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4930 if (!SWIG_IsOK(res1
)) {
4931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4933 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4936 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4940 (arg1
)->SetColour(*arg2
);
4941 wxPyEndAllowThreads(__tstate
);
4942 if (PyErr_Occurred()) SWIG_fail
;
4944 resultobj
= SWIG_Py_Void();
4951 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4952 PyObject
*resultobj
= 0;
4953 wxPen
*arg1
= (wxPen
*) 0 ;
4959 PyObject
* obj0
= 0 ;
4960 PyObject
* obj1
= 0 ;
4961 char * kwnames
[] = {
4962 (char *) "self",(char *) "join_style", NULL
4965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4967 if (!SWIG_IsOK(res1
)) {
4968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4970 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4971 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4972 if (!SWIG_IsOK(ecode2
)) {
4973 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
4975 arg2
= static_cast< int >(val2
);
4977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4978 (arg1
)->SetJoin(arg2
);
4979 wxPyEndAllowThreads(__tstate
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4982 resultobj
= SWIG_Py_Void();
4989 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4990 PyObject
*resultobj
= 0;
4991 wxPen
*arg1
= (wxPen
*) 0 ;
4997 PyObject
* obj0
= 0 ;
4998 PyObject
* obj1
= 0 ;
4999 char * kwnames
[] = {
5000 (char *) "self",(char *) "style", NULL
5003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5005 if (!SWIG_IsOK(res1
)) {
5006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5008 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5009 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5010 if (!SWIG_IsOK(ecode2
)) {
5011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5013 arg2
= static_cast< int >(val2
);
5015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5016 (arg1
)->SetStyle(arg2
);
5017 wxPyEndAllowThreads(__tstate
);
5018 if (PyErr_Occurred()) SWIG_fail
;
5020 resultobj
= SWIG_Py_Void();
5027 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5028 PyObject
*resultobj
= 0;
5029 wxPen
*arg1
= (wxPen
*) 0 ;
5035 PyObject
* obj0
= 0 ;
5036 PyObject
* obj1
= 0 ;
5037 char * kwnames
[] = {
5038 (char *) "self",(char *) "width", NULL
5041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5043 if (!SWIG_IsOK(res1
)) {
5044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5046 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5047 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5048 if (!SWIG_IsOK(ecode2
)) {
5049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5051 arg2
= static_cast< int >(val2
);
5053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5054 (arg1
)->SetWidth(arg2
);
5055 wxPyEndAllowThreads(__tstate
);
5056 if (PyErr_Occurred()) SWIG_fail
;
5058 resultobj
= SWIG_Py_Void();
5065 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5066 PyObject
*resultobj
= 0;
5067 wxPen
*arg1
= (wxPen
*) 0 ;
5069 wxDash
*arg3
= (wxDash
*) 0 ;
5072 PyObject
* obj0
= 0 ;
5073 PyObject
* obj1
= 0 ;
5074 char * kwnames
[] = {
5075 (char *) "self",(char *) "dashes", NULL
5078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5080 if (!SWIG_IsOK(res1
)) {
5081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5083 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5085 arg2
= PyList_Size(obj1
);
5086 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5087 if (arg3
== NULL
) SWIG_fail
;
5090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5091 (arg1
)->SetDashes(arg2
,arg3
);
5092 wxPyEndAllowThreads(__tstate
);
5093 if (PyErr_Occurred()) SWIG_fail
;
5095 resultobj
= SWIG_Py_Void();
5097 if (arg3
) delete [] arg3
;
5102 if (arg3
) delete [] arg3
;
5108 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5109 PyObject
*resultobj
= 0;
5110 wxPen
*arg1
= (wxPen
*) 0 ;
5111 PyObject
*result
= 0 ;
5114 PyObject
*swig_obj
[1] ;
5116 if (!args
) SWIG_fail
;
5118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5119 if (!SWIG_IsOK(res1
)) {
5120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5122 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5125 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5126 wxPyEndAllowThreads(__tstate
);
5127 if (PyErr_Occurred()) SWIG_fail
;
5136 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5137 PyObject
*resultobj
= 0;
5138 wxPen
*arg1
= (wxPen
*) 0 ;
5139 PyObject
*arg2
= (PyObject
*) 0 ;
5140 PyObject
*arg3
= (PyObject
*) 0 ;
5143 PyObject
* obj0
= 0 ;
5144 PyObject
* obj1
= 0 ;
5145 PyObject
* obj2
= 0 ;
5146 char * kwnames
[] = {
5147 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5152 if (!SWIG_IsOK(res1
)) {
5153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5155 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5160 wxPen__SetDashes(arg1
,arg2
,arg3
);
5161 wxPyEndAllowThreads(__tstate
);
5162 if (PyErr_Occurred()) SWIG_fail
;
5164 resultobj
= SWIG_Py_Void();
5171 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5172 PyObject
*resultobj
= 0;
5173 wxPen
*arg1
= (wxPen
*) 0 ;
5174 wxPen
*arg2
= (wxPen
*) 0 ;
5180 PyObject
* obj0
= 0 ;
5181 PyObject
* obj1
= 0 ;
5182 char * kwnames
[] = {
5183 (char *) "self",(char *) "other", NULL
5186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5188 if (!SWIG_IsOK(res1
)) {
5189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5191 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5192 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5193 if (!SWIG_IsOK(res2
)) {
5194 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5196 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5199 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5200 wxPyEndAllowThreads(__tstate
);
5201 if (PyErr_Occurred()) SWIG_fail
;
5204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5212 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5213 PyObject
*resultobj
= 0;
5214 wxPen
*arg1
= (wxPen
*) 0 ;
5215 wxPen
*arg2
= (wxPen
*) 0 ;
5221 PyObject
* obj0
= 0 ;
5222 PyObject
* obj1
= 0 ;
5223 char * kwnames
[] = {
5224 (char *) "self",(char *) "other", NULL
5227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5229 if (!SWIG_IsOK(res1
)) {
5230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5232 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5233 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5234 if (!SWIG_IsOK(res2
)) {
5235 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5237 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5240 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5241 wxPyEndAllowThreads(__tstate
);
5242 if (PyErr_Occurred()) SWIG_fail
;
5245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5253 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5255 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5256 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5257 return SWIG_Py_Void();
5260 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5261 return SWIG_Python_InitShadowInstance(args
);
5264 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5265 PyObject
*resultobj
= 0;
5266 wxColour
*arg1
= 0 ;
5267 int arg2
= (int) wxSOLID
;
5268 wxBrush
*result
= 0 ;
5272 PyObject
* obj0
= 0 ;
5273 PyObject
* obj1
= 0 ;
5274 char * kwnames
[] = {
5275 (char *) "colour",(char *) "style", NULL
5278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5281 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5284 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5285 if (!SWIG_IsOK(ecode2
)) {
5286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5288 arg2
= static_cast< int >(val2
);
5291 if (!wxPyCheckForApp()) SWIG_fail
;
5292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5293 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5294 wxPyEndAllowThreads(__tstate
);
5295 if (PyErr_Occurred()) SWIG_fail
;
5297 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5304 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5305 PyObject
*resultobj
= 0;
5306 wxBitmap
*arg1
= 0 ;
5307 wxBrush
*result
= 0 ;
5310 PyObject
* obj0
= 0 ;
5311 char * kwnames
[] = {
5312 (char *) "stippleBitmap", NULL
5315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5316 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5317 if (!SWIG_IsOK(res1
)) {
5318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5321 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5323 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5325 if (!wxPyCheckForApp()) SWIG_fail
;
5326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5327 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5328 wxPyEndAllowThreads(__tstate
);
5329 if (PyErr_Occurred()) SWIG_fail
;
5331 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5338 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5339 PyObject
*resultobj
= 0;
5340 wxBrush
*arg1
= (wxBrush
*) 0 ;
5343 PyObject
*swig_obj
[1] ;
5345 if (!args
) SWIG_fail
;
5347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5348 if (!SWIG_IsOK(res1
)) {
5349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5351 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5356 wxPyEndAllowThreads(__tstate
);
5357 if (PyErr_Occurred()) SWIG_fail
;
5359 resultobj
= SWIG_Py_Void();
5366 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5367 PyObject
*resultobj
= 0;
5368 wxBrush
*arg1
= (wxBrush
*) 0 ;
5369 wxColour
*arg2
= 0 ;
5373 PyObject
* obj0
= 0 ;
5374 PyObject
* obj1
= 0 ;
5375 char * kwnames
[] = {
5376 (char *) "self",(char *) "col", NULL
5379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5381 if (!SWIG_IsOK(res1
)) {
5382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5384 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5387 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5391 (arg1
)->SetColour((wxColour
const &)*arg2
);
5392 wxPyEndAllowThreads(__tstate
);
5393 if (PyErr_Occurred()) SWIG_fail
;
5395 resultobj
= SWIG_Py_Void();
5402 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5403 PyObject
*resultobj
= 0;
5404 wxBrush
*arg1
= (wxBrush
*) 0 ;
5410 PyObject
* obj0
= 0 ;
5411 PyObject
* obj1
= 0 ;
5412 char * kwnames
[] = {
5413 (char *) "self",(char *) "style", NULL
5416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5418 if (!SWIG_IsOK(res1
)) {
5419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5421 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5422 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5423 if (!SWIG_IsOK(ecode2
)) {
5424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5426 arg2
= static_cast< int >(val2
);
5428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5429 (arg1
)->SetStyle(arg2
);
5430 wxPyEndAllowThreads(__tstate
);
5431 if (PyErr_Occurred()) SWIG_fail
;
5433 resultobj
= SWIG_Py_Void();
5440 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5441 PyObject
*resultobj
= 0;
5442 wxBrush
*arg1
= (wxBrush
*) 0 ;
5443 wxBitmap
*arg2
= 0 ;
5448 PyObject
* obj0
= 0 ;
5449 PyObject
* obj1
= 0 ;
5450 char * kwnames
[] = {
5451 (char *) "self",(char *) "stipple", NULL
5454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5456 if (!SWIG_IsOK(res1
)) {
5457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5459 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5460 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5461 if (!SWIG_IsOK(res2
)) {
5462 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5465 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5467 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5470 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5471 wxPyEndAllowThreads(__tstate
);
5472 if (PyErr_Occurred()) SWIG_fail
;
5474 resultobj
= SWIG_Py_Void();
5481 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5482 PyObject
*resultobj
= 0;
5483 wxBrush
*arg1
= (wxBrush
*) 0 ;
5487 PyObject
*swig_obj
[1] ;
5489 if (!args
) SWIG_fail
;
5491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5492 if (!SWIG_IsOK(res1
)) {
5493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5495 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5498 result
= ((wxBrush
const *)arg1
)->GetColour();
5499 wxPyEndAllowThreads(__tstate
);
5500 if (PyErr_Occurred()) SWIG_fail
;
5502 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5509 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5510 PyObject
*resultobj
= 0;
5511 wxBrush
*arg1
= (wxBrush
*) 0 ;
5515 PyObject
*swig_obj
[1] ;
5517 if (!args
) SWIG_fail
;
5519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5520 if (!SWIG_IsOK(res1
)) {
5521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5523 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5526 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5527 wxPyEndAllowThreads(__tstate
);
5528 if (PyErr_Occurred()) SWIG_fail
;
5530 resultobj
= SWIG_From_int(static_cast< int >(result
));
5537 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5538 PyObject
*resultobj
= 0;
5539 wxBrush
*arg1
= (wxBrush
*) 0 ;
5540 wxBitmap
*result
= 0 ;
5543 PyObject
*swig_obj
[1] ;
5545 if (!args
) SWIG_fail
;
5547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5548 if (!SWIG_IsOK(res1
)) {
5549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5551 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5554 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5555 wxPyEndAllowThreads(__tstate
);
5556 if (PyErr_Occurred()) SWIG_fail
;
5558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5565 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5566 PyObject
*resultobj
= 0;
5567 wxBrush
*arg1
= (wxBrush
*) 0 ;
5571 PyObject
*swig_obj
[1] ;
5573 if (!args
) SWIG_fail
;
5575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5576 if (!SWIG_IsOK(res1
)) {
5577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5579 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5582 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5583 wxPyEndAllowThreads(__tstate
);
5584 if (PyErr_Occurred()) SWIG_fail
;
5587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5595 SWIGINTERN PyObject
*_wrap_Brush_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5596 PyObject
*resultobj
= 0;
5597 wxBrush
*arg1
= (wxBrush
*) 0 ;
5601 PyObject
*swig_obj
[1] ;
5603 if (!args
) SWIG_fail
;
5605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5606 if (!SWIG_IsOK(res1
)) {
5607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_Ok" "', expected argument " "1"" of type '" "wxBrush *""'");
5609 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5612 result
= (bool)(arg1
)->Ok();
5613 wxPyEndAllowThreads(__tstate
);
5614 if (PyErr_Occurred()) SWIG_fail
;
5617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5625 SWIGINTERN PyObject
*_wrap_Brush_MacGetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5626 PyObject
*resultobj
= 0;
5627 wxBrush
*arg1
= (wxBrush
*) 0 ;
5631 PyObject
*swig_obj
[1] ;
5633 if (!args
) SWIG_fail
;
5635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5636 if (!SWIG_IsOK(res1
)) {
5637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacGetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
5639 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5642 result
= (short)(arg1
)->MacGetTheme();
5643 wxPyEndAllowThreads(__tstate
);
5644 if (PyErr_Occurred()) SWIG_fail
;
5646 resultobj
= SWIG_From_short(static_cast< short >(result
));
5653 SWIGINTERN PyObject
*_wrap_Brush_MacSetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5654 PyObject
*resultobj
= 0;
5655 wxBrush
*arg1
= (wxBrush
*) 0 ;
5661 PyObject
* obj0
= 0 ;
5662 PyObject
* obj1
= 0 ;
5663 char * kwnames
[] = {
5664 (char *) "self",(char *) "macThemeBrush", NULL
5667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5669 if (!SWIG_IsOK(res1
)) {
5670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacSetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
5672 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5673 ecode2
= SWIG_AsVal_short(obj1
, &val2
);
5674 if (!SWIG_IsOK(ecode2
)) {
5675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_MacSetTheme" "', expected argument " "2"" of type '" "short""'");
5677 arg2
= static_cast< short >(val2
);
5679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5680 (arg1
)->MacSetTheme(arg2
);
5681 wxPyEndAllowThreads(__tstate
);
5682 if (PyErr_Occurred()) SWIG_fail
;
5684 resultobj
= SWIG_Py_Void();
5691 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5693 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5694 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5695 return SWIG_Py_Void();
5698 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5699 return SWIG_Python_InitShadowInstance(args
);
5702 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5703 PyObject
*resultobj
= 0;
5704 wxString
*arg1
= 0 ;
5705 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5706 wxBitmap
*result
= 0 ;
5707 bool temp1
= false ;
5710 PyObject
* obj0
= 0 ;
5711 PyObject
* obj1
= 0 ;
5712 char * kwnames
[] = {
5713 (char *) "name",(char *) "type", NULL
5716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5718 arg1
= wxString_in_helper(obj0
);
5719 if (arg1
== NULL
) SWIG_fail
;
5723 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5724 if (!SWIG_IsOK(ecode2
)) {
5725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5727 arg2
= static_cast< wxBitmapType
>(val2
);
5730 if (!wxPyCheckForApp()) SWIG_fail
;
5731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5732 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5733 wxPyEndAllowThreads(__tstate
);
5734 if (PyErr_Occurred()) SWIG_fail
;
5736 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5751 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5752 PyObject
*resultobj
= 0;
5753 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5756 PyObject
*swig_obj
[1] ;
5758 if (!args
) SWIG_fail
;
5760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5761 if (!SWIG_IsOK(res1
)) {
5762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5764 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5768 if (PyErr_Occurred()) SWIG_fail
;
5770 resultobj
= SWIG_Py_Void();
5777 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5778 PyObject
*resultobj
= 0;
5781 int arg3
= (int) -1 ;
5782 wxBitmap
*result
= 0 ;
5789 PyObject
* obj0
= 0 ;
5790 PyObject
* obj1
= 0 ;
5791 PyObject
* obj2
= 0 ;
5792 char * kwnames
[] = {
5793 (char *) "width",(char *) "height",(char *) "depth", NULL
5796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5797 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5798 if (!SWIG_IsOK(ecode1
)) {
5799 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5801 arg1
= static_cast< int >(val1
);
5802 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5803 if (!SWIG_IsOK(ecode2
)) {
5804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5806 arg2
= static_cast< int >(val2
);
5808 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5809 if (!SWIG_IsOK(ecode3
)) {
5810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5812 arg3
= static_cast< int >(val3
);
5815 if (!wxPyCheckForApp()) SWIG_fail
;
5816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5817 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5818 wxPyEndAllowThreads(__tstate
);
5819 if (PyErr_Occurred()) SWIG_fail
;
5821 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5828 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5829 PyObject
*resultobj
= 0;
5831 wxBitmap
*result
= 0 ;
5834 PyObject
* obj0
= 0 ;
5835 char * kwnames
[] = {
5836 (char *) "icon", NULL
5839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5840 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5841 if (!SWIG_IsOK(res1
)) {
5842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5845 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5847 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
5849 if (!wxPyCheckForApp()) SWIG_fail
;
5850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5851 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
5852 wxPyEndAllowThreads(__tstate
);
5853 if (PyErr_Occurred()) SWIG_fail
;
5855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5862 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5863 PyObject
*resultobj
= 0;
5865 int arg2
= (int) -1 ;
5866 wxBitmap
*result
= 0 ;
5871 PyObject
* obj0
= 0 ;
5872 PyObject
* obj1
= 0 ;
5873 char * kwnames
[] = {
5874 (char *) "image",(char *) "depth", NULL
5877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5878 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
5879 if (!SWIG_IsOK(res1
)) {
5880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5883 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5885 arg1
= reinterpret_cast< wxImage
* >(argp1
);
5887 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5888 if (!SWIG_IsOK(ecode2
)) {
5889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
5891 arg2
= static_cast< int >(val2
);
5894 if (!wxPyCheckForApp()) SWIG_fail
;
5895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5896 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
5897 wxPyEndAllowThreads(__tstate
);
5898 if (PyErr_Occurred()) SWIG_fail
;
5900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5907 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5908 PyObject
*resultobj
= 0;
5909 PyObject
*arg1
= (PyObject
*) 0 ;
5910 wxBitmap
*result
= 0 ;
5911 PyObject
* obj0
= 0 ;
5912 char * kwnames
[] = {
5913 (char *) "listOfStrings", NULL
5916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
5919 if (!wxPyCheckForApp()) SWIG_fail
;
5920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5921 result
= (wxBitmap
*)new_wxBitmap(arg1
);
5922 wxPyEndAllowThreads(__tstate
);
5923 if (PyErr_Occurred()) SWIG_fail
;
5925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5932 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5933 PyObject
*resultobj
= 0;
5934 PyObject
*arg1
= (PyObject
*) 0 ;
5937 int arg4
= (int) 1 ;
5938 wxBitmap
*result
= 0 ;
5945 PyObject
* obj0
= 0 ;
5946 PyObject
* obj1
= 0 ;
5947 PyObject
* obj2
= 0 ;
5948 PyObject
* obj3
= 0 ;
5949 char * kwnames
[] = {
5950 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
5953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5956 if (!SWIG_IsOK(ecode2
)) {
5957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
5959 arg2
= static_cast< int >(val2
);
5960 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5961 if (!SWIG_IsOK(ecode3
)) {
5962 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
5964 arg3
= static_cast< int >(val3
);
5966 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
5967 if (!SWIG_IsOK(ecode4
)) {
5968 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
5970 arg4
= static_cast< int >(val4
);
5973 if (!wxPyCheckForApp()) SWIG_fail
;
5974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5975 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
5976 wxPyEndAllowThreads(__tstate
);
5977 if (PyErr_Occurred()) SWIG_fail
;
5979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5986 SWIGINTERN PyObject
*_wrap_Bitmap_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5987 PyObject
*resultobj
= 0;
5988 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5992 PyObject
*swig_obj
[1] ;
5994 if (!args
) SWIG_fail
;
5996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
5997 if (!SWIG_IsOK(res1
)) {
5998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_Ok" "', expected argument " "1"" of type '" "wxBitmap *""'");
6000 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6002 result
= (bool)(arg1
)->Ok();
6003 if (PyErr_Occurred()) SWIG_fail
;
6006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6014 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6015 PyObject
*resultobj
= 0;
6016 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6020 PyObject
*swig_obj
[1] ;
6022 if (!args
) SWIG_fail
;
6024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6025 if (!SWIG_IsOK(res1
)) {
6026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6028 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6030 result
= (int)(arg1
)->GetWidth();
6031 if (PyErr_Occurred()) SWIG_fail
;
6033 resultobj
= SWIG_From_int(static_cast< int >(result
));
6040 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6041 PyObject
*resultobj
= 0;
6042 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6046 PyObject
*swig_obj
[1] ;
6048 if (!args
) SWIG_fail
;
6050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6051 if (!SWIG_IsOK(res1
)) {
6052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6054 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6056 result
= (int)(arg1
)->GetHeight();
6057 if (PyErr_Occurred()) SWIG_fail
;
6059 resultobj
= SWIG_From_int(static_cast< int >(result
));
6066 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6067 PyObject
*resultobj
= 0;
6068 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6072 PyObject
*swig_obj
[1] ;
6074 if (!args
) SWIG_fail
;
6076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6077 if (!SWIG_IsOK(res1
)) {
6078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6080 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6082 result
= (int)(arg1
)->GetDepth();
6083 if (PyErr_Occurred()) SWIG_fail
;
6085 resultobj
= SWIG_From_int(static_cast< int >(result
));
6092 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6093 PyObject
*resultobj
= 0;
6094 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6098 PyObject
*swig_obj
[1] ;
6100 if (!args
) SWIG_fail
;
6102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6103 if (!SWIG_IsOK(res1
)) {
6104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6106 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6108 result
= wxBitmap_GetSize(arg1
);
6109 if (PyErr_Occurred()) SWIG_fail
;
6111 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6118 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6119 PyObject
*resultobj
= 0;
6120 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6121 SwigValueWrapper
<wxImage
> result
;
6124 PyObject
*swig_obj
[1] ;
6126 if (!args
) SWIG_fail
;
6128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6129 if (!SWIG_IsOK(res1
)) {
6130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6132 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6134 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6135 if (PyErr_Occurred()) SWIG_fail
;
6137 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6144 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6145 PyObject
*resultobj
= 0;
6146 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6147 wxMask
*result
= 0 ;
6150 PyObject
*swig_obj
[1] ;
6152 if (!args
) SWIG_fail
;
6154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6155 if (!SWIG_IsOK(res1
)) {
6156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6158 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6160 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6161 if (PyErr_Occurred()) SWIG_fail
;
6163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6170 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6171 PyObject
*resultobj
= 0;
6172 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6173 wxMask
*arg2
= (wxMask
*) 0 ;
6177 PyObject
* obj0
= 0 ;
6178 PyObject
* obj1
= 0 ;
6179 char * kwnames
[] = {
6180 (char *) "self",(char *) "mask", NULL
6183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6185 if (!SWIG_IsOK(res1
)) {
6186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6188 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6189 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6190 if (!SWIG_IsOK(res2
)) {
6191 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6194 (arg1
)->SetMask(arg2
);
6195 if (PyErr_Occurred()) SWIG_fail
;
6197 resultobj
= SWIG_Py_Void();
6204 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6205 PyObject
*resultobj
= 0;
6206 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6207 wxColour
*arg2
= 0 ;
6211 PyObject
* obj0
= 0 ;
6212 PyObject
* obj1
= 0 ;
6213 char * kwnames
[] = {
6214 (char *) "self",(char *) "colour", NULL
6217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6219 if (!SWIG_IsOK(res1
)) {
6220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6222 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6225 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6228 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6229 if (PyErr_Occurred()) SWIG_fail
;
6231 resultobj
= SWIG_Py_Void();
6238 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6239 PyObject
*resultobj
= 0;
6240 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6242 SwigValueWrapper
<wxBitmap
> result
;
6246 PyObject
* obj0
= 0 ;
6247 PyObject
* obj1
= 0 ;
6248 char * kwnames
[] = {
6249 (char *) "self",(char *) "rect", NULL
6252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6254 if (!SWIG_IsOK(res1
)) {
6255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6257 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6260 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6263 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6264 if (PyErr_Occurred()) SWIG_fail
;
6266 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6273 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6274 PyObject
*resultobj
= 0;
6275 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6276 wxString
*arg2
= 0 ;
6278 wxPalette
*arg4
= (wxPalette
*) NULL
;
6282 bool temp2
= false ;
6287 PyObject
* obj0
= 0 ;
6288 PyObject
* obj1
= 0 ;
6289 PyObject
* obj2
= 0 ;
6290 PyObject
* obj3
= 0 ;
6291 char * kwnames
[] = {
6292 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6297 if (!SWIG_IsOK(res1
)) {
6298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6300 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6302 arg2
= wxString_in_helper(obj1
);
6303 if (arg2
== NULL
) SWIG_fail
;
6306 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6307 if (!SWIG_IsOK(ecode3
)) {
6308 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6310 arg3
= static_cast< wxBitmapType
>(val3
);
6312 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6313 if (!SWIG_IsOK(res4
)) {
6314 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6316 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6319 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6320 if (PyErr_Occurred()) SWIG_fail
;
6323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6339 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6340 PyObject
*resultobj
= 0;
6341 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6342 wxString
*arg2
= 0 ;
6347 bool temp2
= false ;
6350 PyObject
* obj0
= 0 ;
6351 PyObject
* obj1
= 0 ;
6352 PyObject
* obj2
= 0 ;
6353 char * kwnames
[] = {
6354 (char *) "self",(char *) "name",(char *) "type", NULL
6357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6359 if (!SWIG_IsOK(res1
)) {
6360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6362 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6364 arg2
= wxString_in_helper(obj1
);
6365 if (arg2
== NULL
) SWIG_fail
;
6368 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6369 if (!SWIG_IsOK(ecode3
)) {
6370 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6372 arg3
= static_cast< wxBitmapType
>(val3
);
6374 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6375 if (PyErr_Occurred()) SWIG_fail
;
6378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6394 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6395 PyObject
*resultobj
= 0;
6396 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6397 wxPalette
*result
= 0 ;
6400 PyObject
*swig_obj
[1] ;
6402 if (!args
) SWIG_fail
;
6404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6405 if (!SWIG_IsOK(res1
)) {
6406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6408 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6410 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6411 if (PyErr_Occurred()) SWIG_fail
;
6413 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6420 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6421 PyObject
*resultobj
= 0;
6422 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6429 PyObject
* obj0
= 0 ;
6430 PyObject
* obj1
= 0 ;
6431 char * kwnames
[] = {
6432 (char *) "self",(char *) "icon", NULL
6435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6437 if (!SWIG_IsOK(res1
)) {
6438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6440 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6441 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6442 if (!SWIG_IsOK(res2
)) {
6443 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6446 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6448 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6450 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6451 if (PyErr_Occurred()) SWIG_fail
;
6454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6462 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6463 PyObject
*resultobj
= 0;
6464 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6470 PyObject
* obj0
= 0 ;
6471 PyObject
* obj1
= 0 ;
6472 char * kwnames
[] = {
6473 (char *) "self",(char *) "height", NULL
6476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6478 if (!SWIG_IsOK(res1
)) {
6479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6481 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6482 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6483 if (!SWIG_IsOK(ecode2
)) {
6484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6486 arg2
= static_cast< int >(val2
);
6488 (arg1
)->SetHeight(arg2
);
6489 if (PyErr_Occurred()) SWIG_fail
;
6491 resultobj
= SWIG_Py_Void();
6498 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6499 PyObject
*resultobj
= 0;
6500 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6506 PyObject
* obj0
= 0 ;
6507 PyObject
* obj1
= 0 ;
6508 char * kwnames
[] = {
6509 (char *) "self",(char *) "width", NULL
6512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6514 if (!SWIG_IsOK(res1
)) {
6515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6517 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6518 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6519 if (!SWIG_IsOK(ecode2
)) {
6520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6522 arg2
= static_cast< int >(val2
);
6524 (arg1
)->SetWidth(arg2
);
6525 if (PyErr_Occurred()) SWIG_fail
;
6527 resultobj
= SWIG_Py_Void();
6534 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6535 PyObject
*resultobj
= 0;
6536 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6542 PyObject
* obj0
= 0 ;
6543 PyObject
* obj1
= 0 ;
6544 char * kwnames
[] = {
6545 (char *) "self",(char *) "depth", NULL
6548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6550 if (!SWIG_IsOK(res1
)) {
6551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6553 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6554 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6555 if (!SWIG_IsOK(ecode2
)) {
6556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6558 arg2
= static_cast< int >(val2
);
6560 (arg1
)->SetDepth(arg2
);
6561 if (PyErr_Occurred()) SWIG_fail
;
6563 resultobj
= SWIG_Py_Void();
6570 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6571 PyObject
*resultobj
= 0;
6572 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6577 PyObject
* obj0
= 0 ;
6578 PyObject
* obj1
= 0 ;
6579 char * kwnames
[] = {
6580 (char *) "self",(char *) "size", NULL
6583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6585 if (!SWIG_IsOK(res1
)) {
6586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6588 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6591 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6594 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6595 if (PyErr_Occurred()) SWIG_fail
;
6597 resultobj
= SWIG_Py_Void();
6604 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6605 PyObject
*resultobj
= 0;
6606 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6607 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6613 PyObject
* obj0
= 0 ;
6614 PyObject
* obj1
= 0 ;
6615 char * kwnames
[] = {
6616 (char *) "self",(char *) "other", NULL
6619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6621 if (!SWIG_IsOK(res1
)) {
6622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6624 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6625 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6626 if (!SWIG_IsOK(res2
)) {
6627 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6629 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6631 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6632 if (PyErr_Occurred()) SWIG_fail
;
6635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6643 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6644 PyObject
*resultobj
= 0;
6645 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6646 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6652 PyObject
* obj0
= 0 ;
6653 PyObject
* obj1
= 0 ;
6654 char * kwnames
[] = {
6655 (char *) "self",(char *) "other", NULL
6658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6660 if (!SWIG_IsOK(res1
)) {
6661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6663 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6664 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6665 if (!SWIG_IsOK(res2
)) {
6666 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6668 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6670 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6671 if (PyErr_Occurred()) SWIG_fail
;
6674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6682 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6684 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6685 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6686 return SWIG_Py_Void();
6689 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6690 return SWIG_Python_InitShadowInstance(args
);
6693 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6694 PyObject
*resultobj
= 0;
6701 wxBitmap
*result
= 0 ;
6708 PyObject
* obj0
= 0 ;
6709 PyObject
* obj1
= 0 ;
6710 PyObject
* obj2
= 0 ;
6711 PyObject
* obj3
= 0 ;
6712 char * kwnames
[] = {
6713 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
6716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6717 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6718 if (!SWIG_IsOK(ecode1
)) {
6719 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
6721 arg1
= static_cast< int >(val1
);
6722 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6723 if (!SWIG_IsOK(ecode2
)) {
6724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
6726 arg2
= static_cast< int >(val2
);
6728 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6732 if (obj3
!= Py_None
) {
6733 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
6738 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
6739 if (PyErr_Occurred()) SWIG_fail
;
6741 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6748 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6749 PyObject
*resultobj
= 0;
6754 wxBitmap
*result
= 0 ;
6760 PyObject
* obj0
= 0 ;
6761 PyObject
* obj1
= 0 ;
6762 PyObject
* obj2
= 0 ;
6763 char * kwnames
[] = {
6764 (char *) "width",(char *) "height",(char *) "data", NULL
6767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6768 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6769 if (!SWIG_IsOK(ecode1
)) {
6770 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
6772 arg1
= static_cast< int >(val1
);
6773 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6774 if (!SWIG_IsOK(ecode2
)) {
6775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
6777 arg2
= static_cast< int >(val2
);
6779 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6783 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
6784 if (PyErr_Occurred()) SWIG_fail
;
6786 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6793 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6794 PyObject
*resultobj
= 0;
6799 wxBitmap
*result
= 0 ;
6805 PyObject
* obj0
= 0 ;
6806 PyObject
* obj1
= 0 ;
6807 PyObject
* obj2
= 0 ;
6808 char * kwnames
[] = {
6809 (char *) "width",(char *) "height",(char *) "data", NULL
6812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6813 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6814 if (!SWIG_IsOK(ecode1
)) {
6815 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
6817 arg1
= static_cast< int >(val1
);
6818 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6819 if (!SWIG_IsOK(ecode2
)) {
6820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
6822 arg2
= static_cast< int >(val2
);
6824 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6828 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
6829 if (PyErr_Occurred()) SWIG_fail
;
6831 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6838 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6839 PyObject
*resultobj
= 0;
6840 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6844 PyObject
*swig_obj
[1] ;
6846 if (!args
) SWIG_fail
;
6848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6849 if (!SWIG_IsOK(res1
)) {
6850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6852 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6854 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
6855 if (PyErr_Occurred()) SWIG_fail
;
6857 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6864 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6865 PyObject
*resultobj
= 0;
6866 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6870 PyObject
*swig_obj
[1] ;
6872 if (!args
) SWIG_fail
;
6874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6875 if (!SWIG_IsOK(res1
)) {
6876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6878 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6880 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
6881 if (PyErr_Occurred()) SWIG_fail
;
6883 resultobj
= SWIG_From_int(static_cast< int >(result
));
6890 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6891 PyObject
*resultobj
= 0;
6892 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6896 PyObject
*swig_obj
[1] ;
6898 if (!args
) SWIG_fail
;
6900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6901 if (!SWIG_IsOK(res1
)) {
6902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6904 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6906 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
6907 if (PyErr_Occurred()) SWIG_fail
;
6909 resultobj
= SWIG_From_int(static_cast< int >(result
));
6916 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6917 PyObject
*resultobj
= 0;
6918 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6922 PyObject
*swig_obj
[1] ;
6924 if (!args
) SWIG_fail
;
6926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6927 if (!SWIG_IsOK(res1
)) {
6928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6930 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6932 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
6933 if (PyErr_Occurred()) SWIG_fail
;
6935 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6942 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6943 PyObject
*resultobj
= 0;
6944 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6948 PyObject
*swig_obj
[1] ;
6950 if (!args
) SWIG_fail
;
6952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6953 if (!SWIG_IsOK(res1
)) {
6954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6956 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6958 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
6959 if (PyErr_Occurred()) SWIG_fail
;
6961 resultobj
= SWIG_From_int(static_cast< int >(result
));
6968 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6970 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6971 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
6972 return SWIG_Py_Void();
6975 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
6976 PyObject
*resultobj
= 0;
6977 wxBitmap
*arg1
= 0 ;
6978 wxNativePixelData
*result
= 0 ;
6982 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
6983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
6984 if (!SWIG_IsOK(res1
)) {
6985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
6988 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
6990 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6992 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
6993 if (PyErr_Occurred()) SWIG_fail
;
6995 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7002 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7003 PyObject
*resultobj
= 0;
7004 wxBitmap
*arg1
= 0 ;
7006 wxNativePixelData
*result
= 0 ;
7011 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7013 if (!SWIG_IsOK(res1
)) {
7014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7017 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7019 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7022 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7025 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7026 if (PyErr_Occurred()) SWIG_fail
;
7028 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7035 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7036 PyObject
*resultobj
= 0;
7037 wxBitmap
*arg1
= 0 ;
7040 wxNativePixelData
*result
= 0 ;
7046 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7048 if (!SWIG_IsOK(res1
)) {
7049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7052 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7054 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7057 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7061 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7064 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7065 if (PyErr_Occurred()) SWIG_fail
;
7067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7074 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7078 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7081 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7084 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7087 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7091 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7096 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7097 PyObject
*resultobj
= 0;
7098 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7101 PyObject
*swig_obj
[1] ;
7103 if (!args
) SWIG_fail
;
7105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7106 if (!SWIG_IsOK(res1
)) {
7107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7109 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7113 if (PyErr_Occurred()) SWIG_fail
;
7115 resultobj
= SWIG_Py_Void();
7122 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7123 PyObject
*resultobj
= 0;
7124 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7125 wxNativePixelData_Accessor result
;
7128 PyObject
*swig_obj
[1] ;
7130 if (!args
) SWIG_fail
;
7132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7133 if (!SWIG_IsOK(res1
)) {
7134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7136 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7138 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7139 if (PyErr_Occurred()) SWIG_fail
;
7141 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7148 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7149 PyObject
*resultobj
= 0;
7150 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7153 PyObject
*swig_obj
[1] ;
7155 if (!args
) SWIG_fail
;
7157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7158 if (!SWIG_IsOK(res1
)) {
7159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7161 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7164 if (PyErr_Occurred()) SWIG_fail
;
7166 resultobj
= SWIG_Py_Void();
7173 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7174 PyObject
*resultobj
= 0;
7175 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7179 PyObject
*swig_obj
[1] ;
7181 if (!args
) SWIG_fail
;
7183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7184 if (!SWIG_IsOK(res1
)) {
7185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7187 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7189 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7190 if (PyErr_Occurred()) SWIG_fail
;
7193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7201 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7203 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7204 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7205 return SWIG_Py_Void();
7208 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7209 return SWIG_Python_InitShadowInstance(args
);
7212 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7213 PyObject
*resultobj
= 0;
7214 wxNativePixelData
*arg1
= 0 ;
7215 wxNativePixelData_Accessor
*result
= 0 ;
7219 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7221 if (!SWIG_IsOK(res1
)) {
7222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7225 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7227 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7229 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7230 if (PyErr_Occurred()) SWIG_fail
;
7232 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7239 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7240 PyObject
*resultobj
= 0;
7241 wxBitmap
*arg1
= 0 ;
7242 wxNativePixelData
*arg2
= 0 ;
7243 wxNativePixelData_Accessor
*result
= 0 ;
7249 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7251 if (!SWIG_IsOK(res1
)) {
7252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7255 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7257 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7258 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7259 if (!SWIG_IsOK(res2
)) {
7260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7263 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7265 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7267 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7268 if (PyErr_Occurred()) SWIG_fail
;
7270 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7277 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7278 PyObject
*resultobj
= 0;
7279 wxNativePixelData_Accessor
*result
= 0 ;
7281 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7283 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7284 if (PyErr_Occurred()) SWIG_fail
;
7286 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7293 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7297 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7300 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7303 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7306 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7310 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7315 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7316 PyObject
*resultobj
= 0;
7317 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7320 PyObject
*swig_obj
[1] ;
7322 if (!args
) SWIG_fail
;
7324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7325 if (!SWIG_IsOK(res1
)) {
7326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7328 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7332 if (PyErr_Occurred()) SWIG_fail
;
7334 resultobj
= SWIG_Py_Void();
7341 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7342 PyObject
*resultobj
= 0;
7343 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7344 wxNativePixelData
*arg2
= 0 ;
7349 PyObject
* obj0
= 0 ;
7350 PyObject
* obj1
= 0 ;
7351 char * kwnames
[] = {
7352 (char *) "self",(char *) "data", NULL
7355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7357 if (!SWIG_IsOK(res1
)) {
7358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7360 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7361 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7362 if (!SWIG_IsOK(res2
)) {
7363 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7366 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7368 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7370 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7371 if (PyErr_Occurred()) SWIG_fail
;
7373 resultobj
= SWIG_Py_Void();
7380 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7381 PyObject
*resultobj
= 0;
7382 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7386 PyObject
*swig_obj
[1] ;
7388 if (!args
) SWIG_fail
;
7390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7391 if (!SWIG_IsOK(res1
)) {
7392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7394 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7396 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7397 if (PyErr_Occurred()) SWIG_fail
;
7400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7408 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7409 PyObject
*resultobj
= 0;
7410 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7413 PyObject
*swig_obj
[1] ;
7415 if (!args
) SWIG_fail
;
7417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7418 if (!SWIG_IsOK(res1
)) {
7419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7421 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7423 wxNativePixelData_Accessor_nextPixel(arg1
);
7424 if (PyErr_Occurred()) SWIG_fail
;
7426 resultobj
= SWIG_Py_Void();
7433 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7434 PyObject
*resultobj
= 0;
7435 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7436 wxNativePixelData
*arg2
= 0 ;
7447 PyObject
* obj0
= 0 ;
7448 PyObject
* obj1
= 0 ;
7449 PyObject
* obj2
= 0 ;
7450 PyObject
* obj3
= 0 ;
7451 char * kwnames
[] = {
7452 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7457 if (!SWIG_IsOK(res1
)) {
7458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7460 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7461 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7462 if (!SWIG_IsOK(res2
)) {
7463 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7466 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7468 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7469 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7470 if (!SWIG_IsOK(ecode3
)) {
7471 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7473 arg3
= static_cast< int >(val3
);
7474 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7475 if (!SWIG_IsOK(ecode4
)) {
7476 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7478 arg4
= static_cast< int >(val4
);
7480 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7481 if (PyErr_Occurred()) SWIG_fail
;
7483 resultobj
= SWIG_Py_Void();
7490 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7491 PyObject
*resultobj
= 0;
7492 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7493 wxNativePixelData
*arg2
= 0 ;
7501 PyObject
* obj0
= 0 ;
7502 PyObject
* obj1
= 0 ;
7503 PyObject
* obj2
= 0 ;
7504 char * kwnames
[] = {
7505 (char *) "self",(char *) "data",(char *) "x", NULL
7508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7510 if (!SWIG_IsOK(res1
)) {
7511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7513 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7514 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7515 if (!SWIG_IsOK(res2
)) {
7516 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7519 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7521 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7522 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7523 if (!SWIG_IsOK(ecode3
)) {
7524 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7526 arg3
= static_cast< int >(val3
);
7528 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7529 if (PyErr_Occurred()) SWIG_fail
;
7531 resultobj
= SWIG_Py_Void();
7538 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7539 PyObject
*resultobj
= 0;
7540 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7541 wxNativePixelData
*arg2
= 0 ;
7549 PyObject
* obj0
= 0 ;
7550 PyObject
* obj1
= 0 ;
7551 PyObject
* obj2
= 0 ;
7552 char * kwnames
[] = {
7553 (char *) "self",(char *) "data",(char *) "y", NULL
7556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7558 if (!SWIG_IsOK(res1
)) {
7559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7561 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7562 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7563 if (!SWIG_IsOK(res2
)) {
7564 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7567 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7569 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7570 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7571 if (!SWIG_IsOK(ecode3
)) {
7572 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
7574 arg3
= static_cast< int >(val3
);
7576 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
7577 if (PyErr_Occurred()) SWIG_fail
;
7579 resultobj
= SWIG_Py_Void();
7586 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7587 PyObject
*resultobj
= 0;
7588 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7589 wxNativePixelData
*arg2
= 0 ;
7600 PyObject
* obj0
= 0 ;
7601 PyObject
* obj1
= 0 ;
7602 PyObject
* obj2
= 0 ;
7603 PyObject
* obj3
= 0 ;
7604 char * kwnames
[] = {
7605 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7610 if (!SWIG_IsOK(res1
)) {
7611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7613 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7614 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7615 if (!SWIG_IsOK(res2
)) {
7616 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7619 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7621 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7622 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7623 if (!SWIG_IsOK(ecode3
)) {
7624 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
7626 arg3
= static_cast< int >(val3
);
7627 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7628 if (!SWIG_IsOK(ecode4
)) {
7629 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
7631 arg4
= static_cast< int >(val4
);
7633 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7634 if (PyErr_Occurred()) SWIG_fail
;
7636 resultobj
= SWIG_Py_Void();
7643 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7644 PyObject
*resultobj
= 0;
7645 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7651 unsigned char val2
;
7653 unsigned char val3
;
7655 unsigned char val4
;
7657 PyObject
* obj0
= 0 ;
7658 PyObject
* obj1
= 0 ;
7659 PyObject
* obj2
= 0 ;
7660 PyObject
* obj3
= 0 ;
7661 char * kwnames
[] = {
7662 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
7665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7667 if (!SWIG_IsOK(res1
)) {
7668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7670 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7671 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
7672 if (!SWIG_IsOK(ecode2
)) {
7673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
7675 arg2
= static_cast< byte
>(val2
);
7676 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
7677 if (!SWIG_IsOK(ecode3
)) {
7678 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
7680 arg3
= static_cast< byte
>(val3
);
7681 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
7682 if (!SWIG_IsOK(ecode4
)) {
7683 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
7685 arg4
= static_cast< byte
>(val4
);
7687 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
7688 if (PyErr_Occurred()) SWIG_fail
;
7690 resultobj
= SWIG_Py_Void();
7697 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7698 PyObject
*resultobj
= 0;
7699 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7700 PyObject
*result
= 0 ;
7703 PyObject
*swig_obj
[1] ;
7705 if (!args
) SWIG_fail
;
7707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7708 if (!SWIG_IsOK(res1
)) {
7709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7711 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7713 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
7714 if (PyErr_Occurred()) SWIG_fail
;
7723 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7725 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7726 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
7727 return SWIG_Py_Void();
7730 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7731 return SWIG_Python_InitShadowInstance(args
);
7734 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7735 PyObject
*resultobj
= 0;
7736 wxBitmap
*arg1
= 0 ;
7737 wxAlphaPixelData
*result
= 0 ;
7741 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7743 if (!SWIG_IsOK(res1
)) {
7744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7747 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7749 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7751 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
7752 if (PyErr_Occurred()) SWIG_fail
;
7754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7761 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7762 PyObject
*resultobj
= 0;
7763 wxBitmap
*arg1
= 0 ;
7765 wxAlphaPixelData
*result
= 0 ;
7770 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7772 if (!SWIG_IsOK(res1
)) {
7773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7776 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7778 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7781 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7784 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
7785 if (PyErr_Occurred()) SWIG_fail
;
7787 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7794 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7795 PyObject
*resultobj
= 0;
7796 wxBitmap
*arg1
= 0 ;
7799 wxAlphaPixelData
*result
= 0 ;
7805 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7807 if (!SWIG_IsOK(res1
)) {
7808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7811 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7813 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7816 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7820 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7823 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7824 if (PyErr_Occurred()) SWIG_fail
;
7826 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7833 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
7837 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
7840 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
7843 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
7846 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
7850 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
7855 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7856 PyObject
*resultobj
= 0;
7857 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7860 PyObject
*swig_obj
[1] ;
7862 if (!args
) SWIG_fail
;
7864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
7865 if (!SWIG_IsOK(res1
)) {
7866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
7868 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7872 if (PyErr_Occurred()) SWIG_fail
;
7874 resultobj
= SWIG_Py_Void();
7881 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7882 PyObject
*resultobj
= 0;
7883 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7884 wxAlphaPixelData_Accessor result
;
7887 PyObject
*swig_obj
[1] ;
7889 if (!args
) SWIG_fail
;
7891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
7892 if (!SWIG_IsOK(res1
)) {
7893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
7895 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7897 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
7898 if (PyErr_Occurred()) SWIG_fail
;
7900 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7907 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7908 PyObject
*resultobj
= 0;
7909 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7912 PyObject
*swig_obj
[1] ;
7914 if (!args
) SWIG_fail
;
7916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
7917 if (!SWIG_IsOK(res1
)) {
7918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
7920 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7923 if (PyErr_Occurred()) SWIG_fail
;
7925 resultobj
= SWIG_Py_Void();
7932 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7933 PyObject
*resultobj
= 0;
7934 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7938 PyObject
*swig_obj
[1] ;
7940 if (!args
) SWIG_fail
;
7942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
7943 if (!SWIG_IsOK(res1
)) {
7944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
7946 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7948 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
7949 if (PyErr_Occurred()) SWIG_fail
;
7952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7960 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7962 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7963 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
7964 return SWIG_Py_Void();
7967 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7968 return SWIG_Python_InitShadowInstance(args
);
7971 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7972 PyObject
*resultobj
= 0;
7973 wxAlphaPixelData
*arg1
= 0 ;
7974 wxAlphaPixelData_Accessor
*result
= 0 ;
7978 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
7980 if (!SWIG_IsOK(res1
)) {
7981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
7984 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
7986 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7988 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
7989 if (PyErr_Occurred()) SWIG_fail
;
7991 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7998 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7999 PyObject
*resultobj
= 0;
8000 wxBitmap
*arg1
= 0 ;
8001 wxAlphaPixelData
*arg2
= 0 ;
8002 wxAlphaPixelData_Accessor
*result
= 0 ;
8008 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8010 if (!SWIG_IsOK(res1
)) {
8011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8014 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8016 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8017 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8018 if (!SWIG_IsOK(res2
)) {
8019 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8022 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8024 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8026 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8027 if (PyErr_Occurred()) SWIG_fail
;
8029 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8036 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8037 PyObject
*resultobj
= 0;
8038 wxAlphaPixelData_Accessor
*result
= 0 ;
8040 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8042 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8043 if (PyErr_Occurred()) SWIG_fail
;
8045 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8052 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8056 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8059 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8062 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8065 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8069 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8074 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8075 PyObject
*resultobj
= 0;
8076 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8079 PyObject
*swig_obj
[1] ;
8081 if (!args
) SWIG_fail
;
8083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8084 if (!SWIG_IsOK(res1
)) {
8085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8087 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8091 if (PyErr_Occurred()) SWIG_fail
;
8093 resultobj
= SWIG_Py_Void();
8100 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8101 PyObject
*resultobj
= 0;
8102 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8103 wxAlphaPixelData
*arg2
= 0 ;
8108 PyObject
* obj0
= 0 ;
8109 PyObject
* obj1
= 0 ;
8110 char * kwnames
[] = {
8111 (char *) "self",(char *) "data", NULL
8114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8116 if (!SWIG_IsOK(res1
)) {
8117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8119 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8120 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8121 if (!SWIG_IsOK(res2
)) {
8122 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8125 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8127 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8129 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8130 if (PyErr_Occurred()) SWIG_fail
;
8132 resultobj
= SWIG_Py_Void();
8139 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8140 PyObject
*resultobj
= 0;
8141 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8145 PyObject
*swig_obj
[1] ;
8147 if (!args
) SWIG_fail
;
8149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8150 if (!SWIG_IsOK(res1
)) {
8151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8153 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8155 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8156 if (PyErr_Occurred()) SWIG_fail
;
8159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8167 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8168 PyObject
*resultobj
= 0;
8169 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8172 PyObject
*swig_obj
[1] ;
8174 if (!args
) SWIG_fail
;
8176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8177 if (!SWIG_IsOK(res1
)) {
8178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8180 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8182 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8183 if (PyErr_Occurred()) SWIG_fail
;
8185 resultobj
= SWIG_Py_Void();
8192 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8193 PyObject
*resultobj
= 0;
8194 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8195 wxAlphaPixelData
*arg2
= 0 ;
8206 PyObject
* obj0
= 0 ;
8207 PyObject
* obj1
= 0 ;
8208 PyObject
* obj2
= 0 ;
8209 PyObject
* obj3
= 0 ;
8210 char * kwnames
[] = {
8211 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8216 if (!SWIG_IsOK(res1
)) {
8217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8219 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8220 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8221 if (!SWIG_IsOK(res2
)) {
8222 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8225 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8227 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8228 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8229 if (!SWIG_IsOK(ecode3
)) {
8230 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8232 arg3
= static_cast< int >(val3
);
8233 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8234 if (!SWIG_IsOK(ecode4
)) {
8235 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8237 arg4
= static_cast< int >(val4
);
8239 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8240 if (PyErr_Occurred()) SWIG_fail
;
8242 resultobj
= SWIG_Py_Void();
8249 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8250 PyObject
*resultobj
= 0;
8251 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8252 wxAlphaPixelData
*arg2
= 0 ;
8260 PyObject
* obj0
= 0 ;
8261 PyObject
* obj1
= 0 ;
8262 PyObject
* obj2
= 0 ;
8263 char * kwnames
[] = {
8264 (char *) "self",(char *) "data",(char *) "x", NULL
8267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8269 if (!SWIG_IsOK(res1
)) {
8270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8272 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8273 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8274 if (!SWIG_IsOK(res2
)) {
8275 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8278 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8280 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8281 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8282 if (!SWIG_IsOK(ecode3
)) {
8283 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8285 arg3
= static_cast< int >(val3
);
8287 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8288 if (PyErr_Occurred()) SWIG_fail
;
8290 resultobj
= SWIG_Py_Void();
8297 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8298 PyObject
*resultobj
= 0;
8299 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8300 wxAlphaPixelData
*arg2
= 0 ;
8308 PyObject
* obj0
= 0 ;
8309 PyObject
* obj1
= 0 ;
8310 PyObject
* obj2
= 0 ;
8311 char * kwnames
[] = {
8312 (char *) "self",(char *) "data",(char *) "y", NULL
8315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8317 if (!SWIG_IsOK(res1
)) {
8318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8320 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8321 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8322 if (!SWIG_IsOK(res2
)) {
8323 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8326 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8328 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8329 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8330 if (!SWIG_IsOK(ecode3
)) {
8331 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8333 arg3
= static_cast< int >(val3
);
8335 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8336 if (PyErr_Occurred()) SWIG_fail
;
8338 resultobj
= SWIG_Py_Void();
8345 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8346 PyObject
*resultobj
= 0;
8347 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8348 wxAlphaPixelData
*arg2
= 0 ;
8359 PyObject
* obj0
= 0 ;
8360 PyObject
* obj1
= 0 ;
8361 PyObject
* obj2
= 0 ;
8362 PyObject
* obj3
= 0 ;
8363 char * kwnames
[] = {
8364 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8369 if (!SWIG_IsOK(res1
)) {
8370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8372 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8373 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8374 if (!SWIG_IsOK(res2
)) {
8375 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8378 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8380 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8381 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8382 if (!SWIG_IsOK(ecode3
)) {
8383 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8385 arg3
= static_cast< int >(val3
);
8386 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8387 if (!SWIG_IsOK(ecode4
)) {
8388 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8390 arg4
= static_cast< int >(val4
);
8392 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8393 if (PyErr_Occurred()) SWIG_fail
;
8395 resultobj
= SWIG_Py_Void();
8402 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8403 PyObject
*resultobj
= 0;
8404 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8411 unsigned char val2
;
8413 unsigned char val3
;
8415 unsigned char val4
;
8417 unsigned char val5
;
8419 PyObject
* obj0
= 0 ;
8420 PyObject
* obj1
= 0 ;
8421 PyObject
* obj2
= 0 ;
8422 PyObject
* obj3
= 0 ;
8423 PyObject
* obj4
= 0 ;
8424 char * kwnames
[] = {
8425 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8430 if (!SWIG_IsOK(res1
)) {
8431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8433 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8434 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8435 if (!SWIG_IsOK(ecode2
)) {
8436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8438 arg2
= static_cast< byte
>(val2
);
8439 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8440 if (!SWIG_IsOK(ecode3
)) {
8441 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8443 arg3
= static_cast< byte
>(val3
);
8444 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8445 if (!SWIG_IsOK(ecode4
)) {
8446 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8448 arg4
= static_cast< byte
>(val4
);
8449 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8450 if (!SWIG_IsOK(ecode5
)) {
8451 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8453 arg5
= static_cast< byte
>(val5
);
8455 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8456 if (PyErr_Occurred()) SWIG_fail
;
8458 resultobj
= SWIG_Py_Void();
8465 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8466 PyObject
*resultobj
= 0;
8467 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8468 PyObject
*result
= 0 ;
8471 PyObject
*swig_obj
[1] ;
8473 if (!args
) SWIG_fail
;
8475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8476 if (!SWIG_IsOK(res1
)) {
8477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8479 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8481 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8482 if (PyErr_Occurred()) SWIG_fail
;
8491 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8493 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8494 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8495 return SWIG_Py_Void();
8498 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8499 return SWIG_Python_InitShadowInstance(args
);
8502 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8503 PyObject
*resultobj
= 0;
8504 wxBitmap
*arg1
= 0 ;
8505 wxColour
const &arg2_defvalue
= wxNullColour
;
8506 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8507 wxMask
*result
= 0 ;
8511 PyObject
* obj0
= 0 ;
8512 PyObject
* obj1
= 0 ;
8513 char * kwnames
[] = {
8514 (char *) "bitmap",(char *) "colour", NULL
8517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8518 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8519 if (!SWIG_IsOK(res1
)) {
8520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8523 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8525 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8529 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8533 if (!wxPyCheckForApp()) SWIG_fail
;
8534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8535 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8536 wxPyEndAllowThreads(__tstate
);
8537 if (PyErr_Occurred()) SWIG_fail
;
8539 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
8546 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8547 PyObject
*resultobj
= 0;
8548 wxMask
*arg1
= (wxMask
*) 0 ;
8551 PyObject
*swig_obj
[1] ;
8553 if (!args
) SWIG_fail
;
8555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
8556 if (!SWIG_IsOK(res1
)) {
8557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
8559 arg1
= reinterpret_cast< wxMask
* >(argp1
);
8563 if (PyErr_Occurred()) SWIG_fail
;
8565 resultobj
= SWIG_Py_Void();
8572 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8574 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8575 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
8576 return SWIG_Py_Void();
8579 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8580 return SWIG_Python_InitShadowInstance(args
);
8583 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8584 PyObject
*resultobj
= 0;
8585 wxString
*arg1
= 0 ;
8587 int arg3
= (int) -1 ;
8588 int arg4
= (int) -1 ;
8589 wxIcon
*result
= 0 ;
8590 bool temp1
= false ;
8597 PyObject
* obj0
= 0 ;
8598 PyObject
* obj1
= 0 ;
8599 PyObject
* obj2
= 0 ;
8600 PyObject
* obj3
= 0 ;
8601 char * kwnames
[] = {
8602 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
8605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8607 arg1
= wxString_in_helper(obj0
);
8608 if (arg1
== NULL
) SWIG_fail
;
8611 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8612 if (!SWIG_IsOK(ecode2
)) {
8613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
8615 arg2
= static_cast< wxBitmapType
>(val2
);
8617 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8618 if (!SWIG_IsOK(ecode3
)) {
8619 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
8621 arg3
= static_cast< int >(val3
);
8624 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8625 if (!SWIG_IsOK(ecode4
)) {
8626 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
8628 arg4
= static_cast< int >(val4
);
8631 if (!wxPyCheckForApp()) SWIG_fail
;
8632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8633 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
8634 wxPyEndAllowThreads(__tstate
);
8635 if (PyErr_Occurred()) SWIG_fail
;
8637 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
8652 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8653 PyObject
*resultobj
= 0;
8654 wxIcon
*arg1
= (wxIcon
*) 0 ;
8657 PyObject
*swig_obj
[1] ;
8659 if (!args
) SWIG_fail
;
8661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
8662 if (!SWIG_IsOK(res1
)) {
8663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
8665 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8670 wxPyEndAllowThreads(__tstate
);
8671 if (PyErr_Occurred()) SWIG_fail
;
8673 resultobj
= SWIG_Py_Void();
8680 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8681 PyObject
*resultobj
= 0;
8682 wxIcon
*result
= 0 ;
8684 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
8686 if (!wxPyCheckForApp()) SWIG_fail
;
8687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8688 result
= (wxIcon
*)new wxIcon();
8689 wxPyEndAllowThreads(__tstate
);
8690 if (PyErr_Occurred()) SWIG_fail
;
8692 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8699 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8700 PyObject
*resultobj
= 0;
8701 wxIconLocation
*arg1
= 0 ;
8702 wxIcon
*result
= 0 ;
8705 PyObject
* obj0
= 0 ;
8706 char * kwnames
[] = {
8707 (char *) "loc", NULL
8710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
8711 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
8712 if (!SWIG_IsOK(res1
)) {
8713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8716 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8718 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
8720 if (!wxPyCheckForApp()) SWIG_fail
;
8721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8722 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
8723 wxPyEndAllowThreads(__tstate
);
8724 if (PyErr_Occurred()) SWIG_fail
;
8726 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8733 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8734 PyObject
*resultobj
= 0;
8735 wxBitmap
*arg1
= 0 ;
8736 wxIcon
*result
= 0 ;
8739 PyObject
* obj0
= 0 ;
8740 char * kwnames
[] = {
8741 (char *) "bmp", NULL
8744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
8745 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8746 if (!SWIG_IsOK(res1
)) {
8747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8750 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8752 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8754 if (!wxPyCheckForApp()) SWIG_fail
;
8755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8756 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
8757 wxPyEndAllowThreads(__tstate
);
8758 if (PyErr_Occurred()) SWIG_fail
;
8760 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8767 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8768 PyObject
*resultobj
= 0;
8769 PyObject
*arg1
= (PyObject
*) 0 ;
8770 wxIcon
*result
= 0 ;
8771 PyObject
* obj0
= 0 ;
8772 char * kwnames
[] = {
8773 (char *) "listOfStrings", NULL
8776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
8779 if (!wxPyCheckForApp()) SWIG_fail
;
8780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8781 result
= (wxIcon
*)new_wxIcon(arg1
);
8782 wxPyEndAllowThreads(__tstate
);
8783 if (PyErr_Occurred()) SWIG_fail
;
8785 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8792 SWIGINTERN PyObject
*_wrap_Icon_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8793 PyObject
*resultobj
= 0;
8794 wxIcon
*arg1
= (wxIcon
*) 0 ;
8798 PyObject
*swig_obj
[1] ;
8800 if (!args
) SWIG_fail
;
8802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8803 if (!SWIG_IsOK(res1
)) {
8804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_Ok" "', expected argument " "1"" of type '" "wxIcon *""'");
8806 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8809 result
= (bool)(arg1
)->Ok();
8810 wxPyEndAllowThreads(__tstate
);
8811 if (PyErr_Occurred()) SWIG_fail
;
8814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8822 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8823 PyObject
*resultobj
= 0;
8824 wxIcon
*arg1
= (wxIcon
*) 0 ;
8828 PyObject
*swig_obj
[1] ;
8830 if (!args
) SWIG_fail
;
8832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8833 if (!SWIG_IsOK(res1
)) {
8834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
8836 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8839 result
= (int)(arg1
)->GetWidth();
8840 wxPyEndAllowThreads(__tstate
);
8841 if (PyErr_Occurred()) SWIG_fail
;
8843 resultobj
= SWIG_From_int(static_cast< int >(result
));
8850 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8851 PyObject
*resultobj
= 0;
8852 wxIcon
*arg1
= (wxIcon
*) 0 ;
8856 PyObject
*swig_obj
[1] ;
8858 if (!args
) SWIG_fail
;
8860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8861 if (!SWIG_IsOK(res1
)) {
8862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
8864 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8867 result
= (int)(arg1
)->GetHeight();
8868 wxPyEndAllowThreads(__tstate
);
8869 if (PyErr_Occurred()) SWIG_fail
;
8871 resultobj
= SWIG_From_int(static_cast< int >(result
));
8878 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8879 PyObject
*resultobj
= 0;
8880 wxIcon
*arg1
= (wxIcon
*) 0 ;
8884 PyObject
*swig_obj
[1] ;
8886 if (!args
) SWIG_fail
;
8888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8889 if (!SWIG_IsOK(res1
)) {
8890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
8892 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8895 result
= (int)(arg1
)->GetDepth();
8896 wxPyEndAllowThreads(__tstate
);
8897 if (PyErr_Occurred()) SWIG_fail
;
8899 resultobj
= SWIG_From_int(static_cast< int >(result
));
8906 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8907 PyObject
*resultobj
= 0;
8908 wxIcon
*arg1
= (wxIcon
*) 0 ;
8914 PyObject
* obj0
= 0 ;
8915 PyObject
* obj1
= 0 ;
8916 char * kwnames
[] = {
8917 (char *) "self",(char *) "w", NULL
8920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8922 if (!SWIG_IsOK(res1
)) {
8923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
8925 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8927 if (!SWIG_IsOK(ecode2
)) {
8928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
8930 arg2
= static_cast< int >(val2
);
8932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8933 (arg1
)->SetWidth(arg2
);
8934 wxPyEndAllowThreads(__tstate
);
8935 if (PyErr_Occurred()) SWIG_fail
;
8937 resultobj
= SWIG_Py_Void();
8944 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8945 PyObject
*resultobj
= 0;
8946 wxIcon
*arg1
= (wxIcon
*) 0 ;
8952 PyObject
* obj0
= 0 ;
8953 PyObject
* obj1
= 0 ;
8954 char * kwnames
[] = {
8955 (char *) "self",(char *) "h", NULL
8958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8960 if (!SWIG_IsOK(res1
)) {
8961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
8963 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8964 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8965 if (!SWIG_IsOK(ecode2
)) {
8966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
8968 arg2
= static_cast< int >(val2
);
8970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8971 (arg1
)->SetHeight(arg2
);
8972 wxPyEndAllowThreads(__tstate
);
8973 if (PyErr_Occurred()) SWIG_fail
;
8975 resultobj
= SWIG_Py_Void();
8982 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8983 PyObject
*resultobj
= 0;
8984 wxIcon
*arg1
= (wxIcon
*) 0 ;
8990 PyObject
* obj0
= 0 ;
8991 PyObject
* obj1
= 0 ;
8992 char * kwnames
[] = {
8993 (char *) "self",(char *) "d", NULL
8996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8998 if (!SWIG_IsOK(res1
)) {
8999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9001 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9002 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9003 if (!SWIG_IsOK(ecode2
)) {
9004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9006 arg2
= static_cast< int >(val2
);
9008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9009 (arg1
)->SetDepth(arg2
);
9010 wxPyEndAllowThreads(__tstate
);
9011 if (PyErr_Occurred()) SWIG_fail
;
9013 resultobj
= SWIG_Py_Void();
9020 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9021 PyObject
*resultobj
= 0;
9022 wxIcon
*arg1
= (wxIcon
*) 0 ;
9023 wxBitmap
*arg2
= 0 ;
9028 PyObject
* obj0
= 0 ;
9029 PyObject
* obj1
= 0 ;
9030 char * kwnames
[] = {
9031 (char *) "self",(char *) "bmp", NULL
9034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9036 if (!SWIG_IsOK(res1
)) {
9037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9039 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9040 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9041 if (!SWIG_IsOK(res2
)) {
9042 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9045 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9047 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9050 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9051 wxPyEndAllowThreads(__tstate
);
9052 if (PyErr_Occurred()) SWIG_fail
;
9054 resultobj
= SWIG_Py_Void();
9061 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9063 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9064 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9065 return SWIG_Py_Void();
9068 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9069 return SWIG_Python_InitShadowInstance(args
);
9072 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9073 PyObject
*resultobj
= 0;
9074 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9075 int arg2
= (int) 0 ;
9076 wxIconLocation
*result
= 0 ;
9077 bool temp1
= false ;
9080 PyObject
* obj0
= 0 ;
9081 PyObject
* obj1
= 0 ;
9082 char * kwnames
[] = {
9083 (char *) "filename",(char *) "num", NULL
9086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9089 arg1
= wxString_in_helper(obj0
);
9090 if (arg1
== NULL
) SWIG_fail
;
9095 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9096 if (!SWIG_IsOK(ecode2
)) {
9097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9099 arg2
= static_cast< int >(val2
);
9102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9103 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9104 wxPyEndAllowThreads(__tstate
);
9105 if (PyErr_Occurred()) SWIG_fail
;
9107 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9122 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9123 PyObject
*resultobj
= 0;
9124 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9127 PyObject
*swig_obj
[1] ;
9129 if (!args
) SWIG_fail
;
9131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9132 if (!SWIG_IsOK(res1
)) {
9133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9135 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9140 wxPyEndAllowThreads(__tstate
);
9141 if (PyErr_Occurred()) SWIG_fail
;
9143 resultobj
= SWIG_Py_Void();
9150 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9151 PyObject
*resultobj
= 0;
9152 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9156 PyObject
*swig_obj
[1] ;
9158 if (!args
) SWIG_fail
;
9160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9161 if (!SWIG_IsOK(res1
)) {
9162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9164 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9167 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9168 wxPyEndAllowThreads(__tstate
);
9169 if (PyErr_Occurred()) SWIG_fail
;
9172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9180 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9181 PyObject
*resultobj
= 0;
9182 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9183 wxString
*arg2
= 0 ;
9186 bool temp2
= false ;
9187 PyObject
* obj0
= 0 ;
9188 PyObject
* obj1
= 0 ;
9189 char * kwnames
[] = {
9190 (char *) "self",(char *) "filename", NULL
9193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9195 if (!SWIG_IsOK(res1
)) {
9196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9198 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9200 arg2
= wxString_in_helper(obj1
);
9201 if (arg2
== NULL
) SWIG_fail
;
9205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9206 (arg1
)->SetFileName((wxString
const &)*arg2
);
9207 wxPyEndAllowThreads(__tstate
);
9208 if (PyErr_Occurred()) SWIG_fail
;
9210 resultobj
= SWIG_Py_Void();
9225 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9226 PyObject
*resultobj
= 0;
9227 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9228 wxString
*result
= 0 ;
9231 PyObject
*swig_obj
[1] ;
9233 if (!args
) SWIG_fail
;
9235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9236 if (!SWIG_IsOK(res1
)) {
9237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9239 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9243 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9244 result
= (wxString
*) &_result_ref
;
9246 wxPyEndAllowThreads(__tstate
);
9247 if (PyErr_Occurred()) SWIG_fail
;
9251 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9253 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9262 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9263 PyObject
*resultobj
= 0;
9264 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9270 PyObject
* obj0
= 0 ;
9271 PyObject
* obj1
= 0 ;
9272 char * kwnames
[] = {
9273 (char *) "self",(char *) "num", NULL
9276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9278 if (!SWIG_IsOK(res1
)) {
9279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9281 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9282 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9283 if (!SWIG_IsOK(ecode2
)) {
9284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9286 arg2
= static_cast< int >(val2
);
9288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9289 wxIconLocation_SetIndex(arg1
,arg2
);
9290 wxPyEndAllowThreads(__tstate
);
9291 if (PyErr_Occurred()) SWIG_fail
;
9293 resultobj
= SWIG_Py_Void();
9300 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9301 PyObject
*resultobj
= 0;
9302 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9306 PyObject
*swig_obj
[1] ;
9308 if (!args
) SWIG_fail
;
9310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9311 if (!SWIG_IsOK(res1
)) {
9312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9314 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9317 result
= (int)wxIconLocation_GetIndex(arg1
);
9318 wxPyEndAllowThreads(__tstate
);
9319 if (PyErr_Occurred()) SWIG_fail
;
9321 resultobj
= SWIG_From_int(static_cast< int >(result
));
9328 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9330 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9331 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9332 return SWIG_Py_Void();
9335 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9336 return SWIG_Python_InitShadowInstance(args
);
9339 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9340 PyObject
*resultobj
= 0;
9341 wxIconBundle
*result
= 0 ;
9343 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9346 result
= (wxIconBundle
*)new wxIconBundle();
9347 wxPyEndAllowThreads(__tstate
);
9348 if (PyErr_Occurred()) SWIG_fail
;
9350 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9357 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9358 PyObject
*resultobj
= 0;
9359 wxString
*arg1
= 0 ;
9361 wxIconBundle
*result
= 0 ;
9362 bool temp1
= false ;
9365 PyObject
* obj0
= 0 ;
9366 PyObject
* obj1
= 0 ;
9367 char * kwnames
[] = {
9368 (char *) "file",(char *) "type", NULL
9371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9373 arg1
= wxString_in_helper(obj0
);
9374 if (arg1
== NULL
) SWIG_fail
;
9377 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9378 if (!SWIG_IsOK(ecode2
)) {
9379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9381 arg2
= static_cast< long >(val2
);
9383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9384 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9385 wxPyEndAllowThreads(__tstate
);
9386 if (PyErr_Occurred()) SWIG_fail
;
9388 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9403 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9404 PyObject
*resultobj
= 0;
9406 wxIconBundle
*result
= 0 ;
9409 PyObject
* obj0
= 0 ;
9410 char * kwnames
[] = {
9411 (char *) "icon", NULL
9414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9415 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9416 if (!SWIG_IsOK(res1
)) {
9417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9420 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9422 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9425 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9426 wxPyEndAllowThreads(__tstate
);
9427 if (PyErr_Occurred()) SWIG_fail
;
9429 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9436 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9437 PyObject
*resultobj
= 0;
9438 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9441 PyObject
*swig_obj
[1] ;
9443 if (!args
) SWIG_fail
;
9445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9446 if (!SWIG_IsOK(res1
)) {
9447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9449 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9454 wxPyEndAllowThreads(__tstate
);
9455 if (PyErr_Occurred()) SWIG_fail
;
9457 resultobj
= SWIG_Py_Void();
9464 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9465 PyObject
*resultobj
= 0;
9466 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9472 PyObject
* obj0
= 0 ;
9473 PyObject
* obj1
= 0 ;
9474 char * kwnames
[] = {
9475 (char *) "self",(char *) "icon", NULL
9478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9480 if (!SWIG_IsOK(res1
)) {
9481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9483 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9484 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9485 if (!SWIG_IsOK(res2
)) {
9486 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9489 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9491 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9494 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9495 wxPyEndAllowThreads(__tstate
);
9496 if (PyErr_Occurred()) SWIG_fail
;
9498 resultobj
= SWIG_Py_Void();
9505 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9506 PyObject
*resultobj
= 0;
9507 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9508 wxString
*arg2
= 0 ;
9512 bool temp2
= false ;
9515 PyObject
* obj0
= 0 ;
9516 PyObject
* obj1
= 0 ;
9517 PyObject
* obj2
= 0 ;
9518 char * kwnames
[] = {
9519 (char *) "self",(char *) "file",(char *) "type", NULL
9522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9524 if (!SWIG_IsOK(res1
)) {
9525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9527 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9529 arg2
= wxString_in_helper(obj1
);
9530 if (arg2
== NULL
) SWIG_fail
;
9533 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
9534 if (!SWIG_IsOK(ecode3
)) {
9535 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
9537 arg3
= static_cast< long >(val3
);
9539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9540 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
9541 wxPyEndAllowThreads(__tstate
);
9542 if (PyErr_Occurred()) SWIG_fail
;
9544 resultobj
= SWIG_Py_Void();
9559 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9560 PyObject
*resultobj
= 0;
9561 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9563 wxIcon
*result
= 0 ;
9567 PyObject
* obj0
= 0 ;
9568 PyObject
* obj1
= 0 ;
9569 char * kwnames
[] = {
9570 (char *) "self",(char *) "size", NULL
9573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9575 if (!SWIG_IsOK(res1
)) {
9576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
9578 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9581 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9586 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
9587 result
= (wxIcon
*) &_result_ref
;
9589 wxPyEndAllowThreads(__tstate
);
9590 if (PyErr_Occurred()) SWIG_fail
;
9593 wxIcon
* resultptr
= new wxIcon(*result
);
9594 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
9602 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9604 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9605 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
9606 return SWIG_Py_Void();
9609 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9610 return SWIG_Python_InitShadowInstance(args
);
9613 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9614 PyObject
*resultobj
= 0;
9615 wxString
*arg1
= 0 ;
9617 int arg3
= (int) 0 ;
9618 int arg4
= (int) 0 ;
9619 wxCursor
*result
= 0 ;
9620 bool temp1
= false ;
9627 PyObject
* obj0
= 0 ;
9628 PyObject
* obj1
= 0 ;
9629 PyObject
* obj2
= 0 ;
9630 PyObject
* obj3
= 0 ;
9631 char * kwnames
[] = {
9632 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
9635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9637 arg1
= wxString_in_helper(obj0
);
9638 if (arg1
== NULL
) SWIG_fail
;
9641 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9642 if (!SWIG_IsOK(ecode2
)) {
9643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
9645 arg2
= static_cast< long >(val2
);
9647 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9648 if (!SWIG_IsOK(ecode3
)) {
9649 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
9651 arg3
= static_cast< int >(val3
);
9654 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9655 if (!SWIG_IsOK(ecode4
)) {
9656 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
9658 arg4
= static_cast< int >(val4
);
9661 if (!wxPyCheckForApp()) SWIG_fail
;
9662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9663 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9664 wxPyEndAllowThreads(__tstate
);
9665 if (PyErr_Occurred()) SWIG_fail
;
9667 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
9682 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9683 PyObject
*resultobj
= 0;
9684 wxCursor
*arg1
= (wxCursor
*) 0 ;
9687 PyObject
*swig_obj
[1] ;
9689 if (!args
) SWIG_fail
;
9691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
9692 if (!SWIG_IsOK(res1
)) {
9693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
9695 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9700 wxPyEndAllowThreads(__tstate
);
9701 if (PyErr_Occurred()) SWIG_fail
;
9703 resultobj
= SWIG_Py_Void();
9710 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9711 PyObject
*resultobj
= 0;
9713 wxCursor
*result
= 0 ;
9716 PyObject
* obj0
= 0 ;
9717 char * kwnames
[] = {
9721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
9722 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9723 if (!SWIG_IsOK(ecode1
)) {
9724 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
9726 arg1
= static_cast< int >(val1
);
9728 if (!wxPyCheckForApp()) SWIG_fail
;
9729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9730 result
= (wxCursor
*)new wxCursor(arg1
);
9731 wxPyEndAllowThreads(__tstate
);
9732 if (PyErr_Occurred()) SWIG_fail
;
9734 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
9741 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9742 PyObject
*resultobj
= 0;
9744 wxCursor
*result
= 0 ;
9747 PyObject
* obj0
= 0 ;
9748 char * kwnames
[] = {
9749 (char *) "image", NULL
9752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
9753 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
9754 if (!SWIG_IsOK(res1
)) {
9755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
9758 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
9760 arg1
= reinterpret_cast< wxImage
* >(argp1
);
9762 if (!wxPyCheckForApp()) SWIG_fail
;
9763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9764 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
9765 wxPyEndAllowThreads(__tstate
);
9766 if (PyErr_Occurred()) SWIG_fail
;
9768 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
9775 SWIGINTERN PyObject
*_wrap_Cursor_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9776 PyObject
*resultobj
= 0;
9777 wxCursor
*arg1
= (wxCursor
*) 0 ;
9781 PyObject
*swig_obj
[1] ;
9783 if (!args
) SWIG_fail
;
9785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
9786 if (!SWIG_IsOK(res1
)) {
9787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_Ok" "', expected argument " "1"" of type '" "wxCursor *""'");
9789 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9792 result
= (bool)(arg1
)->Ok();
9793 wxPyEndAllowThreads(__tstate
);
9794 if (PyErr_Occurred()) SWIG_fail
;
9797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9805 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9807 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9808 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
9809 return SWIG_Py_Void();
9812 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9813 return SWIG_Python_InitShadowInstance(args
);
9816 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9817 PyObject
*resultobj
= 0;
9818 int arg1
= (int) 0 ;
9819 int arg2
= (int) 0 ;
9820 int arg3
= (int) 0 ;
9821 int arg4
= (int) 0 ;
9822 wxRegion
*result
= 0 ;
9831 PyObject
* obj0
= 0 ;
9832 PyObject
* obj1
= 0 ;
9833 PyObject
* obj2
= 0 ;
9834 PyObject
* obj3
= 0 ;
9835 char * kwnames
[] = {
9836 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9841 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9842 if (!SWIG_IsOK(ecode1
)) {
9843 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
9845 arg1
= static_cast< int >(val1
);
9848 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9849 if (!SWIG_IsOK(ecode2
)) {
9850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
9852 arg2
= static_cast< int >(val2
);
9855 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9856 if (!SWIG_IsOK(ecode3
)) {
9857 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
9859 arg3
= static_cast< int >(val3
);
9862 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9863 if (!SWIG_IsOK(ecode4
)) {
9864 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
9866 arg4
= static_cast< int >(val4
);
9869 if (!wxPyCheckForApp()) SWIG_fail
;
9870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9871 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
9872 wxPyEndAllowThreads(__tstate
);
9873 if (PyErr_Occurred()) SWIG_fail
;
9875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
9882 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9883 PyObject
*resultobj
= 0;
9884 wxBitmap
*arg1
= 0 ;
9885 wxRegion
*result
= 0 ;
9888 PyObject
* obj0
= 0 ;
9889 char * kwnames
[] = {
9890 (char *) "bmp", NULL
9893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
9894 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9895 if (!SWIG_IsOK(res1
)) {
9896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9899 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9901 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9903 if (!wxPyCheckForApp()) SWIG_fail
;
9904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9905 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
9906 wxPyEndAllowThreads(__tstate
);
9907 if (PyErr_Occurred()) SWIG_fail
;
9909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
9916 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9917 PyObject
*resultobj
= 0;
9918 wxBitmap
*arg1
= 0 ;
9919 wxColour
*arg2
= 0 ;
9920 int arg3
= (int) 0 ;
9921 wxRegion
*result
= 0 ;
9927 PyObject
* obj0
= 0 ;
9928 PyObject
* obj1
= 0 ;
9929 PyObject
* obj2
= 0 ;
9930 char * kwnames
[] = {
9931 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
9934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9935 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9936 if (!SWIG_IsOK(res1
)) {
9937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9940 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
9942 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
9945 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
9948 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9949 if (!SWIG_IsOK(ecode3
)) {
9950 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
9952 arg3
= static_cast< int >(val3
);
9955 if (!wxPyCheckForApp()) SWIG_fail
;
9956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9957 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
9958 wxPyEndAllowThreads(__tstate
);
9959 if (PyErr_Occurred()) SWIG_fail
;
9961 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
9968 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9969 PyObject
*resultobj
= 0;
9971 wxPoint
*arg2
= (wxPoint
*) 0 ;
9972 int arg3
= (int) wxWINDING_RULE
;
9973 wxRegion
*result
= 0 ;
9976 PyObject
* obj0
= 0 ;
9977 PyObject
* obj1
= 0 ;
9978 char * kwnames
[] = {
9979 (char *) "points",(char *) "fillStyle", NULL
9982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9984 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
9985 if (arg2
== NULL
) SWIG_fail
;
9988 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
9989 if (!SWIG_IsOK(ecode3
)) {
9990 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
9992 arg3
= static_cast< int >(val3
);
9995 if (!wxPyCheckForApp()) SWIG_fail
;
9996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9997 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
9998 wxPyEndAllowThreads(__tstate
);
9999 if (PyErr_Occurred()) SWIG_fail
;
10001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10003 if (arg2
) delete [] arg2
;
10008 if (arg2
) delete [] arg2
;
10014 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10015 PyObject
*resultobj
= 0;
10016 wxRegion
*arg1
= (wxRegion
*) 0 ;
10019 PyObject
*swig_obj
[1] ;
10021 if (!args
) SWIG_fail
;
10022 swig_obj
[0] = args
;
10023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10024 if (!SWIG_IsOK(res1
)) {
10025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10027 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10032 wxPyEndAllowThreads(__tstate
);
10033 if (PyErr_Occurred()) SWIG_fail
;
10035 resultobj
= SWIG_Py_Void();
10042 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10043 PyObject
*resultobj
= 0;
10044 wxRegion
*arg1
= (wxRegion
*) 0 ;
10047 PyObject
*swig_obj
[1] ;
10049 if (!args
) SWIG_fail
;
10050 swig_obj
[0] = args
;
10051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10052 if (!SWIG_IsOK(res1
)) {
10053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10055 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10059 wxPyEndAllowThreads(__tstate
);
10060 if (PyErr_Occurred()) SWIG_fail
;
10062 resultobj
= SWIG_Py_Void();
10069 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10070 PyObject
*resultobj
= 0;
10071 wxRegion
*arg1
= (wxRegion
*) 0 ;
10081 PyObject
* obj0
= 0 ;
10082 PyObject
* obj1
= 0 ;
10083 PyObject
* obj2
= 0 ;
10084 char * kwnames
[] = {
10085 (char *) "self",(char *) "x",(char *) "y", NULL
10088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10090 if (!SWIG_IsOK(res1
)) {
10091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10093 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10095 if (!SWIG_IsOK(ecode2
)) {
10096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10098 arg2
= static_cast< int >(val2
);
10099 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10100 if (!SWIG_IsOK(ecode3
)) {
10101 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10103 arg3
= static_cast< int >(val3
);
10105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10106 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10107 wxPyEndAllowThreads(__tstate
);
10108 if (PyErr_Occurred()) SWIG_fail
;
10111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10119 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10120 PyObject
*resultobj
= 0;
10121 wxRegion
*arg1
= (wxRegion
*) 0 ;
10124 wxRegionContain result
;
10131 PyObject
* obj0
= 0 ;
10132 PyObject
* obj1
= 0 ;
10133 PyObject
* obj2
= 0 ;
10134 char * kwnames
[] = {
10135 (char *) "self",(char *) "x",(char *) "y", NULL
10138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10140 if (!SWIG_IsOK(res1
)) {
10141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10143 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10144 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10145 if (!SWIG_IsOK(ecode2
)) {
10146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10148 arg2
= static_cast< int >(val2
);
10149 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10150 if (!SWIG_IsOK(ecode3
)) {
10151 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10153 arg3
= static_cast< int >(val3
);
10155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10156 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10157 wxPyEndAllowThreads(__tstate
);
10158 if (PyErr_Occurred()) SWIG_fail
;
10160 resultobj
= SWIG_From_int(static_cast< int >(result
));
10167 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10168 PyObject
*resultobj
= 0;
10169 wxRegion
*arg1
= (wxRegion
*) 0 ;
10170 wxPoint
*arg2
= 0 ;
10171 wxRegionContain result
;
10175 PyObject
* obj0
= 0 ;
10176 PyObject
* obj1
= 0 ;
10177 char * kwnames
[] = {
10178 (char *) "self",(char *) "pt", NULL
10181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10183 if (!SWIG_IsOK(res1
)) {
10184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10186 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10189 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10193 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10194 wxPyEndAllowThreads(__tstate
);
10195 if (PyErr_Occurred()) SWIG_fail
;
10197 resultobj
= SWIG_From_int(static_cast< int >(result
));
10204 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10205 PyObject
*resultobj
= 0;
10206 wxRegion
*arg1
= (wxRegion
*) 0 ;
10208 wxRegionContain result
;
10212 PyObject
* obj0
= 0 ;
10213 PyObject
* obj1
= 0 ;
10214 char * kwnames
[] = {
10215 (char *) "self",(char *) "rect", NULL
10218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10220 if (!SWIG_IsOK(res1
)) {
10221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10223 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10226 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10230 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10231 wxPyEndAllowThreads(__tstate
);
10232 if (PyErr_Occurred()) SWIG_fail
;
10234 resultobj
= SWIG_From_int(static_cast< int >(result
));
10241 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10242 PyObject
*resultobj
= 0;
10243 wxRegion
*arg1
= (wxRegion
*) 0 ;
10248 wxRegionContain result
;
10259 PyObject
* obj0
= 0 ;
10260 PyObject
* obj1
= 0 ;
10261 PyObject
* obj2
= 0 ;
10262 PyObject
* obj3
= 0 ;
10263 PyObject
* obj4
= 0 ;
10264 char * kwnames
[] = {
10265 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10270 if (!SWIG_IsOK(res1
)) {
10271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10273 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10274 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10275 if (!SWIG_IsOK(ecode2
)) {
10276 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10278 arg2
= static_cast< int >(val2
);
10279 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10280 if (!SWIG_IsOK(ecode3
)) {
10281 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10283 arg3
= static_cast< int >(val3
);
10284 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10285 if (!SWIG_IsOK(ecode4
)) {
10286 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10288 arg4
= static_cast< int >(val4
);
10289 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10290 if (!SWIG_IsOK(ecode5
)) {
10291 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10293 arg5
= static_cast< int >(val5
);
10295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10296 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10297 wxPyEndAllowThreads(__tstate
);
10298 if (PyErr_Occurred()) SWIG_fail
;
10300 resultobj
= SWIG_From_int(static_cast< int >(result
));
10307 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10308 PyObject
*resultobj
= 0;
10309 wxRegion
*arg1
= (wxRegion
*) 0 ;
10313 PyObject
*swig_obj
[1] ;
10315 if (!args
) SWIG_fail
;
10316 swig_obj
[0] = args
;
10317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10318 if (!SWIG_IsOK(res1
)) {
10319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10321 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10324 result
= (arg1
)->GetBox();
10325 wxPyEndAllowThreads(__tstate
);
10326 if (PyErr_Occurred()) SWIG_fail
;
10328 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10335 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10336 PyObject
*resultobj
= 0;
10337 wxRegion
*arg1
= (wxRegion
*) 0 ;
10353 PyObject
* obj0
= 0 ;
10354 PyObject
* obj1
= 0 ;
10355 PyObject
* obj2
= 0 ;
10356 PyObject
* obj3
= 0 ;
10357 PyObject
* obj4
= 0 ;
10358 char * kwnames
[] = {
10359 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10364 if (!SWIG_IsOK(res1
)) {
10365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10367 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10369 if (!SWIG_IsOK(ecode2
)) {
10370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10372 arg2
= static_cast< int >(val2
);
10373 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10374 if (!SWIG_IsOK(ecode3
)) {
10375 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10377 arg3
= static_cast< int >(val3
);
10378 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10379 if (!SWIG_IsOK(ecode4
)) {
10380 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10382 arg4
= static_cast< int >(val4
);
10383 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10384 if (!SWIG_IsOK(ecode5
)) {
10385 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10387 arg5
= static_cast< int >(val5
);
10389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10390 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10391 wxPyEndAllowThreads(__tstate
);
10392 if (PyErr_Occurred()) SWIG_fail
;
10395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10403 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10404 PyObject
*resultobj
= 0;
10405 wxRegion
*arg1
= (wxRegion
*) 0 ;
10411 PyObject
* obj0
= 0 ;
10412 PyObject
* obj1
= 0 ;
10413 char * kwnames
[] = {
10414 (char *) "self",(char *) "rect", NULL
10417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10419 if (!SWIG_IsOK(res1
)) {
10420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10422 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10425 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10429 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10430 wxPyEndAllowThreads(__tstate
);
10431 if (PyErr_Occurred()) SWIG_fail
;
10434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10442 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10443 PyObject
*resultobj
= 0;
10444 wxRegion
*arg1
= (wxRegion
*) 0 ;
10445 wxRegion
*arg2
= 0 ;
10451 PyObject
* obj0
= 0 ;
10452 PyObject
* obj1
= 0 ;
10453 char * kwnames
[] = {
10454 (char *) "self",(char *) "region", NULL
10457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10459 if (!SWIG_IsOK(res1
)) {
10460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10462 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10463 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10464 if (!SWIG_IsOK(res2
)) {
10465 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10468 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10470 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10473 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10474 wxPyEndAllowThreads(__tstate
);
10475 if (PyErr_Occurred()) SWIG_fail
;
10478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10486 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10487 PyObject
*resultobj
= 0;
10488 wxRegion
*arg1
= (wxRegion
*) 0 ;
10492 PyObject
*swig_obj
[1] ;
10494 if (!args
) SWIG_fail
;
10495 swig_obj
[0] = args
;
10496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10497 if (!SWIG_IsOK(res1
)) {
10498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
10500 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10503 result
= (bool)(arg1
)->IsEmpty();
10504 wxPyEndAllowThreads(__tstate
);
10505 if (PyErr_Occurred()) SWIG_fail
;
10508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10516 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10517 PyObject
*resultobj
= 0;
10518 wxRegion
*arg1
= (wxRegion
*) 0 ;
10534 PyObject
* obj0
= 0 ;
10535 PyObject
* obj1
= 0 ;
10536 PyObject
* obj2
= 0 ;
10537 PyObject
* obj3
= 0 ;
10538 PyObject
* obj4
= 0 ;
10539 char * kwnames
[] = {
10540 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10545 if (!SWIG_IsOK(res1
)) {
10546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
10548 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10549 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10550 if (!SWIG_IsOK(ecode2
)) {
10551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
10553 arg2
= static_cast< int >(val2
);
10554 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10555 if (!SWIG_IsOK(ecode3
)) {
10556 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
10558 arg3
= static_cast< int >(val3
);
10559 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10560 if (!SWIG_IsOK(ecode4
)) {
10561 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
10563 arg4
= static_cast< int >(val4
);
10564 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10565 if (!SWIG_IsOK(ecode5
)) {
10566 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
10568 arg5
= static_cast< int >(val5
);
10570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10571 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
10572 wxPyEndAllowThreads(__tstate
);
10573 if (PyErr_Occurred()) SWIG_fail
;
10576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10584 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10585 PyObject
*resultobj
= 0;
10586 wxRegion
*arg1
= (wxRegion
*) 0 ;
10592 PyObject
* obj0
= 0 ;
10593 PyObject
* obj1
= 0 ;
10594 char * kwnames
[] = {
10595 (char *) "self",(char *) "rect", NULL
10598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10600 if (!SWIG_IsOK(res1
)) {
10601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10603 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10606 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10610 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
10611 wxPyEndAllowThreads(__tstate
);
10612 if (PyErr_Occurred()) SWIG_fail
;
10615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10623 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10624 PyObject
*resultobj
= 0;
10625 wxRegion
*arg1
= (wxRegion
*) 0 ;
10626 wxRegion
*arg2
= 0 ;
10632 PyObject
* obj0
= 0 ;
10633 PyObject
* obj1
= 0 ;
10634 char * kwnames
[] = {
10635 (char *) "self",(char *) "region", NULL
10638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10640 if (!SWIG_IsOK(res1
)) {
10641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10643 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10644 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10645 if (!SWIG_IsOK(res2
)) {
10646 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10649 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10651 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10654 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
10655 wxPyEndAllowThreads(__tstate
);
10656 if (PyErr_Occurred()) SWIG_fail
;
10659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10667 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10668 PyObject
*resultobj
= 0;
10669 wxRegion
*arg1
= (wxRegion
*) 0 ;
10685 PyObject
* obj0
= 0 ;
10686 PyObject
* obj1
= 0 ;
10687 PyObject
* obj2
= 0 ;
10688 PyObject
* obj3
= 0 ;
10689 PyObject
* obj4
= 0 ;
10690 char * kwnames
[] = {
10691 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10696 if (!SWIG_IsOK(res1
)) {
10697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
10699 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10700 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10701 if (!SWIG_IsOK(ecode2
)) {
10702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
10704 arg2
= static_cast< int >(val2
);
10705 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10706 if (!SWIG_IsOK(ecode3
)) {
10707 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
10709 arg3
= static_cast< int >(val3
);
10710 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10711 if (!SWIG_IsOK(ecode4
)) {
10712 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
10714 arg4
= static_cast< int >(val4
);
10715 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10716 if (!SWIG_IsOK(ecode5
)) {
10717 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
10719 arg5
= static_cast< int >(val5
);
10721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10722 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
10723 wxPyEndAllowThreads(__tstate
);
10724 if (PyErr_Occurred()) SWIG_fail
;
10727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10735 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10736 PyObject
*resultobj
= 0;
10737 wxRegion
*arg1
= (wxRegion
*) 0 ;
10743 PyObject
* obj0
= 0 ;
10744 PyObject
* obj1
= 0 ;
10745 char * kwnames
[] = {
10746 (char *) "self",(char *) "rect", NULL
10749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10751 if (!SWIG_IsOK(res1
)) {
10752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10754 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10757 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10761 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
10762 wxPyEndAllowThreads(__tstate
);
10763 if (PyErr_Occurred()) SWIG_fail
;
10766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10774 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10775 PyObject
*resultobj
= 0;
10776 wxRegion
*arg1
= (wxRegion
*) 0 ;
10777 wxRegion
*arg2
= 0 ;
10783 PyObject
* obj0
= 0 ;
10784 PyObject
* obj1
= 0 ;
10785 char * kwnames
[] = {
10786 (char *) "self",(char *) "region", NULL
10789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10791 if (!SWIG_IsOK(res1
)) {
10792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10794 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10795 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10796 if (!SWIG_IsOK(res2
)) {
10797 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10800 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10802 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10805 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
10806 wxPyEndAllowThreads(__tstate
);
10807 if (PyErr_Occurred()) SWIG_fail
;
10810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10818 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10819 PyObject
*resultobj
= 0;
10820 wxRegion
*arg1
= (wxRegion
*) 0 ;
10836 PyObject
* obj0
= 0 ;
10837 PyObject
* obj1
= 0 ;
10838 PyObject
* obj2
= 0 ;
10839 PyObject
* obj3
= 0 ;
10840 PyObject
* obj4
= 0 ;
10841 char * kwnames
[] = {
10842 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10847 if (!SWIG_IsOK(res1
)) {
10848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
10850 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10851 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10852 if (!SWIG_IsOK(ecode2
)) {
10853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
10855 arg2
= static_cast< int >(val2
);
10856 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10857 if (!SWIG_IsOK(ecode3
)) {
10858 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
10860 arg3
= static_cast< int >(val3
);
10861 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10862 if (!SWIG_IsOK(ecode4
)) {
10863 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
10865 arg4
= static_cast< int >(val4
);
10866 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10867 if (!SWIG_IsOK(ecode5
)) {
10868 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
10870 arg5
= static_cast< int >(val5
);
10872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10873 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
10874 wxPyEndAllowThreads(__tstate
);
10875 if (PyErr_Occurred()) SWIG_fail
;
10878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10886 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10887 PyObject
*resultobj
= 0;
10888 wxRegion
*arg1
= (wxRegion
*) 0 ;
10894 PyObject
* obj0
= 0 ;
10895 PyObject
* obj1
= 0 ;
10896 char * kwnames
[] = {
10897 (char *) "self",(char *) "rect", NULL
10900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10902 if (!SWIG_IsOK(res1
)) {
10903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10905 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10908 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10912 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
10913 wxPyEndAllowThreads(__tstate
);
10914 if (PyErr_Occurred()) SWIG_fail
;
10917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10925 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10926 PyObject
*resultobj
= 0;
10927 wxRegion
*arg1
= (wxRegion
*) 0 ;
10928 wxRegion
*arg2
= 0 ;
10934 PyObject
* obj0
= 0 ;
10935 PyObject
* obj1
= 0 ;
10936 char * kwnames
[] = {
10937 (char *) "self",(char *) "region", NULL
10940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10942 if (!SWIG_IsOK(res1
)) {
10943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10945 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10946 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10947 if (!SWIG_IsOK(res2
)) {
10948 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10951 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10953 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10956 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
10957 wxPyEndAllowThreads(__tstate
);
10958 if (PyErr_Occurred()) SWIG_fail
;
10961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10969 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10970 PyObject
*resultobj
= 0;
10971 wxRegion
*arg1
= (wxRegion
*) 0 ;
10972 SwigValueWrapper
<wxBitmap
> result
;
10975 PyObject
*swig_obj
[1] ;
10977 if (!args
) SWIG_fail
;
10978 swig_obj
[0] = args
;
10979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10980 if (!SWIG_IsOK(res1
)) {
10981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
10983 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10986 result
= (arg1
)->ConvertToBitmap();
10987 wxPyEndAllowThreads(__tstate
);
10988 if (PyErr_Occurred()) SWIG_fail
;
10990 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
10997 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10998 PyObject
*resultobj
= 0;
10999 wxRegion
*arg1
= (wxRegion
*) 0 ;
11000 wxBitmap
*arg2
= 0 ;
11006 PyObject
* obj0
= 0 ;
11007 PyObject
* obj1
= 0 ;
11008 char * kwnames
[] = {
11009 (char *) "self",(char *) "bmp", NULL
11012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11014 if (!SWIG_IsOK(res1
)) {
11015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11017 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11018 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11019 if (!SWIG_IsOK(res2
)) {
11020 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11023 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11025 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11028 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11029 wxPyEndAllowThreads(__tstate
);
11030 if (PyErr_Occurred()) SWIG_fail
;
11033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11041 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11042 PyObject
*resultobj
= 0;
11043 wxRegion
*arg1
= (wxRegion
*) 0 ;
11044 wxBitmap
*arg2
= 0 ;
11045 wxColour
*arg3
= 0 ;
11046 int arg4
= (int) 0 ;
11055 PyObject
* obj0
= 0 ;
11056 PyObject
* obj1
= 0 ;
11057 PyObject
* obj2
= 0 ;
11058 PyObject
* obj3
= 0 ;
11059 char * kwnames
[] = {
11060 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11065 if (!SWIG_IsOK(res1
)) {
11066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11068 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11069 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11070 if (!SWIG_IsOK(res2
)) {
11071 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11074 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11076 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11079 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11082 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11083 if (!SWIG_IsOK(ecode4
)) {
11084 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11086 arg4
= static_cast< int >(val4
);
11089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11090 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11091 wxPyEndAllowThreads(__tstate
);
11092 if (PyErr_Occurred()) SWIG_fail
;
11095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11103 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11105 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11106 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11107 return SWIG_Py_Void();
11110 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11111 return SWIG_Python_InitShadowInstance(args
);
11114 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11115 PyObject
*resultobj
= 0;
11116 wxRegion
*arg1
= 0 ;
11117 wxRegionIterator
*result
= 0 ;
11120 PyObject
* obj0
= 0 ;
11121 char * kwnames
[] = {
11122 (char *) "region", NULL
11125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11126 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11127 if (!SWIG_IsOK(res1
)) {
11128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11131 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11133 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11135 if (!wxPyCheckForApp()) SWIG_fail
;
11136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11137 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11138 wxPyEndAllowThreads(__tstate
);
11139 if (PyErr_Occurred()) SWIG_fail
;
11141 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11148 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11149 PyObject
*resultobj
= 0;
11150 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11153 PyObject
*swig_obj
[1] ;
11155 if (!args
) SWIG_fail
;
11156 swig_obj
[0] = args
;
11157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11158 if (!SWIG_IsOK(res1
)) {
11159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11161 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11166 wxPyEndAllowThreads(__tstate
);
11167 if (PyErr_Occurred()) SWIG_fail
;
11169 resultobj
= SWIG_Py_Void();
11176 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11177 PyObject
*resultobj
= 0;
11178 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11182 PyObject
*swig_obj
[1] ;
11184 if (!args
) SWIG_fail
;
11185 swig_obj
[0] = args
;
11186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11187 if (!SWIG_IsOK(res1
)) {
11188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11190 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11193 result
= (int)(arg1
)->GetX();
11194 wxPyEndAllowThreads(__tstate
);
11195 if (PyErr_Occurred()) SWIG_fail
;
11197 resultobj
= SWIG_From_int(static_cast< int >(result
));
11204 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11205 PyObject
*resultobj
= 0;
11206 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11210 PyObject
*swig_obj
[1] ;
11212 if (!args
) SWIG_fail
;
11213 swig_obj
[0] = args
;
11214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11215 if (!SWIG_IsOK(res1
)) {
11216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11218 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11221 result
= (int)(arg1
)->GetY();
11222 wxPyEndAllowThreads(__tstate
);
11223 if (PyErr_Occurred()) SWIG_fail
;
11225 resultobj
= SWIG_From_int(static_cast< int >(result
));
11232 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11233 PyObject
*resultobj
= 0;
11234 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11238 PyObject
*swig_obj
[1] ;
11240 if (!args
) SWIG_fail
;
11241 swig_obj
[0] = args
;
11242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11243 if (!SWIG_IsOK(res1
)) {
11244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11246 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11249 result
= (int)(arg1
)->GetW();
11250 wxPyEndAllowThreads(__tstate
);
11251 if (PyErr_Occurred()) SWIG_fail
;
11253 resultobj
= SWIG_From_int(static_cast< int >(result
));
11260 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11261 PyObject
*resultobj
= 0;
11262 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11266 PyObject
*swig_obj
[1] ;
11268 if (!args
) SWIG_fail
;
11269 swig_obj
[0] = args
;
11270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11271 if (!SWIG_IsOK(res1
)) {
11272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11274 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11277 result
= (int)(arg1
)->GetWidth();
11278 wxPyEndAllowThreads(__tstate
);
11279 if (PyErr_Occurred()) SWIG_fail
;
11281 resultobj
= SWIG_From_int(static_cast< int >(result
));
11288 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11289 PyObject
*resultobj
= 0;
11290 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11294 PyObject
*swig_obj
[1] ;
11296 if (!args
) SWIG_fail
;
11297 swig_obj
[0] = args
;
11298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11299 if (!SWIG_IsOK(res1
)) {
11300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11302 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11305 result
= (int)(arg1
)->GetH();
11306 wxPyEndAllowThreads(__tstate
);
11307 if (PyErr_Occurred()) SWIG_fail
;
11309 resultobj
= SWIG_From_int(static_cast< int >(result
));
11316 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11317 PyObject
*resultobj
= 0;
11318 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11322 PyObject
*swig_obj
[1] ;
11324 if (!args
) SWIG_fail
;
11325 swig_obj
[0] = args
;
11326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11327 if (!SWIG_IsOK(res1
)) {
11328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11330 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11333 result
= (int)(arg1
)->GetHeight();
11334 wxPyEndAllowThreads(__tstate
);
11335 if (PyErr_Occurred()) SWIG_fail
;
11337 resultobj
= SWIG_From_int(static_cast< int >(result
));
11344 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11345 PyObject
*resultobj
= 0;
11346 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11350 PyObject
*swig_obj
[1] ;
11352 if (!args
) SWIG_fail
;
11353 swig_obj
[0] = args
;
11354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11355 if (!SWIG_IsOK(res1
)) {
11356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11358 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11361 result
= (arg1
)->GetRect();
11362 wxPyEndAllowThreads(__tstate
);
11363 if (PyErr_Occurred()) SWIG_fail
;
11365 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11372 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11373 PyObject
*resultobj
= 0;
11374 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11378 PyObject
*swig_obj
[1] ;
11380 if (!args
) SWIG_fail
;
11381 swig_obj
[0] = args
;
11382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11383 if (!SWIG_IsOK(res1
)) {
11384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11386 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11389 result
= (bool)(arg1
)->HaveRects();
11390 wxPyEndAllowThreads(__tstate
);
11391 if (PyErr_Occurred()) SWIG_fail
;
11394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11402 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11403 PyObject
*resultobj
= 0;
11404 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11407 PyObject
*swig_obj
[1] ;
11409 if (!args
) SWIG_fail
;
11410 swig_obj
[0] = args
;
11411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11412 if (!SWIG_IsOK(res1
)) {
11413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11415 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11419 wxPyEndAllowThreads(__tstate
);
11420 if (PyErr_Occurred()) SWIG_fail
;
11422 resultobj
= SWIG_Py_Void();
11429 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11430 PyObject
*resultobj
= 0;
11431 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11434 PyObject
*swig_obj
[1] ;
11436 if (!args
) SWIG_fail
;
11437 swig_obj
[0] = args
;
11438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11439 if (!SWIG_IsOK(res1
)) {
11440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11442 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11445 wxRegionIterator_Next(arg1
);
11446 wxPyEndAllowThreads(__tstate
);
11447 if (PyErr_Occurred()) SWIG_fail
;
11449 resultobj
= SWIG_Py_Void();
11456 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11457 PyObject
*resultobj
= 0;
11458 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11462 PyObject
*swig_obj
[1] ;
11464 if (!args
) SWIG_fail
;
11465 swig_obj
[0] = args
;
11466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11467 if (!SWIG_IsOK(res1
)) {
11468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11470 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11473 result
= (bool)wxRegionIterator___nonzero__(arg1
);
11474 wxPyEndAllowThreads(__tstate
);
11475 if (PyErr_Occurred()) SWIG_fail
;
11478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11486 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11488 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11489 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
11490 return SWIG_Py_Void();
11493 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11494 return SWIG_Python_InitShadowInstance(args
);
11497 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11498 PyObject
*resultobj
= 0;
11499 wxNativeFontInfo
*result
= 0 ;
11501 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
11503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11504 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
11505 wxPyEndAllowThreads(__tstate
);
11506 if (PyErr_Occurred()) SWIG_fail
;
11508 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
11515 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11516 PyObject
*resultobj
= 0;
11517 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11520 PyObject
*swig_obj
[1] ;
11522 if (!args
) SWIG_fail
;
11523 swig_obj
[0] = args
;
11524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
11525 if (!SWIG_IsOK(res1
)) {
11526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11528 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11533 wxPyEndAllowThreads(__tstate
);
11534 if (PyErr_Occurred()) SWIG_fail
;
11536 resultobj
= SWIG_Py_Void();
11543 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11544 PyObject
*resultobj
= 0;
11545 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11548 PyObject
*swig_obj
[1] ;
11550 if (!args
) SWIG_fail
;
11551 swig_obj
[0] = args
;
11552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11553 if (!SWIG_IsOK(res1
)) {
11554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11556 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11560 wxPyEndAllowThreads(__tstate
);
11561 if (PyErr_Occurred()) SWIG_fail
;
11563 resultobj
= SWIG_Py_Void();
11570 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11571 PyObject
*resultobj
= 0;
11572 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11578 PyObject
* obj0
= 0 ;
11579 PyObject
* obj1
= 0 ;
11580 char * kwnames
[] = {
11581 (char *) "self",(char *) "font", NULL
11584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11586 if (!SWIG_IsOK(res1
)) {
11587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11589 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11590 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
11591 if (!SWIG_IsOK(res2
)) {
11592 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11595 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11597 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11600 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
11601 wxPyEndAllowThreads(__tstate
);
11602 if (PyErr_Occurred()) SWIG_fail
;
11604 resultobj
= SWIG_Py_Void();
11611 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11612 PyObject
*resultobj
= 0;
11613 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11617 PyObject
*swig_obj
[1] ;
11619 if (!args
) SWIG_fail
;
11620 swig_obj
[0] = args
;
11621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11622 if (!SWIG_IsOK(res1
)) {
11623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11625 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11628 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
11629 wxPyEndAllowThreads(__tstate
);
11630 if (PyErr_Occurred()) SWIG_fail
;
11632 resultobj
= SWIG_From_int(static_cast< int >(result
));
11639 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11640 PyObject
*resultobj
= 0;
11641 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11642 wxFontStyle result
;
11645 PyObject
*swig_obj
[1] ;
11647 if (!args
) SWIG_fail
;
11648 swig_obj
[0] = args
;
11649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11650 if (!SWIG_IsOK(res1
)) {
11651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11653 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11656 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
11657 wxPyEndAllowThreads(__tstate
);
11658 if (PyErr_Occurred()) SWIG_fail
;
11660 resultobj
= SWIG_From_int(static_cast< int >(result
));
11667 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11668 PyObject
*resultobj
= 0;
11669 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11670 wxFontWeight result
;
11673 PyObject
*swig_obj
[1] ;
11675 if (!args
) SWIG_fail
;
11676 swig_obj
[0] = args
;
11677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11678 if (!SWIG_IsOK(res1
)) {
11679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11681 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11684 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
11685 wxPyEndAllowThreads(__tstate
);
11686 if (PyErr_Occurred()) SWIG_fail
;
11688 resultobj
= SWIG_From_int(static_cast< int >(result
));
11695 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11696 PyObject
*resultobj
= 0;
11697 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11701 PyObject
*swig_obj
[1] ;
11703 if (!args
) SWIG_fail
;
11704 swig_obj
[0] = args
;
11705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11706 if (!SWIG_IsOK(res1
)) {
11707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11709 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11712 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
11713 wxPyEndAllowThreads(__tstate
);
11714 if (PyErr_Occurred()) SWIG_fail
;
11717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11725 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11726 PyObject
*resultobj
= 0;
11727 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11731 PyObject
*swig_obj
[1] ;
11733 if (!args
) SWIG_fail
;
11734 swig_obj
[0] = args
;
11735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11736 if (!SWIG_IsOK(res1
)) {
11737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11739 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11742 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
11743 wxPyEndAllowThreads(__tstate
);
11744 if (PyErr_Occurred()) SWIG_fail
;
11748 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11750 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11759 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11760 PyObject
*resultobj
= 0;
11761 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11762 wxFontFamily result
;
11765 PyObject
*swig_obj
[1] ;
11767 if (!args
) SWIG_fail
;
11768 swig_obj
[0] = args
;
11769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11770 if (!SWIG_IsOK(res1
)) {
11771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11773 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11776 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
11777 wxPyEndAllowThreads(__tstate
);
11778 if (PyErr_Occurred()) SWIG_fail
;
11780 resultobj
= SWIG_From_int(static_cast< int >(result
));
11787 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11788 PyObject
*resultobj
= 0;
11789 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11790 wxFontEncoding result
;
11793 PyObject
*swig_obj
[1] ;
11795 if (!args
) SWIG_fail
;
11796 swig_obj
[0] = args
;
11797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11798 if (!SWIG_IsOK(res1
)) {
11799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11801 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11804 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
11805 wxPyEndAllowThreads(__tstate
);
11806 if (PyErr_Occurred()) SWIG_fail
;
11808 resultobj
= SWIG_From_int(static_cast< int >(result
));
11815 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11816 PyObject
*resultobj
= 0;
11817 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11823 PyObject
* obj0
= 0 ;
11824 PyObject
* obj1
= 0 ;
11825 char * kwnames
[] = {
11826 (char *) "self",(char *) "pointsize", NULL
11829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11831 if (!SWIG_IsOK(res1
)) {
11832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11834 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11835 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11836 if (!SWIG_IsOK(ecode2
)) {
11837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
11839 arg2
= static_cast< int >(val2
);
11841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11842 (arg1
)->SetPointSize(arg2
);
11843 wxPyEndAllowThreads(__tstate
);
11844 if (PyErr_Occurred()) SWIG_fail
;
11846 resultobj
= SWIG_Py_Void();
11853 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11854 PyObject
*resultobj
= 0;
11855 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11861 PyObject
* obj0
= 0 ;
11862 PyObject
* obj1
= 0 ;
11863 char * kwnames
[] = {
11864 (char *) "self",(char *) "style", NULL
11867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11869 if (!SWIG_IsOK(res1
)) {
11870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11872 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11874 if (!SWIG_IsOK(ecode2
)) {
11875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
11877 arg2
= static_cast< wxFontStyle
>(val2
);
11879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11880 (arg1
)->SetStyle(arg2
);
11881 wxPyEndAllowThreads(__tstate
);
11882 if (PyErr_Occurred()) SWIG_fail
;
11884 resultobj
= SWIG_Py_Void();
11891 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11892 PyObject
*resultobj
= 0;
11893 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11894 wxFontWeight arg2
;
11899 PyObject
* obj0
= 0 ;
11900 PyObject
* obj1
= 0 ;
11901 char * kwnames
[] = {
11902 (char *) "self",(char *) "weight", NULL
11905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11907 if (!SWIG_IsOK(res1
)) {
11908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11910 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11911 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11912 if (!SWIG_IsOK(ecode2
)) {
11913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
11915 arg2
= static_cast< wxFontWeight
>(val2
);
11917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11918 (arg1
)->SetWeight(arg2
);
11919 wxPyEndAllowThreads(__tstate
);
11920 if (PyErr_Occurred()) SWIG_fail
;
11922 resultobj
= SWIG_Py_Void();
11929 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11930 PyObject
*resultobj
= 0;
11931 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11937 PyObject
* obj0
= 0 ;
11938 PyObject
* obj1
= 0 ;
11939 char * kwnames
[] = {
11940 (char *) "self",(char *) "underlined", NULL
11943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11945 if (!SWIG_IsOK(res1
)) {
11946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11948 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11949 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
11950 if (!SWIG_IsOK(ecode2
)) {
11951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
11953 arg2
= static_cast< bool >(val2
);
11955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11956 (arg1
)->SetUnderlined(arg2
);
11957 wxPyEndAllowThreads(__tstate
);
11958 if (PyErr_Occurred()) SWIG_fail
;
11960 resultobj
= SWIG_Py_Void();
11967 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11968 PyObject
*resultobj
= 0;
11969 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11974 PyObject
* obj0
= 0 ;
11975 PyObject
* obj1
= 0 ;
11976 char * kwnames
[] = {
11977 (char *) "self",(char *) "facename", NULL
11980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11982 if (!SWIG_IsOK(res1
)) {
11983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11985 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11987 wxString
* sptr
= wxString_in_helper(obj1
);
11988 if (sptr
== NULL
) SWIG_fail
;
11993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11994 result
= (bool)(arg1
)->SetFaceName(arg2
);
11995 wxPyEndAllowThreads(__tstate
);
11996 if (PyErr_Occurred()) SWIG_fail
;
11999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12007 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12008 PyObject
*resultobj
= 0;
12009 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12010 wxFontFamily arg2
;
12015 PyObject
* obj0
= 0 ;
12016 PyObject
* obj1
= 0 ;
12017 char * kwnames
[] = {
12018 (char *) "self",(char *) "family", NULL
12021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12023 if (!SWIG_IsOK(res1
)) {
12024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12026 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12027 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12028 if (!SWIG_IsOK(ecode2
)) {
12029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12031 arg2
= static_cast< wxFontFamily
>(val2
);
12033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12034 (arg1
)->SetFamily(arg2
);
12035 wxPyEndAllowThreads(__tstate
);
12036 if (PyErr_Occurred()) SWIG_fail
;
12038 resultobj
= SWIG_Py_Void();
12045 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12046 PyObject
*resultobj
= 0;
12047 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12048 wxFontEncoding arg2
;
12053 PyObject
* obj0
= 0 ;
12054 PyObject
* obj1
= 0 ;
12055 char * kwnames
[] = {
12056 (char *) "self",(char *) "encoding", NULL
12059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12061 if (!SWIG_IsOK(res1
)) {
12062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12064 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12065 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12066 if (!SWIG_IsOK(ecode2
)) {
12067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12069 arg2
= static_cast< wxFontEncoding
>(val2
);
12071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12072 (arg1
)->SetEncoding(arg2
);
12073 wxPyEndAllowThreads(__tstate
);
12074 if (PyErr_Occurred()) SWIG_fail
;
12076 resultobj
= SWIG_Py_Void();
12083 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12084 PyObject
*resultobj
= 0;
12085 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12086 wxString
*arg2
= 0 ;
12090 bool temp2
= false ;
12091 PyObject
* obj0
= 0 ;
12092 PyObject
* obj1
= 0 ;
12093 char * kwnames
[] = {
12094 (char *) "self",(char *) "s", NULL
12097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12099 if (!SWIG_IsOK(res1
)) {
12100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12102 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12104 arg2
= wxString_in_helper(obj1
);
12105 if (arg2
== NULL
) SWIG_fail
;
12109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12110 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12111 wxPyEndAllowThreads(__tstate
);
12112 if (PyErr_Occurred()) SWIG_fail
;
12115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12131 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12132 PyObject
*resultobj
= 0;
12133 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12137 PyObject
*swig_obj
[1] ;
12139 if (!args
) SWIG_fail
;
12140 swig_obj
[0] = args
;
12141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12142 if (!SWIG_IsOK(res1
)) {
12143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12145 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12148 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12149 wxPyEndAllowThreads(__tstate
);
12150 if (PyErr_Occurred()) SWIG_fail
;
12154 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12156 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12165 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12166 PyObject
*resultobj
= 0;
12167 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12171 PyObject
*swig_obj
[1] ;
12173 if (!args
) SWIG_fail
;
12174 swig_obj
[0] = args
;
12175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12176 if (!SWIG_IsOK(res1
)) {
12177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12179 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12182 result
= wxNativeFontInfo___str__(arg1
);
12183 wxPyEndAllowThreads(__tstate
);
12184 if (PyErr_Occurred()) SWIG_fail
;
12188 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12190 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12199 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12200 PyObject
*resultobj
= 0;
12201 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12202 wxString
*arg2
= 0 ;
12206 bool temp2
= false ;
12207 PyObject
* obj0
= 0 ;
12208 PyObject
* obj1
= 0 ;
12209 char * kwnames
[] = {
12210 (char *) "self",(char *) "s", NULL
12213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12215 if (!SWIG_IsOK(res1
)) {
12216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12218 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12220 arg2
= wxString_in_helper(obj1
);
12221 if (arg2
== NULL
) SWIG_fail
;
12225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12226 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12227 wxPyEndAllowThreads(__tstate
);
12228 if (PyErr_Occurred()) SWIG_fail
;
12231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12247 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12248 PyObject
*resultobj
= 0;
12249 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12253 PyObject
*swig_obj
[1] ;
12255 if (!args
) SWIG_fail
;
12256 swig_obj
[0] = args
;
12257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12258 if (!SWIG_IsOK(res1
)) {
12259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12261 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12264 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12265 wxPyEndAllowThreads(__tstate
);
12266 if (PyErr_Occurred()) SWIG_fail
;
12270 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12272 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12281 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12283 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12284 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12285 return SWIG_Py_Void();
12288 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12289 return SWIG_Python_InitShadowInstance(args
);
12292 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12293 PyObject
*resultobj
= 0;
12294 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12295 wxString
*arg2
= (wxString
*) 0 ;
12298 bool temp2
= false ;
12299 PyObject
*swig_obj
[2] ;
12301 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12303 if (!SWIG_IsOK(res1
)) {
12304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12306 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12308 arg2
= wxString_in_helper(swig_obj
[1]);
12309 if (arg2
== NULL
) SWIG_fail
;
12312 if (arg1
) (arg1
)->facename
= *arg2
;
12314 resultobj
= SWIG_Py_Void();
12329 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12330 PyObject
*resultobj
= 0;
12331 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12332 wxString
*result
= 0 ;
12335 PyObject
*swig_obj
[1] ;
12337 if (!args
) SWIG_fail
;
12338 swig_obj
[0] = args
;
12339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12340 if (!SWIG_IsOK(res1
)) {
12341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12343 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12344 result
= (wxString
*)& ((arg1
)->facename
);
12347 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12349 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12358 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12359 PyObject
*resultobj
= 0;
12360 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12361 wxFontEncoding arg2
;
12366 PyObject
*swig_obj
[2] ;
12368 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12370 if (!SWIG_IsOK(res1
)) {
12371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12373 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12374 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12375 if (!SWIG_IsOK(ecode2
)) {
12376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12378 arg2
= static_cast< wxFontEncoding
>(val2
);
12379 if (arg1
) (arg1
)->encoding
= arg2
;
12381 resultobj
= SWIG_Py_Void();
12388 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12389 PyObject
*resultobj
= 0;
12390 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12391 wxFontEncoding result
;
12394 PyObject
*swig_obj
[1] ;
12396 if (!args
) SWIG_fail
;
12397 swig_obj
[0] = args
;
12398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12399 if (!SWIG_IsOK(res1
)) {
12400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12402 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12403 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12404 resultobj
= SWIG_From_int(static_cast< int >(result
));
12411 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12412 PyObject
*resultobj
= 0;
12413 wxNativeEncodingInfo
*result
= 0 ;
12415 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12418 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12419 wxPyEndAllowThreads(__tstate
);
12420 if (PyErr_Occurred()) SWIG_fail
;
12422 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12429 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12430 PyObject
*resultobj
= 0;
12431 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12434 PyObject
*swig_obj
[1] ;
12436 if (!args
) SWIG_fail
;
12437 swig_obj
[0] = args
;
12438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12439 if (!SWIG_IsOK(res1
)) {
12440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12442 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12447 wxPyEndAllowThreads(__tstate
);
12448 if (PyErr_Occurred()) SWIG_fail
;
12450 resultobj
= SWIG_Py_Void();
12457 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12458 PyObject
*resultobj
= 0;
12459 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12460 wxString
*arg2
= 0 ;
12464 bool temp2
= false ;
12465 PyObject
* obj0
= 0 ;
12466 PyObject
* obj1
= 0 ;
12467 char * kwnames
[] = {
12468 (char *) "self",(char *) "s", NULL
12471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12473 if (!SWIG_IsOK(res1
)) {
12474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12476 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12478 arg2
= wxString_in_helper(obj1
);
12479 if (arg2
== NULL
) SWIG_fail
;
12483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12484 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12485 wxPyEndAllowThreads(__tstate
);
12486 if (PyErr_Occurred()) SWIG_fail
;
12489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12505 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12506 PyObject
*resultobj
= 0;
12507 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12511 PyObject
*swig_obj
[1] ;
12513 if (!args
) SWIG_fail
;
12514 swig_obj
[0] = args
;
12515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12516 if (!SWIG_IsOK(res1
)) {
12517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
12519 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12522 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
12523 wxPyEndAllowThreads(__tstate
);
12524 if (PyErr_Occurred()) SWIG_fail
;
12528 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12530 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12539 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12541 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12542 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
12543 return SWIG_Py_Void();
12546 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12547 return SWIG_Python_InitShadowInstance(args
);
12550 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12551 PyObject
*resultobj
= 0;
12552 wxFontEncoding arg1
;
12553 wxNativeEncodingInfo
*result
= 0 ;
12556 PyObject
* obj0
= 0 ;
12557 char * kwnames
[] = {
12558 (char *) "encoding", NULL
12561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12562 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12563 if (!SWIG_IsOK(ecode1
)) {
12564 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12566 arg1
= static_cast< wxFontEncoding
>(val1
);
12568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12569 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
12570 wxPyEndAllowThreads(__tstate
);
12571 if (PyErr_Occurred()) SWIG_fail
;
12573 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12580 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12581 PyObject
*resultobj
= 0;
12582 wxNativeEncodingInfo
*arg1
= 0 ;
12586 PyObject
* obj0
= 0 ;
12587 char * kwnames
[] = {
12588 (char *) "info", NULL
12591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12592 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
12593 if (!SWIG_IsOK(res1
)) {
12594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12597 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12599 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12602 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
12603 wxPyEndAllowThreads(__tstate
);
12604 if (PyErr_Occurred()) SWIG_fail
;
12607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12615 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12616 PyObject
*resultobj
= 0;
12617 wxFontMapper
*result
= 0 ;
12619 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
12621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12622 result
= (wxFontMapper
*)new wxFontMapper();
12623 wxPyEndAllowThreads(__tstate
);
12624 if (PyErr_Occurred()) SWIG_fail
;
12626 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
12633 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12634 PyObject
*resultobj
= 0;
12635 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12638 PyObject
*swig_obj
[1] ;
12640 if (!args
) SWIG_fail
;
12641 swig_obj
[0] = args
;
12642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
12643 if (!SWIG_IsOK(res1
)) {
12644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12646 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12651 wxPyEndAllowThreads(__tstate
);
12652 if (PyErr_Occurred()) SWIG_fail
;
12654 resultobj
= SWIG_Py_Void();
12661 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12662 PyObject
*resultobj
= 0;
12663 wxFontMapper
*result
= 0 ;
12665 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
12667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12668 result
= (wxFontMapper
*)wxFontMapper::Get();
12669 wxPyEndAllowThreads(__tstate
);
12670 if (PyErr_Occurred()) SWIG_fail
;
12672 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12679 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12680 PyObject
*resultobj
= 0;
12681 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12682 wxFontMapper
*result
= 0 ;
12685 PyObject
* obj0
= 0 ;
12686 char * kwnames
[] = {
12687 (char *) "mapper", NULL
12690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
12691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12692 if (!SWIG_IsOK(res1
)) {
12693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12695 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12698 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
12699 wxPyEndAllowThreads(__tstate
);
12700 if (PyErr_Occurred()) SWIG_fail
;
12702 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12709 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12710 PyObject
*resultobj
= 0;
12711 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12712 wxString
*arg2
= 0 ;
12713 bool arg3
= (bool) true ;
12714 wxFontEncoding result
;
12717 bool temp2
= false ;
12720 PyObject
* obj0
= 0 ;
12721 PyObject
* obj1
= 0 ;
12722 PyObject
* obj2
= 0 ;
12723 char * kwnames
[] = {
12724 (char *) "self",(char *) "charset",(char *) "interactive", NULL
12727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12729 if (!SWIG_IsOK(res1
)) {
12730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12732 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12734 arg2
= wxString_in_helper(obj1
);
12735 if (arg2
== NULL
) SWIG_fail
;
12739 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12740 if (!SWIG_IsOK(ecode3
)) {
12741 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
12743 arg3
= static_cast< bool >(val3
);
12746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12747 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
12748 wxPyEndAllowThreads(__tstate
);
12749 if (PyErr_Occurred()) SWIG_fail
;
12751 resultobj
= SWIG_From_int(static_cast< int >(result
));
12766 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12767 PyObject
*resultobj
= 0;
12770 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
12772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12773 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
12774 wxPyEndAllowThreads(__tstate
);
12775 if (PyErr_Occurred()) SWIG_fail
;
12777 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
12784 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12785 PyObject
*resultobj
= 0;
12787 wxFontEncoding result
;
12790 PyObject
* obj0
= 0 ;
12791 char * kwnames
[] = {
12795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
12796 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
12797 if (!SWIG_IsOK(ecode1
)) {
12798 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
12800 arg1
= static_cast< size_t >(val1
);
12802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12803 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
12804 wxPyEndAllowThreads(__tstate
);
12805 if (PyErr_Occurred()) SWIG_fail
;
12807 resultobj
= SWIG_From_int(static_cast< int >(result
));
12814 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12815 PyObject
*resultobj
= 0;
12816 wxFontEncoding arg1
;
12820 PyObject
* obj0
= 0 ;
12821 char * kwnames
[] = {
12822 (char *) "encoding", NULL
12825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
12826 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12827 if (!SWIG_IsOK(ecode1
)) {
12828 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12830 arg1
= static_cast< wxFontEncoding
>(val1
);
12832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12833 result
= wxFontMapper::GetEncodingName(arg1
);
12834 wxPyEndAllowThreads(__tstate
);
12835 if (PyErr_Occurred()) SWIG_fail
;
12839 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12841 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12850 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12851 PyObject
*resultobj
= 0;
12852 wxFontEncoding arg1
;
12856 PyObject
* obj0
= 0 ;
12857 char * kwnames
[] = {
12858 (char *) "encoding", NULL
12861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
12862 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12863 if (!SWIG_IsOK(ecode1
)) {
12864 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12866 arg1
= static_cast< wxFontEncoding
>(val1
);
12868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12869 result
= wxFontMapper::GetEncodingDescription(arg1
);
12870 wxPyEndAllowThreads(__tstate
);
12871 if (PyErr_Occurred()) SWIG_fail
;
12875 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12877 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12886 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12887 PyObject
*resultobj
= 0;
12888 wxString
*arg1
= 0 ;
12889 wxFontEncoding result
;
12890 bool temp1
= false ;
12891 PyObject
* obj0
= 0 ;
12892 char * kwnames
[] = {
12893 (char *) "name", NULL
12896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
12898 arg1
= wxString_in_helper(obj0
);
12899 if (arg1
== NULL
) SWIG_fail
;
12903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12904 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
12905 wxPyEndAllowThreads(__tstate
);
12906 if (PyErr_Occurred()) SWIG_fail
;
12908 resultobj
= SWIG_From_int(static_cast< int >(result
));
12923 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12924 PyObject
*resultobj
= 0;
12925 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12926 wxString
*arg2
= 0 ;
12929 bool temp2
= false ;
12930 PyObject
* obj0
= 0 ;
12931 PyObject
* obj1
= 0 ;
12932 char * kwnames
[] = {
12933 (char *) "self",(char *) "prefix", NULL
12936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12938 if (!SWIG_IsOK(res1
)) {
12939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12941 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12943 arg2
= wxString_in_helper(obj1
);
12944 if (arg2
== NULL
) SWIG_fail
;
12948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12949 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
12950 wxPyEndAllowThreads(__tstate
);
12951 if (PyErr_Occurred()) SWIG_fail
;
12953 resultobj
= SWIG_Py_Void();
12968 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12969 PyObject
*resultobj
= 0;
12972 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
12974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12975 result
= wxFontMapper::GetDefaultConfigPath();
12976 wxPyEndAllowThreads(__tstate
);
12977 if (PyErr_Occurred()) SWIG_fail
;
12981 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12983 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12992 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12993 PyObject
*resultobj
= 0;
12994 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12995 wxFontEncoding arg2
;
12996 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12997 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12998 bool arg4
= (bool) true ;
12999 PyObject
*result
= 0 ;
13004 bool temp3
= false ;
13007 PyObject
* obj0
= 0 ;
13008 PyObject
* obj1
= 0 ;
13009 PyObject
* obj2
= 0 ;
13010 PyObject
* obj3
= 0 ;
13011 char * kwnames
[] = {
13012 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13017 if (!SWIG_IsOK(res1
)) {
13018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13020 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13022 if (!SWIG_IsOK(ecode2
)) {
13023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13025 arg2
= static_cast< wxFontEncoding
>(val2
);
13028 arg3
= wxString_in_helper(obj2
);
13029 if (arg3
== NULL
) SWIG_fail
;
13034 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13035 if (!SWIG_IsOK(ecode4
)) {
13036 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13038 arg4
= static_cast< bool >(val4
);
13041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13042 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13043 wxPyEndAllowThreads(__tstate
);
13044 if (PyErr_Occurred()) SWIG_fail
;
13046 resultobj
= result
;
13061 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13062 PyObject
*resultobj
= 0;
13063 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13064 wxFontEncoding arg2
;
13065 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13066 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13072 bool temp3
= false ;
13073 PyObject
* obj0
= 0 ;
13074 PyObject
* obj1
= 0 ;
13075 PyObject
* obj2
= 0 ;
13076 char * kwnames
[] = {
13077 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13082 if (!SWIG_IsOK(res1
)) {
13083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13085 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13086 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13087 if (!SWIG_IsOK(ecode2
)) {
13088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13090 arg2
= static_cast< wxFontEncoding
>(val2
);
13093 arg3
= wxString_in_helper(obj2
);
13094 if (arg3
== NULL
) SWIG_fail
;
13099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13100 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13101 wxPyEndAllowThreads(__tstate
);
13102 if (PyErr_Occurred()) SWIG_fail
;
13105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13121 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13122 PyObject
*resultobj
= 0;
13123 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13124 wxWindow
*arg2
= (wxWindow
*) 0 ;
13129 PyObject
* obj0
= 0 ;
13130 PyObject
* obj1
= 0 ;
13131 char * kwnames
[] = {
13132 (char *) "self",(char *) "parent", NULL
13135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13137 if (!SWIG_IsOK(res1
)) {
13138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13140 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13141 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13142 if (!SWIG_IsOK(res2
)) {
13143 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13145 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13148 (arg1
)->SetDialogParent(arg2
);
13149 wxPyEndAllowThreads(__tstate
);
13150 if (PyErr_Occurred()) SWIG_fail
;
13152 resultobj
= SWIG_Py_Void();
13159 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13160 PyObject
*resultobj
= 0;
13161 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13162 wxString
*arg2
= 0 ;
13165 bool temp2
= false ;
13166 PyObject
* obj0
= 0 ;
13167 PyObject
* obj1
= 0 ;
13168 char * kwnames
[] = {
13169 (char *) "self",(char *) "title", NULL
13172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13174 if (!SWIG_IsOK(res1
)) {
13175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13177 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13179 arg2
= wxString_in_helper(obj1
);
13180 if (arg2
== NULL
) SWIG_fail
;
13184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13185 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13186 wxPyEndAllowThreads(__tstate
);
13187 if (PyErr_Occurred()) SWIG_fail
;
13189 resultobj
= SWIG_Py_Void();
13204 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13206 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13207 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13208 return SWIG_Py_Void();
13211 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13212 return SWIG_Python_InitShadowInstance(args
);
13215 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13216 PyObject
*resultobj
= 0;
13221 bool arg5
= (bool) false ;
13222 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13223 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13224 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13225 wxFont
*result
= 0 ;
13236 bool temp6
= false ;
13239 PyObject
* obj0
= 0 ;
13240 PyObject
* obj1
= 0 ;
13241 PyObject
* obj2
= 0 ;
13242 PyObject
* obj3
= 0 ;
13243 PyObject
* obj4
= 0 ;
13244 PyObject
* obj5
= 0 ;
13245 PyObject
* obj6
= 0 ;
13246 char * kwnames
[] = {
13247 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13251 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13252 if (!SWIG_IsOK(ecode1
)) {
13253 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13255 arg1
= static_cast< int >(val1
);
13256 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13257 if (!SWIG_IsOK(ecode2
)) {
13258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13260 arg2
= static_cast< int >(val2
);
13261 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13262 if (!SWIG_IsOK(ecode3
)) {
13263 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13265 arg3
= static_cast< int >(val3
);
13266 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13267 if (!SWIG_IsOK(ecode4
)) {
13268 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13270 arg4
= static_cast< int >(val4
);
13272 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13273 if (!SWIG_IsOK(ecode5
)) {
13274 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13276 arg5
= static_cast< bool >(val5
);
13280 arg6
= wxString_in_helper(obj5
);
13281 if (arg6
== NULL
) SWIG_fail
;
13286 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13287 if (!SWIG_IsOK(ecode7
)) {
13288 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13290 arg7
= static_cast< wxFontEncoding
>(val7
);
13293 if (!wxPyCheckForApp()) SWIG_fail
;
13294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13295 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13296 wxPyEndAllowThreads(__tstate
);
13297 if (PyErr_Occurred()) SWIG_fail
;
13299 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13314 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13315 PyObject
*resultobj
= 0;
13316 wxFont
*arg1
= (wxFont
*) 0 ;
13319 PyObject
*swig_obj
[1] ;
13321 if (!args
) SWIG_fail
;
13322 swig_obj
[0] = args
;
13323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13324 if (!SWIG_IsOK(res1
)) {
13325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13327 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13332 wxPyEndAllowThreads(__tstate
);
13333 if (PyErr_Occurred()) SWIG_fail
;
13335 resultobj
= SWIG_Py_Void();
13342 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13343 PyObject
*resultobj
= 0;
13344 wxNativeFontInfo
*arg1
= 0 ;
13345 wxFont
*result
= 0 ;
13348 PyObject
* obj0
= 0 ;
13349 char * kwnames
[] = {
13350 (char *) "info", NULL
13353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13354 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13355 if (!SWIG_IsOK(res1
)) {
13356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13359 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13361 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13363 if (!wxPyCheckForApp()) SWIG_fail
;
13364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13365 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13366 wxPyEndAllowThreads(__tstate
);
13367 if (PyErr_Occurred()) SWIG_fail
;
13369 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13376 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13377 PyObject
*resultobj
= 0;
13378 wxString
*arg1
= 0 ;
13379 wxFont
*result
= 0 ;
13380 bool temp1
= false ;
13381 PyObject
* obj0
= 0 ;
13382 char * kwnames
[] = {
13383 (char *) "info", NULL
13386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13388 arg1
= wxString_in_helper(obj0
);
13389 if (arg1
== NULL
) SWIG_fail
;
13393 if (!wxPyCheckForApp()) SWIG_fail
;
13394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13395 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13396 wxPyEndAllowThreads(__tstate
);
13397 if (PyErr_Occurred()) SWIG_fail
;
13399 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13414 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13415 PyObject
*resultobj
= 0;
13417 wxFontFamily arg2
;
13418 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13419 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13420 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13421 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13422 wxFont
*result
= 0 ;
13429 bool temp4
= false ;
13432 PyObject
* obj0
= 0 ;
13433 PyObject
* obj1
= 0 ;
13434 PyObject
* obj2
= 0 ;
13435 PyObject
* obj3
= 0 ;
13436 PyObject
* obj4
= 0 ;
13437 char * kwnames
[] = {
13438 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13442 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13443 if (!SWIG_IsOK(ecode1
)) {
13444 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
13446 arg1
= static_cast< int >(val1
);
13447 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13448 if (!SWIG_IsOK(ecode2
)) {
13449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
13451 arg2
= static_cast< wxFontFamily
>(val2
);
13453 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13454 if (!SWIG_IsOK(ecode3
)) {
13455 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
13457 arg3
= static_cast< int >(val3
);
13461 arg4
= wxString_in_helper(obj3
);
13462 if (arg4
== NULL
) SWIG_fail
;
13467 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13468 if (!SWIG_IsOK(ecode5
)) {
13469 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13471 arg5
= static_cast< wxFontEncoding
>(val5
);
13474 if (!wxPyCheckForApp()) SWIG_fail
;
13475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13476 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13477 wxPyEndAllowThreads(__tstate
);
13478 if (PyErr_Occurred()) SWIG_fail
;
13480 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13495 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13496 PyObject
*resultobj
= 0;
13501 bool arg5
= (bool) false ;
13502 wxString
const &arg6_defvalue
= wxEmptyString
;
13503 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13504 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13505 wxFont
*result
= 0 ;
13515 bool temp6
= false ;
13518 PyObject
* obj0
= 0 ;
13519 PyObject
* obj1
= 0 ;
13520 PyObject
* obj2
= 0 ;
13521 PyObject
* obj3
= 0 ;
13522 PyObject
* obj4
= 0 ;
13523 PyObject
* obj5
= 0 ;
13524 PyObject
* obj6
= 0 ;
13525 char * kwnames
[] = {
13526 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
13529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13532 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13534 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13535 if (!SWIG_IsOK(ecode2
)) {
13536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
13538 arg2
= static_cast< int >(val2
);
13539 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13540 if (!SWIG_IsOK(ecode3
)) {
13541 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13543 arg3
= static_cast< int >(val3
);
13544 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13545 if (!SWIG_IsOK(ecode4
)) {
13546 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
13548 arg4
= static_cast< int >(val4
);
13550 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13551 if (!SWIG_IsOK(ecode5
)) {
13552 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
13554 arg5
= static_cast< bool >(val5
);
13558 arg6
= wxString_in_helper(obj5
);
13559 if (arg6
== NULL
) SWIG_fail
;
13564 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13565 if (!SWIG_IsOK(ecode7
)) {
13566 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13568 arg7
= static_cast< wxFontEncoding
>(val7
);
13571 if (!wxPyCheckForApp()) SWIG_fail
;
13572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13573 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13574 wxPyEndAllowThreads(__tstate
);
13575 if (PyErr_Occurred()) SWIG_fail
;
13577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13592 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13593 PyObject
*resultobj
= 0;
13595 wxFontFamily arg2
;
13596 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13597 wxString
const &arg4_defvalue
= wxEmptyString
;
13598 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13599 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13600 wxFont
*result
= 0 ;
13606 bool temp4
= false ;
13609 PyObject
* obj0
= 0 ;
13610 PyObject
* obj1
= 0 ;
13611 PyObject
* obj2
= 0 ;
13612 PyObject
* obj3
= 0 ;
13613 PyObject
* obj4
= 0 ;
13614 char * kwnames
[] = {
13615 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13621 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13623 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13624 if (!SWIG_IsOK(ecode2
)) {
13625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
13627 arg2
= static_cast< wxFontFamily
>(val2
);
13629 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13630 if (!SWIG_IsOK(ecode3
)) {
13631 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13633 arg3
= static_cast< int >(val3
);
13637 arg4
= wxString_in_helper(obj3
);
13638 if (arg4
== NULL
) SWIG_fail
;
13643 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13644 if (!SWIG_IsOK(ecode5
)) {
13645 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13647 arg5
= static_cast< wxFontEncoding
>(val5
);
13650 if (!wxPyCheckForApp()) SWIG_fail
;
13651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13652 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13653 wxPyEndAllowThreads(__tstate
);
13654 if (PyErr_Occurred()) SWIG_fail
;
13656 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13671 SWIGINTERN PyObject
*_wrap_Font_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13672 PyObject
*resultobj
= 0;
13673 wxFont
*arg1
= (wxFont
*) 0 ;
13677 PyObject
*swig_obj
[1] ;
13679 if (!args
) SWIG_fail
;
13680 swig_obj
[0] = args
;
13681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13682 if (!SWIG_IsOK(res1
)) {
13683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_Ok" "', expected argument " "1"" of type '" "wxFont const *""'");
13685 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13688 result
= (bool)((wxFont
const *)arg1
)->Ok();
13689 wxPyEndAllowThreads(__tstate
);
13690 if (PyErr_Occurred()) SWIG_fail
;
13693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13701 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13702 PyObject
*resultobj
= 0;
13703 wxFont
*arg1
= (wxFont
*) 0 ;
13704 wxFont
*arg2
= (wxFont
*) 0 ;
13710 PyObject
* obj0
= 0 ;
13711 PyObject
* obj1
= 0 ;
13712 char * kwnames
[] = {
13713 (char *) "self",(char *) "other", NULL
13716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13718 if (!SWIG_IsOK(res1
)) {
13719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
13721 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13722 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
13723 if (!SWIG_IsOK(res2
)) {
13724 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
13726 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13729 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
13730 wxPyEndAllowThreads(__tstate
);
13731 if (PyErr_Occurred()) SWIG_fail
;
13734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13742 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13743 PyObject
*resultobj
= 0;
13744 wxFont
*arg1
= (wxFont
*) 0 ;
13745 wxFont
*arg2
= (wxFont
*) 0 ;
13751 PyObject
* obj0
= 0 ;
13752 PyObject
* obj1
= 0 ;
13753 char * kwnames
[] = {
13754 (char *) "self",(char *) "other", NULL
13757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13759 if (!SWIG_IsOK(res1
)) {
13760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
13762 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13763 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
13764 if (!SWIG_IsOK(res2
)) {
13765 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
13767 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13770 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
13771 wxPyEndAllowThreads(__tstate
);
13772 if (PyErr_Occurred()) SWIG_fail
;
13775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13783 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13784 PyObject
*resultobj
= 0;
13785 wxFont
*arg1
= (wxFont
*) 0 ;
13789 PyObject
*swig_obj
[1] ;
13791 if (!args
) SWIG_fail
;
13792 swig_obj
[0] = args
;
13793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13794 if (!SWIG_IsOK(res1
)) {
13795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
13797 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13800 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
13801 wxPyEndAllowThreads(__tstate
);
13802 if (PyErr_Occurred()) SWIG_fail
;
13804 resultobj
= SWIG_From_int(static_cast< int >(result
));
13811 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13812 PyObject
*resultobj
= 0;
13813 wxFont
*arg1
= (wxFont
*) 0 ;
13817 PyObject
*swig_obj
[1] ;
13819 if (!args
) SWIG_fail
;
13820 swig_obj
[0] = args
;
13821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13822 if (!SWIG_IsOK(res1
)) {
13823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
13825 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13828 result
= ((wxFont
const *)arg1
)->GetPixelSize();
13829 wxPyEndAllowThreads(__tstate
);
13830 if (PyErr_Occurred()) SWIG_fail
;
13832 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
13839 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13840 PyObject
*resultobj
= 0;
13841 wxFont
*arg1
= (wxFont
*) 0 ;
13845 PyObject
*swig_obj
[1] ;
13847 if (!args
) SWIG_fail
;
13848 swig_obj
[0] = args
;
13849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13850 if (!SWIG_IsOK(res1
)) {
13851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
13853 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13856 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
13857 wxPyEndAllowThreads(__tstate
);
13858 if (PyErr_Occurred()) SWIG_fail
;
13861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13869 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13870 PyObject
*resultobj
= 0;
13871 wxFont
*arg1
= (wxFont
*) 0 ;
13875 PyObject
*swig_obj
[1] ;
13877 if (!args
) SWIG_fail
;
13878 swig_obj
[0] = args
;
13879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13880 if (!SWIG_IsOK(res1
)) {
13881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
13883 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13886 result
= (int)((wxFont
const *)arg1
)->GetFamily();
13887 wxPyEndAllowThreads(__tstate
);
13888 if (PyErr_Occurred()) SWIG_fail
;
13890 resultobj
= SWIG_From_int(static_cast< int >(result
));
13897 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13898 PyObject
*resultobj
= 0;
13899 wxFont
*arg1
= (wxFont
*) 0 ;
13903 PyObject
*swig_obj
[1] ;
13905 if (!args
) SWIG_fail
;
13906 swig_obj
[0] = args
;
13907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13908 if (!SWIG_IsOK(res1
)) {
13909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
13911 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13914 result
= (int)((wxFont
const *)arg1
)->GetStyle();
13915 wxPyEndAllowThreads(__tstate
);
13916 if (PyErr_Occurred()) SWIG_fail
;
13918 resultobj
= SWIG_From_int(static_cast< int >(result
));
13925 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13926 PyObject
*resultobj
= 0;
13927 wxFont
*arg1
= (wxFont
*) 0 ;
13931 PyObject
*swig_obj
[1] ;
13933 if (!args
) SWIG_fail
;
13934 swig_obj
[0] = args
;
13935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13936 if (!SWIG_IsOK(res1
)) {
13937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
13939 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13942 result
= (int)((wxFont
const *)arg1
)->GetWeight();
13943 wxPyEndAllowThreads(__tstate
);
13944 if (PyErr_Occurred()) SWIG_fail
;
13946 resultobj
= SWIG_From_int(static_cast< int >(result
));
13953 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13954 PyObject
*resultobj
= 0;
13955 wxFont
*arg1
= (wxFont
*) 0 ;
13959 PyObject
*swig_obj
[1] ;
13961 if (!args
) SWIG_fail
;
13962 swig_obj
[0] = args
;
13963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13964 if (!SWIG_IsOK(res1
)) {
13965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
13967 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13970 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
13971 wxPyEndAllowThreads(__tstate
);
13972 if (PyErr_Occurred()) SWIG_fail
;
13975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13983 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13984 PyObject
*resultobj
= 0;
13985 wxFont
*arg1
= (wxFont
*) 0 ;
13989 PyObject
*swig_obj
[1] ;
13991 if (!args
) SWIG_fail
;
13992 swig_obj
[0] = args
;
13993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13994 if (!SWIG_IsOK(res1
)) {
13995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
13997 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14000 result
= ((wxFont
const *)arg1
)->GetFaceName();
14001 wxPyEndAllowThreads(__tstate
);
14002 if (PyErr_Occurred()) SWIG_fail
;
14006 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14008 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14017 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14018 PyObject
*resultobj
= 0;
14019 wxFont
*arg1
= (wxFont
*) 0 ;
14020 wxFontEncoding result
;
14023 PyObject
*swig_obj
[1] ;
14025 if (!args
) SWIG_fail
;
14026 swig_obj
[0] = args
;
14027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14028 if (!SWIG_IsOK(res1
)) {
14029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14031 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14034 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14035 wxPyEndAllowThreads(__tstate
);
14036 if (PyErr_Occurred()) SWIG_fail
;
14038 resultobj
= SWIG_From_int(static_cast< int >(result
));
14045 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14046 PyObject
*resultobj
= 0;
14047 wxFont
*arg1
= (wxFont
*) 0 ;
14048 wxNativeFontInfo
*result
= 0 ;
14051 PyObject
*swig_obj
[1] ;
14053 if (!args
) SWIG_fail
;
14054 swig_obj
[0] = args
;
14055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14056 if (!SWIG_IsOK(res1
)) {
14057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14059 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14062 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14063 wxPyEndAllowThreads(__tstate
);
14064 if (PyErr_Occurred()) SWIG_fail
;
14066 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14073 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14074 PyObject
*resultobj
= 0;
14075 wxFont
*arg1
= (wxFont
*) 0 ;
14079 PyObject
*swig_obj
[1] ;
14081 if (!args
) SWIG_fail
;
14082 swig_obj
[0] = args
;
14083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14084 if (!SWIG_IsOK(res1
)) {
14085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14087 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14090 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14091 wxPyEndAllowThreads(__tstate
);
14092 if (PyErr_Occurred()) SWIG_fail
;
14095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14103 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14104 PyObject
*resultobj
= 0;
14105 wxFont
*arg1
= (wxFont
*) 0 ;
14109 PyObject
*swig_obj
[1] ;
14111 if (!args
) SWIG_fail
;
14112 swig_obj
[0] = args
;
14113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14114 if (!SWIG_IsOK(res1
)) {
14115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14117 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14120 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14121 wxPyEndAllowThreads(__tstate
);
14122 if (PyErr_Occurred()) SWIG_fail
;
14126 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14128 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14137 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14138 PyObject
*resultobj
= 0;
14139 wxFont
*arg1
= (wxFont
*) 0 ;
14143 PyObject
*swig_obj
[1] ;
14145 if (!args
) SWIG_fail
;
14146 swig_obj
[0] = args
;
14147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14148 if (!SWIG_IsOK(res1
)) {
14149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14151 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14154 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14155 wxPyEndAllowThreads(__tstate
);
14156 if (PyErr_Occurred()) SWIG_fail
;
14160 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14162 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14171 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14172 PyObject
*resultobj
= 0;
14173 wxFont
*arg1
= (wxFont
*) 0 ;
14179 PyObject
* obj0
= 0 ;
14180 PyObject
* obj1
= 0 ;
14181 char * kwnames
[] = {
14182 (char *) "self",(char *) "pointSize", NULL
14185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14187 if (!SWIG_IsOK(res1
)) {
14188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14190 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14191 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14192 if (!SWIG_IsOK(ecode2
)) {
14193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14195 arg2
= static_cast< int >(val2
);
14197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14198 (arg1
)->SetPointSize(arg2
);
14199 wxPyEndAllowThreads(__tstate
);
14200 if (PyErr_Occurred()) SWIG_fail
;
14202 resultobj
= SWIG_Py_Void();
14209 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14210 PyObject
*resultobj
= 0;
14211 wxFont
*arg1
= (wxFont
*) 0 ;
14216 PyObject
* obj0
= 0 ;
14217 PyObject
* obj1
= 0 ;
14218 char * kwnames
[] = {
14219 (char *) "self",(char *) "pixelSize", NULL
14222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14224 if (!SWIG_IsOK(res1
)) {
14225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14227 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14230 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14234 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14235 wxPyEndAllowThreads(__tstate
);
14236 if (PyErr_Occurred()) SWIG_fail
;
14238 resultobj
= SWIG_Py_Void();
14245 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14246 PyObject
*resultobj
= 0;
14247 wxFont
*arg1
= (wxFont
*) 0 ;
14253 PyObject
* obj0
= 0 ;
14254 PyObject
* obj1
= 0 ;
14255 char * kwnames
[] = {
14256 (char *) "self",(char *) "family", NULL
14259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14261 if (!SWIG_IsOK(res1
)) {
14262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14264 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14265 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14266 if (!SWIG_IsOK(ecode2
)) {
14267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14269 arg2
= static_cast< int >(val2
);
14271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14272 (arg1
)->SetFamily(arg2
);
14273 wxPyEndAllowThreads(__tstate
);
14274 if (PyErr_Occurred()) SWIG_fail
;
14276 resultobj
= SWIG_Py_Void();
14283 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14284 PyObject
*resultobj
= 0;
14285 wxFont
*arg1
= (wxFont
*) 0 ;
14291 PyObject
* obj0
= 0 ;
14292 PyObject
* obj1
= 0 ;
14293 char * kwnames
[] = {
14294 (char *) "self",(char *) "style", NULL
14297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14299 if (!SWIG_IsOK(res1
)) {
14300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14302 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14303 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14304 if (!SWIG_IsOK(ecode2
)) {
14305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14307 arg2
= static_cast< int >(val2
);
14309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14310 (arg1
)->SetStyle(arg2
);
14311 wxPyEndAllowThreads(__tstate
);
14312 if (PyErr_Occurred()) SWIG_fail
;
14314 resultobj
= SWIG_Py_Void();
14321 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14322 PyObject
*resultobj
= 0;
14323 wxFont
*arg1
= (wxFont
*) 0 ;
14329 PyObject
* obj0
= 0 ;
14330 PyObject
* obj1
= 0 ;
14331 char * kwnames
[] = {
14332 (char *) "self",(char *) "weight", NULL
14335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14337 if (!SWIG_IsOK(res1
)) {
14338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14340 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14342 if (!SWIG_IsOK(ecode2
)) {
14343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14345 arg2
= static_cast< int >(val2
);
14347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14348 (arg1
)->SetWeight(arg2
);
14349 wxPyEndAllowThreads(__tstate
);
14350 if (PyErr_Occurred()) SWIG_fail
;
14352 resultobj
= SWIG_Py_Void();
14359 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14360 PyObject
*resultobj
= 0;
14361 wxFont
*arg1
= (wxFont
*) 0 ;
14362 wxString
*arg2
= 0 ;
14366 bool temp2
= false ;
14367 PyObject
* obj0
= 0 ;
14368 PyObject
* obj1
= 0 ;
14369 char * kwnames
[] = {
14370 (char *) "self",(char *) "faceName", NULL
14373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14375 if (!SWIG_IsOK(res1
)) {
14376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14378 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14380 arg2
= wxString_in_helper(obj1
);
14381 if (arg2
== NULL
) SWIG_fail
;
14385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14386 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14387 wxPyEndAllowThreads(__tstate
);
14388 if (PyErr_Occurred()) SWIG_fail
;
14391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14407 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14408 PyObject
*resultobj
= 0;
14409 wxFont
*arg1
= (wxFont
*) 0 ;
14415 PyObject
* obj0
= 0 ;
14416 PyObject
* obj1
= 0 ;
14417 char * kwnames
[] = {
14418 (char *) "self",(char *) "underlined", NULL
14421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14423 if (!SWIG_IsOK(res1
)) {
14424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14426 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14427 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14428 if (!SWIG_IsOK(ecode2
)) {
14429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14431 arg2
= static_cast< bool >(val2
);
14433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14434 (arg1
)->SetUnderlined(arg2
);
14435 wxPyEndAllowThreads(__tstate
);
14436 if (PyErr_Occurred()) SWIG_fail
;
14438 resultobj
= SWIG_Py_Void();
14445 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14446 PyObject
*resultobj
= 0;
14447 wxFont
*arg1
= (wxFont
*) 0 ;
14448 wxFontEncoding arg2
;
14453 PyObject
* obj0
= 0 ;
14454 PyObject
* obj1
= 0 ;
14455 char * kwnames
[] = {
14456 (char *) "self",(char *) "encoding", NULL
14459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14461 if (!SWIG_IsOK(res1
)) {
14462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
14464 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14466 if (!SWIG_IsOK(ecode2
)) {
14467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14469 arg2
= static_cast< wxFontEncoding
>(val2
);
14471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14472 (arg1
)->SetEncoding(arg2
);
14473 wxPyEndAllowThreads(__tstate
);
14474 if (PyErr_Occurred()) SWIG_fail
;
14476 resultobj
= SWIG_Py_Void();
14483 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14484 PyObject
*resultobj
= 0;
14485 wxFont
*arg1
= (wxFont
*) 0 ;
14486 wxNativeFontInfo
*arg2
= 0 ;
14491 PyObject
* obj0
= 0 ;
14492 PyObject
* obj1
= 0 ;
14493 char * kwnames
[] = {
14494 (char *) "self",(char *) "info", NULL
14497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14499 if (!SWIG_IsOK(res1
)) {
14500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
14502 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14503 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14504 if (!SWIG_IsOK(res2
)) {
14505 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14508 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14510 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
14512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14513 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
14514 wxPyEndAllowThreads(__tstate
);
14515 if (PyErr_Occurred()) SWIG_fail
;
14517 resultobj
= SWIG_Py_Void();
14524 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14525 PyObject
*resultobj
= 0;
14526 wxFont
*arg1
= (wxFont
*) 0 ;
14527 wxString
*arg2
= 0 ;
14531 bool temp2
= false ;
14532 PyObject
* obj0
= 0 ;
14533 PyObject
* obj1
= 0 ;
14534 char * kwnames
[] = {
14535 (char *) "self",(char *) "info", NULL
14538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14540 if (!SWIG_IsOK(res1
)) {
14541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
14543 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14545 arg2
= wxString_in_helper(obj1
);
14546 if (arg2
== NULL
) SWIG_fail
;
14550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14551 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
14552 wxPyEndAllowThreads(__tstate
);
14553 if (PyErr_Occurred()) SWIG_fail
;
14556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14572 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14573 PyObject
*resultobj
= 0;
14574 wxFont
*arg1
= (wxFont
*) 0 ;
14575 wxString
*arg2
= 0 ;
14579 bool temp2
= false ;
14580 PyObject
* obj0
= 0 ;
14581 PyObject
* obj1
= 0 ;
14582 char * kwnames
[] = {
14583 (char *) "self",(char *) "info", NULL
14586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14588 if (!SWIG_IsOK(res1
)) {
14589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
14591 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14593 arg2
= wxString_in_helper(obj1
);
14594 if (arg2
== NULL
) SWIG_fail
;
14598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14599 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
14600 wxPyEndAllowThreads(__tstate
);
14601 if (PyErr_Occurred()) SWIG_fail
;
14604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14620 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14621 PyObject
*resultobj
= 0;
14622 wxFont
*arg1
= (wxFont
*) 0 ;
14626 PyObject
*swig_obj
[1] ;
14628 if (!args
) SWIG_fail
;
14629 swig_obj
[0] = args
;
14630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14631 if (!SWIG_IsOK(res1
)) {
14632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
14634 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14637 result
= ((wxFont
const *)arg1
)->GetFamilyString();
14638 wxPyEndAllowThreads(__tstate
);
14639 if (PyErr_Occurred()) SWIG_fail
;
14643 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14645 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14654 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14655 PyObject
*resultobj
= 0;
14656 wxFont
*arg1
= (wxFont
*) 0 ;
14660 PyObject
*swig_obj
[1] ;
14662 if (!args
) SWIG_fail
;
14663 swig_obj
[0] = args
;
14664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14665 if (!SWIG_IsOK(res1
)) {
14666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
14668 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14671 result
= ((wxFont
const *)arg1
)->GetStyleString();
14672 wxPyEndAllowThreads(__tstate
);
14673 if (PyErr_Occurred()) SWIG_fail
;
14677 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14679 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14688 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14689 PyObject
*resultobj
= 0;
14690 wxFont
*arg1
= (wxFont
*) 0 ;
14694 PyObject
*swig_obj
[1] ;
14696 if (!args
) SWIG_fail
;
14697 swig_obj
[0] = args
;
14698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14699 if (!SWIG_IsOK(res1
)) {
14700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
14702 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14705 result
= ((wxFont
const *)arg1
)->GetWeightString();
14706 wxPyEndAllowThreads(__tstate
);
14707 if (PyErr_Occurred()) SWIG_fail
;
14711 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14713 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14722 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14723 PyObject
*resultobj
= 0;
14724 wxFont
*arg1
= (wxFont
*) 0 ;
14725 bool arg2
= (bool) true ;
14730 PyObject
* obj0
= 0 ;
14731 PyObject
* obj1
= 0 ;
14732 char * kwnames
[] = {
14733 (char *) "self",(char *) "no", NULL
14736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14738 if (!SWIG_IsOK(res1
)) {
14739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
14741 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14743 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14744 if (!SWIG_IsOK(ecode2
)) {
14745 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
14747 arg2
= static_cast< bool >(val2
);
14750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14751 (arg1
)->SetNoAntiAliasing(arg2
);
14752 wxPyEndAllowThreads(__tstate
);
14753 if (PyErr_Occurred()) SWIG_fail
;
14755 resultobj
= SWIG_Py_Void();
14762 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14763 PyObject
*resultobj
= 0;
14764 wxFont
*arg1
= (wxFont
*) 0 ;
14768 PyObject
*swig_obj
[1] ;
14770 if (!args
) SWIG_fail
;
14771 swig_obj
[0] = args
;
14772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14773 if (!SWIG_IsOK(res1
)) {
14774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
14776 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14779 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
14780 wxPyEndAllowThreads(__tstate
);
14781 if (PyErr_Occurred()) SWIG_fail
;
14784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14792 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14793 PyObject
*resultobj
= 0;
14794 wxFontEncoding result
;
14796 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
14798 if (!wxPyCheckForApp()) SWIG_fail
;
14799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14800 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
14801 wxPyEndAllowThreads(__tstate
);
14802 if (PyErr_Occurred()) SWIG_fail
;
14804 resultobj
= SWIG_From_int(static_cast< int >(result
));
14811 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14812 PyObject
*resultobj
= 0;
14813 wxFontEncoding arg1
;
14816 PyObject
* obj0
= 0 ;
14817 char * kwnames
[] = {
14818 (char *) "encoding", NULL
14821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
14822 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14823 if (!SWIG_IsOK(ecode1
)) {
14824 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14826 arg1
= static_cast< wxFontEncoding
>(val1
);
14828 if (!wxPyCheckForApp()) SWIG_fail
;
14829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14830 wxFont::SetDefaultEncoding(arg1
);
14831 wxPyEndAllowThreads(__tstate
);
14832 if (PyErr_Occurred()) SWIG_fail
;
14834 resultobj
= SWIG_Py_Void();
14841 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14843 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14844 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
14845 return SWIG_Py_Void();
14848 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14849 return SWIG_Python_InitShadowInstance(args
);
14852 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14853 PyObject
*resultobj
= 0;
14854 wxPyFontEnumerator
*result
= 0 ;
14856 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
14858 if (!wxPyCheckForApp()) SWIG_fail
;
14859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14860 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
14861 wxPyEndAllowThreads(__tstate
);
14862 if (PyErr_Occurred()) SWIG_fail
;
14864 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
14871 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14872 PyObject
*resultobj
= 0;
14873 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
14876 PyObject
*swig_obj
[1] ;
14878 if (!args
) SWIG_fail
;
14879 swig_obj
[0] = args
;
14880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
14881 if (!SWIG_IsOK(res1
)) {
14882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
14884 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
14886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14889 wxPyEndAllowThreads(__tstate
);
14890 if (PyErr_Occurred()) SWIG_fail
;
14892 resultobj
= SWIG_Py_Void();
14899 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14900 PyObject
*resultobj
= 0;
14901 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
14902 PyObject
*arg2
= (PyObject
*) 0 ;
14903 PyObject
*arg3
= (PyObject
*) 0 ;
14909 PyObject
* obj0
= 0 ;
14910 PyObject
* obj1
= 0 ;
14911 PyObject
* obj2
= 0 ;
14912 PyObject
* obj3
= 0 ;
14913 char * kwnames
[] = {
14914 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
14917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
14919 if (!SWIG_IsOK(res1
)) {
14920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
14922 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
14925 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
14926 if (!SWIG_IsOK(ecode4
)) {
14927 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
14929 arg4
= static_cast< bool >(val4
);
14931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14932 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
14933 wxPyEndAllowThreads(__tstate
);
14934 if (PyErr_Occurred()) SWIG_fail
;
14936 resultobj
= SWIG_Py_Void();
14943 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14944 PyObject
*resultobj
= 0;
14945 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
14946 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
14947 bool arg3
= (bool) false ;
14955 PyObject
* obj0
= 0 ;
14956 PyObject
* obj1
= 0 ;
14957 PyObject
* obj2
= 0 ;
14958 char * kwnames
[] = {
14959 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
14962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
14964 if (!SWIG_IsOK(res1
)) {
14965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
14967 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
14969 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14970 if (!SWIG_IsOK(ecode2
)) {
14971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14973 arg2
= static_cast< wxFontEncoding
>(val2
);
14976 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14977 if (!SWIG_IsOK(ecode3
)) {
14978 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
14980 arg3
= static_cast< bool >(val3
);
14983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14984 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
14985 wxPyEndAllowThreads(__tstate
);
14986 if (PyErr_Occurred()) SWIG_fail
;
14989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14997 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14998 PyObject
*resultobj
= 0;
14999 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15000 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15001 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15005 bool temp2
= false ;
15006 PyObject
* obj0
= 0 ;
15007 PyObject
* obj1
= 0 ;
15008 char * kwnames
[] = {
15009 (char *) "self",(char *) "facename", NULL
15012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15014 if (!SWIG_IsOK(res1
)) {
15015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15017 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15020 arg2
= wxString_in_helper(obj1
);
15021 if (arg2
== NULL
) SWIG_fail
;
15026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15027 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15028 wxPyEndAllowThreads(__tstate
);
15029 if (PyErr_Occurred()) SWIG_fail
;
15032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15048 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15049 PyObject
*resultobj
= 0;
15050 PyObject
*result
= 0 ;
15052 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15055 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15056 wxPyEndAllowThreads(__tstate
);
15057 if (PyErr_Occurred()) SWIG_fail
;
15059 resultobj
= result
;
15066 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15067 PyObject
*resultobj
= 0;
15068 PyObject
*result
= 0 ;
15070 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15073 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15074 wxPyEndAllowThreads(__tstate
);
15075 if (PyErr_Occurred()) SWIG_fail
;
15077 resultobj
= result
;
15084 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15085 PyObject
*resultobj
= 0;
15086 wxString
*arg1
= 0 ;
15088 bool temp1
= false ;
15089 PyObject
* obj0
= 0 ;
15090 char * kwnames
[] = {
15091 (char *) "str", NULL
15094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15096 arg1
= wxString_in_helper(obj0
);
15097 if (arg1
== NULL
) SWIG_fail
;
15101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15102 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15103 wxPyEndAllowThreads(__tstate
);
15104 if (PyErr_Occurred()) SWIG_fail
;
15107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15123 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15125 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15126 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15127 return SWIG_Py_Void();
15130 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15131 return SWIG_Python_InitShadowInstance(args
);
15134 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15135 PyObject
*resultobj
= 0;
15136 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15142 PyObject
*swig_obj
[2] ;
15144 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15146 if (!SWIG_IsOK(res1
)) {
15147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15149 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15150 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15151 if (!SWIG_IsOK(ecode2
)) {
15152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15154 arg2
= static_cast< int >(val2
);
15155 if (arg1
) (arg1
)->Language
= arg2
;
15157 resultobj
= SWIG_Py_Void();
15164 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15165 PyObject
*resultobj
= 0;
15166 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15170 PyObject
*swig_obj
[1] ;
15172 if (!args
) SWIG_fail
;
15173 swig_obj
[0] = args
;
15174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15175 if (!SWIG_IsOK(res1
)) {
15176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15178 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15179 result
= (int) ((arg1
)->Language
);
15180 resultobj
= SWIG_From_int(static_cast< int >(result
));
15187 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15188 PyObject
*resultobj
= 0;
15189 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15190 wxString
*arg2
= (wxString
*) 0 ;
15193 bool temp2
= false ;
15194 PyObject
*swig_obj
[2] ;
15196 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15198 if (!SWIG_IsOK(res1
)) {
15199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15201 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15203 arg2
= wxString_in_helper(swig_obj
[1]);
15204 if (arg2
== NULL
) SWIG_fail
;
15207 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15209 resultobj
= SWIG_Py_Void();
15224 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15225 PyObject
*resultobj
= 0;
15226 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15227 wxString
*result
= 0 ;
15230 PyObject
*swig_obj
[1] ;
15232 if (!args
) SWIG_fail
;
15233 swig_obj
[0] = args
;
15234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15235 if (!SWIG_IsOK(res1
)) {
15236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15238 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15239 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15242 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15244 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15253 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15254 PyObject
*resultobj
= 0;
15255 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15256 wxString
*arg2
= (wxString
*) 0 ;
15259 bool temp2
= false ;
15260 PyObject
*swig_obj
[2] ;
15262 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15264 if (!SWIG_IsOK(res1
)) {
15265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15267 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15269 arg2
= wxString_in_helper(swig_obj
[1]);
15270 if (arg2
== NULL
) SWIG_fail
;
15273 if (arg1
) (arg1
)->Description
= *arg2
;
15275 resultobj
= SWIG_Py_Void();
15290 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15291 PyObject
*resultobj
= 0;
15292 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15293 wxString
*result
= 0 ;
15296 PyObject
*swig_obj
[1] ;
15298 if (!args
) SWIG_fail
;
15299 swig_obj
[0] = args
;
15300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15301 if (!SWIG_IsOK(res1
)) {
15302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15304 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15305 result
= (wxString
*)& ((arg1
)->Description
);
15308 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15310 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15319 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15321 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15322 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15323 return SWIG_Py_Void();
15326 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15327 PyObject
*resultobj
= 0;
15328 int arg1
= (int) -1 ;
15329 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15330 wxLocale
*result
= 0 ;
15335 PyObject
* obj0
= 0 ;
15336 PyObject
* obj1
= 0 ;
15337 char * kwnames
[] = {
15338 (char *) "language",(char *) "flags", NULL
15341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15343 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15344 if (!SWIG_IsOK(ecode1
)) {
15345 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15347 arg1
= static_cast< int >(val1
);
15350 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15351 if (!SWIG_IsOK(ecode2
)) {
15352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15354 arg2
= static_cast< int >(val2
);
15357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15358 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15359 wxPyEndAllowThreads(__tstate
);
15360 if (PyErr_Occurred()) SWIG_fail
;
15362 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15369 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15370 PyObject
*resultobj
= 0;
15371 wxLocale
*arg1
= (wxLocale
*) 0 ;
15374 PyObject
*swig_obj
[1] ;
15376 if (!args
) SWIG_fail
;
15377 swig_obj
[0] = args
;
15378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15379 if (!SWIG_IsOK(res1
)) {
15380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15382 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15387 wxPyEndAllowThreads(__tstate
);
15388 if (PyErr_Occurred()) SWIG_fail
;
15390 resultobj
= SWIG_Py_Void();
15397 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15398 PyObject
*resultobj
= 0;
15399 wxLocale
*arg1
= (wxLocale
*) 0 ;
15400 wxString
*arg2
= 0 ;
15401 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15402 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15403 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15404 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15405 bool arg5
= (bool) true ;
15406 bool arg6
= (bool) false ;
15410 bool temp2
= false ;
15411 bool temp3
= false ;
15412 bool temp4
= false ;
15417 PyObject
* obj0
= 0 ;
15418 PyObject
* obj1
= 0 ;
15419 PyObject
* obj2
= 0 ;
15420 PyObject
* obj3
= 0 ;
15421 PyObject
* obj4
= 0 ;
15422 PyObject
* obj5
= 0 ;
15423 char * kwnames
[] = {
15424 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15429 if (!SWIG_IsOK(res1
)) {
15430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15432 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15434 arg2
= wxString_in_helper(obj1
);
15435 if (arg2
== NULL
) SWIG_fail
;
15440 arg3
= wxString_in_helper(obj2
);
15441 if (arg3
== NULL
) SWIG_fail
;
15447 arg4
= wxString_in_helper(obj3
);
15448 if (arg4
== NULL
) SWIG_fail
;
15453 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
15454 if (!SWIG_IsOK(ecode5
)) {
15455 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
15457 arg5
= static_cast< bool >(val5
);
15460 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
15461 if (!SWIG_IsOK(ecode6
)) {
15462 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
15464 arg6
= static_cast< bool >(val6
);
15467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15468 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
15469 wxPyEndAllowThreads(__tstate
);
15470 if (PyErr_Occurred()) SWIG_fail
;
15473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15505 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15506 PyObject
*resultobj
= 0;
15507 wxLocale
*arg1
= (wxLocale
*) 0 ;
15508 int arg2
= (int) wxLANGUAGE_DEFAULT
;
15509 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15517 PyObject
* obj0
= 0 ;
15518 PyObject
* obj1
= 0 ;
15519 PyObject
* obj2
= 0 ;
15520 char * kwnames
[] = {
15521 (char *) "self",(char *) "language",(char *) "flags", NULL
15524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15526 if (!SWIG_IsOK(res1
)) {
15527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
15529 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15531 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15532 if (!SWIG_IsOK(ecode2
)) {
15533 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
15535 arg2
= static_cast< int >(val2
);
15538 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15539 if (!SWIG_IsOK(ecode3
)) {
15540 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
15542 arg3
= static_cast< int >(val3
);
15545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15546 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
15547 wxPyEndAllowThreads(__tstate
);
15548 if (PyErr_Occurred()) SWIG_fail
;
15551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15559 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15560 PyObject
*resultobj
= 0;
15563 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
15565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15566 result
= (int)wxLocale::GetSystemLanguage();
15567 wxPyEndAllowThreads(__tstate
);
15568 if (PyErr_Occurred()) SWIG_fail
;
15570 resultobj
= SWIG_From_int(static_cast< int >(result
));
15577 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15578 PyObject
*resultobj
= 0;
15579 wxFontEncoding result
;
15581 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
15583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15584 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
15585 wxPyEndAllowThreads(__tstate
);
15586 if (PyErr_Occurred()) SWIG_fail
;
15588 resultobj
= SWIG_From_int(static_cast< int >(result
));
15595 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15596 PyObject
*resultobj
= 0;
15599 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
15601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15602 result
= wxLocale::GetSystemEncodingName();
15603 wxPyEndAllowThreads(__tstate
);
15604 if (PyErr_Occurred()) SWIG_fail
;
15608 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15610 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15619 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15620 PyObject
*resultobj
= 0;
15621 wxLocale
*arg1
= (wxLocale
*) 0 ;
15625 PyObject
*swig_obj
[1] ;
15627 if (!args
) SWIG_fail
;
15628 swig_obj
[0] = args
;
15629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15630 if (!SWIG_IsOK(res1
)) {
15631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
15633 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15636 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
15637 wxPyEndAllowThreads(__tstate
);
15638 if (PyErr_Occurred()) SWIG_fail
;
15641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15649 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15650 PyObject
*resultobj
= 0;
15651 wxLocale
*arg1
= (wxLocale
*) 0 ;
15655 PyObject
*swig_obj
[1] ;
15657 if (!args
) SWIG_fail
;
15658 swig_obj
[0] = args
;
15659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15660 if (!SWIG_IsOK(res1
)) {
15661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
15663 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15666 result
= ((wxLocale
const *)arg1
)->GetLocale();
15667 wxPyEndAllowThreads(__tstate
);
15668 if (PyErr_Occurred()) SWIG_fail
;
15672 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15674 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15683 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15684 PyObject
*resultobj
= 0;
15685 wxLocale
*arg1
= (wxLocale
*) 0 ;
15689 PyObject
*swig_obj
[1] ;
15691 if (!args
) SWIG_fail
;
15692 swig_obj
[0] = args
;
15693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15694 if (!SWIG_IsOK(res1
)) {
15695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
15697 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15700 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
15701 wxPyEndAllowThreads(__tstate
);
15702 if (PyErr_Occurred()) SWIG_fail
;
15704 resultobj
= SWIG_From_int(static_cast< int >(result
));
15711 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15712 PyObject
*resultobj
= 0;
15713 wxLocale
*arg1
= (wxLocale
*) 0 ;
15717 PyObject
*swig_obj
[1] ;
15719 if (!args
) SWIG_fail
;
15720 swig_obj
[0] = args
;
15721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15722 if (!SWIG_IsOK(res1
)) {
15723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
15725 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15728 result
= ((wxLocale
const *)arg1
)->GetSysName();
15729 wxPyEndAllowThreads(__tstate
);
15730 if (PyErr_Occurred()) SWIG_fail
;
15734 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15736 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15745 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15746 PyObject
*resultobj
= 0;
15747 wxLocale
*arg1
= (wxLocale
*) 0 ;
15751 PyObject
*swig_obj
[1] ;
15753 if (!args
) SWIG_fail
;
15754 swig_obj
[0] = args
;
15755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15756 if (!SWIG_IsOK(res1
)) {
15757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
15759 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15762 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
15763 wxPyEndAllowThreads(__tstate
);
15764 if (PyErr_Occurred()) SWIG_fail
;
15768 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15770 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15779 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15780 PyObject
*resultobj
= 0;
15781 wxString
*arg1
= 0 ;
15782 bool temp1
= false ;
15783 PyObject
* obj0
= 0 ;
15784 char * kwnames
[] = {
15785 (char *) "prefix", NULL
15788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
15790 arg1
= wxString_in_helper(obj0
);
15791 if (arg1
== NULL
) SWIG_fail
;
15795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15796 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
15797 wxPyEndAllowThreads(__tstate
);
15798 if (PyErr_Occurred()) SWIG_fail
;
15800 resultobj
= SWIG_Py_Void();
15815 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15816 PyObject
*resultobj
= 0;
15817 wxLocale
*arg1
= (wxLocale
*) 0 ;
15818 wxString
*arg2
= 0 ;
15822 bool temp2
= false ;
15823 PyObject
* obj0
= 0 ;
15824 PyObject
* obj1
= 0 ;
15825 char * kwnames
[] = {
15826 (char *) "self",(char *) "szDomain", NULL
15829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15831 if (!SWIG_IsOK(res1
)) {
15832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
15834 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15836 arg2
= wxString_in_helper(obj1
);
15837 if (arg2
== NULL
) SWIG_fail
;
15841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15842 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
15843 wxPyEndAllowThreads(__tstate
);
15844 if (PyErr_Occurred()) SWIG_fail
;
15847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15863 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15864 PyObject
*resultobj
= 0;
15869 PyObject
* obj0
= 0 ;
15870 char * kwnames
[] = {
15871 (char *) "lang", NULL
15874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
15875 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15876 if (!SWIG_IsOK(ecode1
)) {
15877 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
15879 arg1
= static_cast< int >(val1
);
15881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15882 result
= (bool)wxLocale::IsAvailable(arg1
);
15883 wxPyEndAllowThreads(__tstate
);
15884 if (PyErr_Occurred()) SWIG_fail
;
15887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15895 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15896 PyObject
*resultobj
= 0;
15897 wxLocale
*arg1
= (wxLocale
*) 0 ;
15898 wxString
*arg2
= 0 ;
15902 bool temp2
= false ;
15903 PyObject
* obj0
= 0 ;
15904 PyObject
* obj1
= 0 ;
15905 char * kwnames
[] = {
15906 (char *) "self",(char *) "szDomain", NULL
15909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15911 if (!SWIG_IsOK(res1
)) {
15912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
15914 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15916 arg2
= wxString_in_helper(obj1
);
15917 if (arg2
== NULL
) SWIG_fail
;
15921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15922 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
15923 wxPyEndAllowThreads(__tstate
);
15924 if (PyErr_Occurred()) SWIG_fail
;
15927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15943 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15944 PyObject
*resultobj
= 0;
15946 wxLanguageInfo
*result
= 0 ;
15949 PyObject
* obj0
= 0 ;
15950 char * kwnames
[] = {
15951 (char *) "lang", NULL
15954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
15955 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15956 if (!SWIG_IsOK(ecode1
)) {
15957 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
15959 arg1
= static_cast< int >(val1
);
15961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15962 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
15963 wxPyEndAllowThreads(__tstate
);
15964 if (PyErr_Occurred()) SWIG_fail
;
15966 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15973 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15974 PyObject
*resultobj
= 0;
15979 PyObject
* obj0
= 0 ;
15980 char * kwnames
[] = {
15981 (char *) "lang", NULL
15984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
15985 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15986 if (!SWIG_IsOK(ecode1
)) {
15987 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
15989 arg1
= static_cast< int >(val1
);
15991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15992 result
= wxLocale::GetLanguageName(arg1
);
15993 wxPyEndAllowThreads(__tstate
);
15994 if (PyErr_Occurred()) SWIG_fail
;
15998 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16000 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16009 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16010 PyObject
*resultobj
= 0;
16011 wxString
*arg1
= 0 ;
16012 wxLanguageInfo
*result
= 0 ;
16013 bool temp1
= false ;
16014 PyObject
* obj0
= 0 ;
16015 char * kwnames
[] = {
16016 (char *) "locale", NULL
16019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16021 arg1
= wxString_in_helper(obj0
);
16022 if (arg1
== NULL
) SWIG_fail
;
16026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16027 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16028 wxPyEndAllowThreads(__tstate
);
16029 if (PyErr_Occurred()) SWIG_fail
;
16031 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16046 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16047 PyObject
*resultobj
= 0;
16048 wxLanguageInfo
*arg1
= 0 ;
16051 PyObject
* obj0
= 0 ;
16052 char * kwnames
[] = {
16053 (char *) "info", NULL
16056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16057 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16058 if (!SWIG_IsOK(res1
)) {
16059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16062 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16064 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16067 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16068 wxPyEndAllowThreads(__tstate
);
16069 if (PyErr_Occurred()) SWIG_fail
;
16071 resultobj
= SWIG_Py_Void();
16078 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16079 PyObject
*resultobj
= 0;
16080 wxLocale
*arg1
= (wxLocale
*) 0 ;
16081 wxString
*arg2
= 0 ;
16082 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16083 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16087 bool temp2
= false ;
16088 bool temp3
= false ;
16089 PyObject
* obj0
= 0 ;
16090 PyObject
* obj1
= 0 ;
16091 PyObject
* obj2
= 0 ;
16092 char * kwnames
[] = {
16093 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16098 if (!SWIG_IsOK(res1
)) {
16099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16101 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16103 arg2
= wxString_in_helper(obj1
);
16104 if (arg2
== NULL
) SWIG_fail
;
16109 arg3
= wxString_in_helper(obj2
);
16110 if (arg3
== NULL
) SWIG_fail
;
16115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16116 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16117 wxPyEndAllowThreads(__tstate
);
16118 if (PyErr_Occurred()) SWIG_fail
;
16122 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16124 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16149 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16150 PyObject
*resultobj
= 0;
16151 wxLocale
*arg1
= (wxLocale
*) 0 ;
16152 wxString
*result
= 0 ;
16155 PyObject
*swig_obj
[1] ;
16157 if (!args
) SWIG_fail
;
16158 swig_obj
[0] = args
;
16159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16160 if (!SWIG_IsOK(res1
)) {
16161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16163 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16167 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16168 result
= (wxString
*) &_result_ref
;
16170 wxPyEndAllowThreads(__tstate
);
16171 if (PyErr_Occurred()) SWIG_fail
;
16175 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16177 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16186 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16188 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16189 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16190 return SWIG_Py_Void();
16193 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16194 return SWIG_Python_InitShadowInstance(args
);
16197 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16198 PyObject
*resultobj
= 0;
16199 int arg1
= (int) -1 ;
16200 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16201 wxPyLocale
*result
= 0 ;
16206 PyObject
* obj0
= 0 ;
16207 PyObject
* obj1
= 0 ;
16208 char * kwnames
[] = {
16209 (char *) "language",(char *) "flags", NULL
16212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16214 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16215 if (!SWIG_IsOK(ecode1
)) {
16216 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16218 arg1
= static_cast< int >(val1
);
16221 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16222 if (!SWIG_IsOK(ecode2
)) {
16223 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16225 arg2
= static_cast< int >(val2
);
16228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16229 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16230 wxPyEndAllowThreads(__tstate
);
16231 if (PyErr_Occurred()) SWIG_fail
;
16233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16240 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16241 PyObject
*resultobj
= 0;
16242 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16245 PyObject
*swig_obj
[1] ;
16247 if (!args
) SWIG_fail
;
16248 swig_obj
[0] = args
;
16249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16250 if (!SWIG_IsOK(res1
)) {
16251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16253 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16258 wxPyEndAllowThreads(__tstate
);
16259 if (PyErr_Occurred()) SWIG_fail
;
16261 resultobj
= SWIG_Py_Void();
16268 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16269 PyObject
*resultobj
= 0;
16270 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16271 PyObject
*arg2
= (PyObject
*) 0 ;
16272 PyObject
*arg3
= (PyObject
*) 0 ;
16275 PyObject
* obj0
= 0 ;
16276 PyObject
* obj1
= 0 ;
16277 PyObject
* obj2
= 0 ;
16278 char * kwnames
[] = {
16279 (char *) "self",(char *) "self",(char *) "_class", NULL
16282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16284 if (!SWIG_IsOK(res1
)) {
16285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16287 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16292 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16293 wxPyEndAllowThreads(__tstate
);
16294 if (PyErr_Occurred()) SWIG_fail
;
16296 resultobj
= SWIG_Py_Void();
16303 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16304 PyObject
*resultobj
= 0;
16305 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16306 wxChar
*arg2
= (wxChar
*) 0 ;
16307 wxChar
*arg3
= (wxChar
*) NULL
;
16308 wxChar
*result
= 0 ;
16315 PyObject
* obj0
= 0 ;
16316 PyObject
* obj1
= 0 ;
16317 PyObject
* obj2
= 0 ;
16318 char * kwnames
[] = {
16319 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16324 if (!SWIG_IsOK(res1
)) {
16325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16327 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16328 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16329 if (!SWIG_IsOK(res2
)) {
16330 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16332 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16334 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16335 if (!SWIG_IsOK(res3
)) {
16336 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16338 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16342 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16343 wxPyEndAllowThreads(__tstate
);
16344 if (PyErr_Occurred()) SWIG_fail
;
16346 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16353 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16354 PyObject
*resultobj
= 0;
16355 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16356 wxChar
*arg2
= (wxChar
*) 0 ;
16357 wxChar
*arg3
= (wxChar
*) 0 ;
16359 wxChar
*arg5
= (wxChar
*) NULL
;
16360 wxChar
*result
= 0 ;
16371 PyObject
* obj0
= 0 ;
16372 PyObject
* obj1
= 0 ;
16373 PyObject
* obj2
= 0 ;
16374 PyObject
* obj3
= 0 ;
16375 PyObject
* obj4
= 0 ;
16376 char * kwnames
[] = {
16377 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16382 if (!SWIG_IsOK(res1
)) {
16383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16385 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16386 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16387 if (!SWIG_IsOK(res2
)) {
16388 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16390 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16391 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16392 if (!SWIG_IsOK(res3
)) {
16393 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16395 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16396 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16397 if (!SWIG_IsOK(ecode4
)) {
16398 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16400 arg4
= static_cast< size_t >(val4
);
16402 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16403 if (!SWIG_IsOK(res5
)) {
16404 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16406 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16410 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16411 wxPyEndAllowThreads(__tstate
);
16412 if (PyErr_Occurred()) SWIG_fail
;
16414 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16421 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16423 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16424 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16425 return SWIG_Py_Void();
16428 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16429 return SWIG_Python_InitShadowInstance(args
);
16432 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16433 PyObject
*resultobj
= 0;
16434 wxLocale
*result
= 0 ;
16436 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16439 result
= (wxLocale
*)wxGetLocale();
16440 wxPyEndAllowThreads(__tstate
);
16441 if (PyErr_Occurred()) SWIG_fail
;
16443 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
16450 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16451 PyObject
*resultobj
= 0;
16452 wxString
*arg1
= 0 ;
16454 bool temp1
= false ;
16456 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
16458 arg1
= wxString_in_helper(swig_obj
[0]);
16459 if (arg1
== NULL
) SWIG_fail
;
16463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16464 result
= wxGetTranslation((wxString
const &)*arg1
);
16465 wxPyEndAllowThreads(__tstate
);
16466 if (PyErr_Occurred()) SWIG_fail
;
16470 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16472 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16489 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16490 PyObject
*resultobj
= 0;
16491 wxString
*arg1
= 0 ;
16492 wxString
*arg2
= 0 ;
16494 bool temp1
= false ;
16495 bool temp2
= false ;
16497 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16499 arg1
= wxString_in_helper(swig_obj
[0]);
16500 if (arg1
== NULL
) SWIG_fail
;
16504 arg2
= wxString_in_helper(swig_obj
[1]);
16505 if (arg2
== NULL
) SWIG_fail
;
16509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16510 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
16511 wxPyEndAllowThreads(__tstate
);
16512 if (PyErr_Occurred()) SWIG_fail
;
16516 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16518 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16543 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16544 PyObject
*resultobj
= 0;
16545 wxString
*arg1
= 0 ;
16546 wxString
*arg2
= 0 ;
16549 bool temp1
= false ;
16550 bool temp2
= false ;
16554 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
16556 arg1
= wxString_in_helper(swig_obj
[0]);
16557 if (arg1
== NULL
) SWIG_fail
;
16561 arg2
= wxString_in_helper(swig_obj
[1]);
16562 if (arg2
== NULL
) SWIG_fail
;
16565 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16566 if (!SWIG_IsOK(ecode3
)) {
16567 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16569 arg3
= static_cast< size_t >(val3
);
16571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16572 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
16573 wxPyEndAllowThreads(__tstate
);
16574 if (PyErr_Occurred()) SWIG_fail
;
16578 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16580 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16605 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16606 PyObject
*resultobj
= 0;
16607 wxString
*arg1
= 0 ;
16608 wxString
*arg2
= 0 ;
16610 wxString
*arg4
= 0 ;
16612 bool temp1
= false ;
16613 bool temp2
= false ;
16616 bool temp4
= false ;
16618 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
16620 arg1
= wxString_in_helper(swig_obj
[0]);
16621 if (arg1
== NULL
) SWIG_fail
;
16625 arg2
= wxString_in_helper(swig_obj
[1]);
16626 if (arg2
== NULL
) SWIG_fail
;
16629 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16630 if (!SWIG_IsOK(ecode3
)) {
16631 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16633 arg3
= static_cast< size_t >(val3
);
16635 arg4
= wxString_in_helper(swig_obj
[3]);
16636 if (arg4
== NULL
) SWIG_fail
;
16640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16641 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
16642 wxPyEndAllowThreads(__tstate
);
16643 if (PyErr_Occurred()) SWIG_fail
;
16647 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16649 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16682 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
16686 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
16689 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
16692 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
16695 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
16698 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
16702 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
16707 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16708 PyObject
*resultobj
= 0;
16709 wxEncodingConverter
*result
= 0 ;
16711 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
16713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16714 result
= (wxEncodingConverter
*)new wxEncodingConverter();
16715 wxPyEndAllowThreads(__tstate
);
16716 if (PyErr_Occurred()) SWIG_fail
;
16718 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
16725 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16726 PyObject
*resultobj
= 0;
16727 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16730 PyObject
*swig_obj
[1] ;
16732 if (!args
) SWIG_fail
;
16733 swig_obj
[0] = args
;
16734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
16735 if (!SWIG_IsOK(res1
)) {
16736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16738 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16743 wxPyEndAllowThreads(__tstate
);
16744 if (PyErr_Occurred()) SWIG_fail
;
16746 resultobj
= SWIG_Py_Void();
16753 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16754 PyObject
*resultobj
= 0;
16755 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16756 wxFontEncoding arg2
;
16757 wxFontEncoding arg3
;
16758 int arg4
= (int) wxCONVERT_STRICT
;
16768 PyObject
* obj0
= 0 ;
16769 PyObject
* obj1
= 0 ;
16770 PyObject
* obj2
= 0 ;
16771 PyObject
* obj3
= 0 ;
16772 char * kwnames
[] = {
16773 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
16776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
16778 if (!SWIG_IsOK(res1
)) {
16779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16781 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16782 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16783 if (!SWIG_IsOK(ecode2
)) {
16784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16786 arg2
= static_cast< wxFontEncoding
>(val2
);
16787 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16788 if (!SWIG_IsOK(ecode3
)) {
16789 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
16791 arg3
= static_cast< wxFontEncoding
>(val3
);
16793 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16794 if (!SWIG_IsOK(ecode4
)) {
16795 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
16797 arg4
= static_cast< int >(val4
);
16800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16801 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
16802 wxPyEndAllowThreads(__tstate
);
16803 if (PyErr_Occurred()) SWIG_fail
;
16806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16814 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16815 PyObject
*resultobj
= 0;
16816 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16817 wxString
*arg2
= 0 ;
16821 bool temp2
= false ;
16822 PyObject
* obj0
= 0 ;
16823 PyObject
* obj1
= 0 ;
16824 char * kwnames
[] = {
16825 (char *) "self",(char *) "input", NULL
16828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
16830 if (!SWIG_IsOK(res1
)) {
16831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16833 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16835 arg2
= wxString_in_helper(obj1
);
16836 if (arg2
== NULL
) SWIG_fail
;
16840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16841 result
= (arg1
)->Convert((wxString
const &)*arg2
);
16842 wxPyEndAllowThreads(__tstate
);
16843 if (PyErr_Occurred()) SWIG_fail
;
16847 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16849 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16866 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16867 PyObject
*resultobj
= 0;
16868 wxFontEncoding arg1
;
16869 int arg2
= (int) wxPLATFORM_CURRENT
;
16870 wxFontEncodingArray result
;
16875 PyObject
* obj0
= 0 ;
16876 PyObject
* obj1
= 0 ;
16877 char * kwnames
[] = {
16878 (char *) "enc",(char *) "platform", NULL
16881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16882 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16883 if (!SWIG_IsOK(ecode1
)) {
16884 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
16886 arg1
= static_cast< wxFontEncoding
>(val1
);
16888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16889 if (!SWIG_IsOK(ecode2
)) {
16890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
16892 arg2
= static_cast< int >(val2
);
16895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16896 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
16897 wxPyEndAllowThreads(__tstate
);
16898 if (PyErr_Occurred()) SWIG_fail
;
16901 resultobj
= PyList_New(0);
16902 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
16903 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
16904 PyList_Append(resultobj
, number
);
16914 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16915 PyObject
*resultobj
= 0;
16916 wxFontEncoding arg1
;
16917 wxFontEncodingArray result
;
16920 PyObject
* obj0
= 0 ;
16921 char * kwnames
[] = {
16922 (char *) "enc", NULL
16925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
16926 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16927 if (!SWIG_IsOK(ecode1
)) {
16928 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
16930 arg1
= static_cast< wxFontEncoding
>(val1
);
16932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16933 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
16934 wxPyEndAllowThreads(__tstate
);
16935 if (PyErr_Occurred()) SWIG_fail
;
16938 resultobj
= PyList_New(0);
16939 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
16940 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
16941 PyList_Append(resultobj
, number
);
16951 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16952 PyObject
*resultobj
= 0;
16953 wxFontEncoding arg1
;
16954 wxFontEncoding arg2
;
16960 PyObject
* obj0
= 0 ;
16961 PyObject
* obj1
= 0 ;
16962 char * kwnames
[] = {
16963 (char *) "encIn",(char *) "encOut", NULL
16966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16967 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16968 if (!SWIG_IsOK(ecode1
)) {
16969 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
16971 arg1
= static_cast< wxFontEncoding
>(val1
);
16972 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16973 if (!SWIG_IsOK(ecode2
)) {
16974 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16976 arg2
= static_cast< wxFontEncoding
>(val2
);
16978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16979 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
16980 wxPyEndAllowThreads(__tstate
);
16981 if (PyErr_Occurred()) SWIG_fail
;
16984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16992 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16994 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16995 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
16996 return SWIG_Py_Void();
16999 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17000 return SWIG_Python_InitShadowInstance(args
);
17003 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17004 PyObject
*resultobj
= 0;
17005 wxDC
*arg1
= (wxDC
*) 0 ;
17008 PyObject
*swig_obj
[1] ;
17010 if (!args
) SWIG_fail
;
17011 swig_obj
[0] = args
;
17012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17013 if (!SWIG_IsOK(res1
)) {
17014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17016 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17021 wxPyEndAllowThreads(__tstate
);
17022 if (PyErr_Occurred()) SWIG_fail
;
17024 resultobj
= SWIG_Py_Void();
17031 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17032 PyObject
*resultobj
= 0;
17033 wxDC
*arg1
= (wxDC
*) 0 ;
17036 wxColour
*arg4
= 0 ;
17037 int arg5
= (int) wxFLOOD_SURFACE
;
17048 PyObject
* obj0
= 0 ;
17049 PyObject
* obj1
= 0 ;
17050 PyObject
* obj2
= 0 ;
17051 PyObject
* obj3
= 0 ;
17052 PyObject
* obj4
= 0 ;
17053 char * kwnames
[] = {
17054 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17059 if (!SWIG_IsOK(res1
)) {
17060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17062 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17064 if (!SWIG_IsOK(ecode2
)) {
17065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17067 arg2
= static_cast< int >(val2
);
17068 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17069 if (!SWIG_IsOK(ecode3
)) {
17070 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17072 arg3
= static_cast< int >(val3
);
17075 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17078 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17079 if (!SWIG_IsOK(ecode5
)) {
17080 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17082 arg5
= static_cast< int >(val5
);
17085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17086 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17087 wxPyEndAllowThreads(__tstate
);
17088 if (PyErr_Occurred()) SWIG_fail
;
17091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17099 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17100 PyObject
*resultobj
= 0;
17101 wxDC
*arg1
= (wxDC
*) 0 ;
17102 wxPoint
*arg2
= 0 ;
17103 wxColour
*arg3
= 0 ;
17104 int arg4
= (int) wxFLOOD_SURFACE
;
17112 PyObject
* obj0
= 0 ;
17113 PyObject
* obj1
= 0 ;
17114 PyObject
* obj2
= 0 ;
17115 PyObject
* obj3
= 0 ;
17116 char * kwnames
[] = {
17117 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17122 if (!SWIG_IsOK(res1
)) {
17123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17125 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17128 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17132 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17135 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17136 if (!SWIG_IsOK(ecode4
)) {
17137 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17139 arg4
= static_cast< int >(val4
);
17142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17143 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17144 wxPyEndAllowThreads(__tstate
);
17145 if (PyErr_Occurred()) SWIG_fail
;
17148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17156 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17157 PyObject
*resultobj
= 0;
17158 wxDC
*arg1
= (wxDC
*) 0 ;
17160 wxColour
*arg3
= 0 ;
17161 wxColour
*arg4
= 0 ;
17162 wxPoint
*arg5
= 0 ;
17169 PyObject
* obj0
= 0 ;
17170 PyObject
* obj1
= 0 ;
17171 PyObject
* obj2
= 0 ;
17172 PyObject
* obj3
= 0 ;
17173 PyObject
* obj4
= 0 ;
17174 char * kwnames
[] = {
17175 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17180 if (!SWIG_IsOK(res1
)) {
17181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17183 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17186 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17190 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17194 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17198 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17202 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17203 wxPyEndAllowThreads(__tstate
);
17204 if (PyErr_Occurred()) SWIG_fail
;
17206 resultobj
= SWIG_Py_Void();
17213 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17214 PyObject
*resultobj
= 0;
17215 wxDC
*arg1
= (wxDC
*) 0 ;
17217 wxColour
*arg3
= 0 ;
17218 wxColour
*arg4
= 0 ;
17219 wxDirection arg5
= (wxDirection
) wxEAST
;
17227 PyObject
* obj0
= 0 ;
17228 PyObject
* obj1
= 0 ;
17229 PyObject
* obj2
= 0 ;
17230 PyObject
* obj3
= 0 ;
17231 PyObject
* obj4
= 0 ;
17232 char * kwnames
[] = {
17233 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17238 if (!SWIG_IsOK(res1
)) {
17239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17241 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17244 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17248 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17252 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17255 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17256 if (!SWIG_IsOK(ecode5
)) {
17257 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17259 arg5
= static_cast< wxDirection
>(val5
);
17262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17263 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17264 wxPyEndAllowThreads(__tstate
);
17265 if (PyErr_Occurred()) SWIG_fail
;
17267 resultobj
= SWIG_Py_Void();
17274 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17275 PyObject
*resultobj
= 0;
17276 wxDC
*arg1
= (wxDC
*) 0 ;
17286 PyObject
* obj0
= 0 ;
17287 PyObject
* obj1
= 0 ;
17288 PyObject
* obj2
= 0 ;
17289 char * kwnames
[] = {
17290 (char *) "self",(char *) "x",(char *) "y", NULL
17293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17295 if (!SWIG_IsOK(res1
)) {
17296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17298 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17299 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17300 if (!SWIG_IsOK(ecode2
)) {
17301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17303 arg2
= static_cast< int >(val2
);
17304 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17305 if (!SWIG_IsOK(ecode3
)) {
17306 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17308 arg3
= static_cast< int >(val3
);
17310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17311 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17312 wxPyEndAllowThreads(__tstate
);
17313 if (PyErr_Occurred()) SWIG_fail
;
17315 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17322 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17323 PyObject
*resultobj
= 0;
17324 wxDC
*arg1
= (wxDC
*) 0 ;
17325 wxPoint
*arg2
= 0 ;
17330 PyObject
* obj0
= 0 ;
17331 PyObject
* obj1
= 0 ;
17332 char * kwnames
[] = {
17333 (char *) "self",(char *) "pt", NULL
17336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17338 if (!SWIG_IsOK(res1
)) {
17339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17341 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17344 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17348 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17349 wxPyEndAllowThreads(__tstate
);
17350 if (PyErr_Occurred()) SWIG_fail
;
17352 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17359 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17360 PyObject
*resultobj
= 0;
17361 wxDC
*arg1
= (wxDC
*) 0 ;
17376 PyObject
* obj0
= 0 ;
17377 PyObject
* obj1
= 0 ;
17378 PyObject
* obj2
= 0 ;
17379 PyObject
* obj3
= 0 ;
17380 PyObject
* obj4
= 0 ;
17381 char * kwnames
[] = {
17382 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17387 if (!SWIG_IsOK(res1
)) {
17388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17390 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17391 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17392 if (!SWIG_IsOK(ecode2
)) {
17393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17395 arg2
= static_cast< int >(val2
);
17396 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17397 if (!SWIG_IsOK(ecode3
)) {
17398 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17400 arg3
= static_cast< int >(val3
);
17401 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17402 if (!SWIG_IsOK(ecode4
)) {
17403 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17405 arg4
= static_cast< int >(val4
);
17406 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17407 if (!SWIG_IsOK(ecode5
)) {
17408 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17410 arg5
= static_cast< int >(val5
);
17412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17413 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17414 wxPyEndAllowThreads(__tstate
);
17415 if (PyErr_Occurred()) SWIG_fail
;
17417 resultobj
= SWIG_Py_Void();
17424 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17425 PyObject
*resultobj
= 0;
17426 wxDC
*arg1
= (wxDC
*) 0 ;
17427 wxPoint
*arg2
= 0 ;
17428 wxPoint
*arg3
= 0 ;
17433 PyObject
* obj0
= 0 ;
17434 PyObject
* obj1
= 0 ;
17435 PyObject
* obj2
= 0 ;
17436 char * kwnames
[] = {
17437 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17442 if (!SWIG_IsOK(res1
)) {
17443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17445 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17448 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17452 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17456 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
17457 wxPyEndAllowThreads(__tstate
);
17458 if (PyErr_Occurred()) SWIG_fail
;
17460 resultobj
= SWIG_Py_Void();
17467 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17468 PyObject
*resultobj
= 0;
17469 wxDC
*arg1
= (wxDC
*) 0 ;
17478 PyObject
* obj0
= 0 ;
17479 PyObject
* obj1
= 0 ;
17480 PyObject
* obj2
= 0 ;
17481 char * kwnames
[] = {
17482 (char *) "self",(char *) "x",(char *) "y", NULL
17485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17487 if (!SWIG_IsOK(res1
)) {
17488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
17490 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17491 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17492 if (!SWIG_IsOK(ecode2
)) {
17493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
17495 arg2
= static_cast< int >(val2
);
17496 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17497 if (!SWIG_IsOK(ecode3
)) {
17498 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
17500 arg3
= static_cast< int >(val3
);
17502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17503 (arg1
)->CrossHair(arg2
,arg3
);
17504 wxPyEndAllowThreads(__tstate
);
17505 if (PyErr_Occurred()) SWIG_fail
;
17507 resultobj
= SWIG_Py_Void();
17514 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17515 PyObject
*resultobj
= 0;
17516 wxDC
*arg1
= (wxDC
*) 0 ;
17517 wxPoint
*arg2
= 0 ;
17521 PyObject
* obj0
= 0 ;
17522 PyObject
* obj1
= 0 ;
17523 char * kwnames
[] = {
17524 (char *) "self",(char *) "pt", NULL
17527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17529 if (!SWIG_IsOK(res1
)) {
17530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17532 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17535 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17539 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
17540 wxPyEndAllowThreads(__tstate
);
17541 if (PyErr_Occurred()) SWIG_fail
;
17543 resultobj
= SWIG_Py_Void();
17550 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17551 PyObject
*resultobj
= 0;
17552 wxDC
*arg1
= (wxDC
*) 0 ;
17573 PyObject
* obj0
= 0 ;
17574 PyObject
* obj1
= 0 ;
17575 PyObject
* obj2
= 0 ;
17576 PyObject
* obj3
= 0 ;
17577 PyObject
* obj4
= 0 ;
17578 PyObject
* obj5
= 0 ;
17579 PyObject
* obj6
= 0 ;
17580 char * kwnames
[] = {
17581 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
17584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17586 if (!SWIG_IsOK(res1
)) {
17587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
17589 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17591 if (!SWIG_IsOK(ecode2
)) {
17592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
17594 arg2
= static_cast< int >(val2
);
17595 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17596 if (!SWIG_IsOK(ecode3
)) {
17597 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
17599 arg3
= static_cast< int >(val3
);
17600 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17601 if (!SWIG_IsOK(ecode4
)) {
17602 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
17604 arg4
= static_cast< int >(val4
);
17605 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17606 if (!SWIG_IsOK(ecode5
)) {
17607 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
17609 arg5
= static_cast< int >(val5
);
17610 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17611 if (!SWIG_IsOK(ecode6
)) {
17612 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
17614 arg6
= static_cast< int >(val6
);
17615 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
17616 if (!SWIG_IsOK(ecode7
)) {
17617 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
17619 arg7
= static_cast< int >(val7
);
17621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17622 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17623 wxPyEndAllowThreads(__tstate
);
17624 if (PyErr_Occurred()) SWIG_fail
;
17626 resultobj
= SWIG_Py_Void();
17633 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17634 PyObject
*resultobj
= 0;
17635 wxDC
*arg1
= (wxDC
*) 0 ;
17636 wxPoint
*arg2
= 0 ;
17637 wxPoint
*arg3
= 0 ;
17638 wxPoint
*arg4
= 0 ;
17644 PyObject
* obj0
= 0 ;
17645 PyObject
* obj1
= 0 ;
17646 PyObject
* obj2
= 0 ;
17647 PyObject
* obj3
= 0 ;
17648 char * kwnames
[] = {
17649 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
17652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17654 if (!SWIG_IsOK(res1
)) {
17655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17657 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17660 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17664 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17668 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17672 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
17673 wxPyEndAllowThreads(__tstate
);
17674 if (PyErr_Occurred()) SWIG_fail
;
17676 resultobj
= SWIG_Py_Void();
17683 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17684 PyObject
*resultobj
= 0;
17685 wxDC
*arg1
= (wxDC
*) 0 ;
17700 PyObject
* obj0
= 0 ;
17701 PyObject
* obj1
= 0 ;
17702 PyObject
* obj2
= 0 ;
17703 PyObject
* obj3
= 0 ;
17704 PyObject
* obj4
= 0 ;
17705 char * kwnames
[] = {
17706 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17711 if (!SWIG_IsOK(res1
)) {
17712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
17714 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17715 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17716 if (!SWIG_IsOK(ecode2
)) {
17717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
17719 arg2
= static_cast< int >(val2
);
17720 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17721 if (!SWIG_IsOK(ecode3
)) {
17722 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
17724 arg3
= static_cast< int >(val3
);
17725 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17726 if (!SWIG_IsOK(ecode4
)) {
17727 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
17729 arg4
= static_cast< int >(val4
);
17730 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17731 if (!SWIG_IsOK(ecode5
)) {
17732 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
17734 arg5
= static_cast< int >(val5
);
17736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17737 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
17738 wxPyEndAllowThreads(__tstate
);
17739 if (PyErr_Occurred()) SWIG_fail
;
17741 resultobj
= SWIG_Py_Void();
17748 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17749 PyObject
*resultobj
= 0;
17750 wxDC
*arg1
= (wxDC
*) 0 ;
17755 PyObject
* obj0
= 0 ;
17756 PyObject
* obj1
= 0 ;
17757 char * kwnames
[] = {
17758 (char *) "self",(char *) "rect", NULL
17761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17763 if (!SWIG_IsOK(res1
)) {
17764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
17766 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17769 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17773 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
17774 wxPyEndAllowThreads(__tstate
);
17775 if (PyErr_Occurred()) SWIG_fail
;
17777 resultobj
= SWIG_Py_Void();
17784 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17785 PyObject
*resultobj
= 0;
17786 wxDC
*arg1
= (wxDC
*) 0 ;
17807 PyObject
* obj0
= 0 ;
17808 PyObject
* obj1
= 0 ;
17809 PyObject
* obj2
= 0 ;
17810 PyObject
* obj3
= 0 ;
17811 PyObject
* obj4
= 0 ;
17812 PyObject
* obj5
= 0 ;
17813 PyObject
* obj6
= 0 ;
17814 char * kwnames
[] = {
17815 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
17818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17820 if (!SWIG_IsOK(res1
)) {
17821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
17823 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17824 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17825 if (!SWIG_IsOK(ecode2
)) {
17826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
17828 arg2
= static_cast< int >(val2
);
17829 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17830 if (!SWIG_IsOK(ecode3
)) {
17831 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
17833 arg3
= static_cast< int >(val3
);
17834 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17835 if (!SWIG_IsOK(ecode4
)) {
17836 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
17838 arg4
= static_cast< int >(val4
);
17839 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17840 if (!SWIG_IsOK(ecode5
)) {
17841 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
17843 arg5
= static_cast< int >(val5
);
17844 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
17845 if (!SWIG_IsOK(ecode6
)) {
17846 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
17848 arg6
= static_cast< double >(val6
);
17849 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
17850 if (!SWIG_IsOK(ecode7
)) {
17851 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
17853 arg7
= static_cast< double >(val7
);
17855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17856 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17857 wxPyEndAllowThreads(__tstate
);
17858 if (PyErr_Occurred()) SWIG_fail
;
17860 resultobj
= SWIG_Py_Void();
17867 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17868 PyObject
*resultobj
= 0;
17869 wxDC
*arg1
= (wxDC
*) 0 ;
17870 wxPoint
*arg2
= 0 ;
17882 PyObject
* obj0
= 0 ;
17883 PyObject
* obj1
= 0 ;
17884 PyObject
* obj2
= 0 ;
17885 PyObject
* obj3
= 0 ;
17886 PyObject
* obj4
= 0 ;
17887 char * kwnames
[] = {
17888 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
17891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17893 if (!SWIG_IsOK(res1
)) {
17894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
17896 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17899 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17903 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
17905 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
17906 if (!SWIG_IsOK(ecode4
)) {
17907 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
17909 arg4
= static_cast< double >(val4
);
17910 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
17911 if (!SWIG_IsOK(ecode5
)) {
17912 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
17914 arg5
= static_cast< double >(val5
);
17916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17917 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
17918 wxPyEndAllowThreads(__tstate
);
17919 if (PyErr_Occurred()) SWIG_fail
;
17921 resultobj
= SWIG_Py_Void();
17928 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17929 PyObject
*resultobj
= 0;
17930 wxDC
*arg1
= (wxDC
*) 0 ;
17939 PyObject
* obj0
= 0 ;
17940 PyObject
* obj1
= 0 ;
17941 PyObject
* obj2
= 0 ;
17942 char * kwnames
[] = {
17943 (char *) "self",(char *) "x",(char *) "y", NULL
17946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17948 if (!SWIG_IsOK(res1
)) {
17949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17951 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17952 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17953 if (!SWIG_IsOK(ecode2
)) {
17954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
17956 arg2
= static_cast< int >(val2
);
17957 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17958 if (!SWIG_IsOK(ecode3
)) {
17959 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
17961 arg3
= static_cast< int >(val3
);
17963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17964 (arg1
)->DrawPoint(arg2
,arg3
);
17965 wxPyEndAllowThreads(__tstate
);
17966 if (PyErr_Occurred()) SWIG_fail
;
17968 resultobj
= SWIG_Py_Void();
17975 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17976 PyObject
*resultobj
= 0;
17977 wxDC
*arg1
= (wxDC
*) 0 ;
17978 wxPoint
*arg2
= 0 ;
17982 PyObject
* obj0
= 0 ;
17983 PyObject
* obj1
= 0 ;
17984 char * kwnames
[] = {
17985 (char *) "self",(char *) "pt", NULL
17988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17990 if (!SWIG_IsOK(res1
)) {
17991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17993 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17996 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18000 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18001 wxPyEndAllowThreads(__tstate
);
18002 if (PyErr_Occurred()) SWIG_fail
;
18004 resultobj
= SWIG_Py_Void();
18011 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18012 PyObject
*resultobj
= 0;
18013 wxDC
*arg1
= (wxDC
*) 0 ;
18028 PyObject
* obj0
= 0 ;
18029 PyObject
* obj1
= 0 ;
18030 PyObject
* obj2
= 0 ;
18031 PyObject
* obj3
= 0 ;
18032 PyObject
* obj4
= 0 ;
18033 char * kwnames
[] = {
18034 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18039 if (!SWIG_IsOK(res1
)) {
18040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18042 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18043 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18044 if (!SWIG_IsOK(ecode2
)) {
18045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18047 arg2
= static_cast< int >(val2
);
18048 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18049 if (!SWIG_IsOK(ecode3
)) {
18050 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18052 arg3
= static_cast< int >(val3
);
18053 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18054 if (!SWIG_IsOK(ecode4
)) {
18055 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18057 arg4
= static_cast< int >(val4
);
18058 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18059 if (!SWIG_IsOK(ecode5
)) {
18060 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18062 arg5
= static_cast< int >(val5
);
18064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18065 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18066 wxPyEndAllowThreads(__tstate
);
18067 if (PyErr_Occurred()) SWIG_fail
;
18069 resultobj
= SWIG_Py_Void();
18076 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18077 PyObject
*resultobj
= 0;
18078 wxDC
*arg1
= (wxDC
*) 0 ;
18083 PyObject
* obj0
= 0 ;
18084 PyObject
* obj1
= 0 ;
18085 char * kwnames
[] = {
18086 (char *) "self",(char *) "rect", NULL
18089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18091 if (!SWIG_IsOK(res1
)) {
18092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18094 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18097 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18101 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18102 wxPyEndAllowThreads(__tstate
);
18103 if (PyErr_Occurred()) SWIG_fail
;
18105 resultobj
= SWIG_Py_Void();
18112 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18113 PyObject
*resultobj
= 0;
18114 wxDC
*arg1
= (wxDC
*) 0 ;
18115 wxPoint
*arg2
= 0 ;
18121 PyObject
* obj0
= 0 ;
18122 PyObject
* obj1
= 0 ;
18123 PyObject
* obj2
= 0 ;
18124 char * kwnames
[] = {
18125 (char *) "self",(char *) "pt",(char *) "sz", NULL
18128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18130 if (!SWIG_IsOK(res1
)) {
18131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18133 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18136 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18140 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18144 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18145 wxPyEndAllowThreads(__tstate
);
18146 if (PyErr_Occurred()) SWIG_fail
;
18148 resultobj
= SWIG_Py_Void();
18155 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18156 PyObject
*resultobj
= 0;
18157 wxDC
*arg1
= (wxDC
*) 0 ;
18175 PyObject
* obj0
= 0 ;
18176 PyObject
* obj1
= 0 ;
18177 PyObject
* obj2
= 0 ;
18178 PyObject
* obj3
= 0 ;
18179 PyObject
* obj4
= 0 ;
18180 PyObject
* obj5
= 0 ;
18181 char * kwnames
[] = {
18182 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18187 if (!SWIG_IsOK(res1
)) {
18188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18190 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18191 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18192 if (!SWIG_IsOK(ecode2
)) {
18193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18195 arg2
= static_cast< int >(val2
);
18196 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18197 if (!SWIG_IsOK(ecode3
)) {
18198 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18200 arg3
= static_cast< int >(val3
);
18201 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18202 if (!SWIG_IsOK(ecode4
)) {
18203 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18205 arg4
= static_cast< int >(val4
);
18206 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18207 if (!SWIG_IsOK(ecode5
)) {
18208 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18210 arg5
= static_cast< int >(val5
);
18211 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18212 if (!SWIG_IsOK(ecode6
)) {
18213 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18215 arg6
= static_cast< double >(val6
);
18217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18218 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18219 wxPyEndAllowThreads(__tstate
);
18220 if (PyErr_Occurred()) SWIG_fail
;
18222 resultobj
= SWIG_Py_Void();
18229 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18230 PyObject
*resultobj
= 0;
18231 wxDC
*arg1
= (wxDC
*) 0 ;
18239 PyObject
* obj0
= 0 ;
18240 PyObject
* obj1
= 0 ;
18241 PyObject
* obj2
= 0 ;
18242 char * kwnames
[] = {
18243 (char *) "self",(char *) "r",(char *) "radius", NULL
18246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18248 if (!SWIG_IsOK(res1
)) {
18249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18251 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18254 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18256 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18257 if (!SWIG_IsOK(ecode3
)) {
18258 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18260 arg3
= static_cast< double >(val3
);
18262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18263 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18264 wxPyEndAllowThreads(__tstate
);
18265 if (PyErr_Occurred()) SWIG_fail
;
18267 resultobj
= SWIG_Py_Void();
18274 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18275 PyObject
*resultobj
= 0;
18276 wxDC
*arg1
= (wxDC
*) 0 ;
18277 wxPoint
*arg2
= 0 ;
18286 PyObject
* obj0
= 0 ;
18287 PyObject
* obj1
= 0 ;
18288 PyObject
* obj2
= 0 ;
18289 PyObject
* obj3
= 0 ;
18290 char * kwnames
[] = {
18291 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18296 if (!SWIG_IsOK(res1
)) {
18297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18299 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18302 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18306 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18308 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18309 if (!SWIG_IsOK(ecode4
)) {
18310 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18312 arg4
= static_cast< double >(val4
);
18314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18315 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18316 wxPyEndAllowThreads(__tstate
);
18317 if (PyErr_Occurred()) SWIG_fail
;
18319 resultobj
= SWIG_Py_Void();
18326 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18327 PyObject
*resultobj
= 0;
18328 wxDC
*arg1
= (wxDC
*) 0 ;
18340 PyObject
* obj0
= 0 ;
18341 PyObject
* obj1
= 0 ;
18342 PyObject
* obj2
= 0 ;
18343 PyObject
* obj3
= 0 ;
18344 char * kwnames
[] = {
18345 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18350 if (!SWIG_IsOK(res1
)) {
18351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18353 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18354 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18355 if (!SWIG_IsOK(ecode2
)) {
18356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18358 arg2
= static_cast< int >(val2
);
18359 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18360 if (!SWIG_IsOK(ecode3
)) {
18361 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18363 arg3
= static_cast< int >(val3
);
18364 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18365 if (!SWIG_IsOK(ecode4
)) {
18366 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18368 arg4
= static_cast< int >(val4
);
18370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18371 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18372 wxPyEndAllowThreads(__tstate
);
18373 if (PyErr_Occurred()) SWIG_fail
;
18375 resultobj
= SWIG_Py_Void();
18382 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18383 PyObject
*resultobj
= 0;
18384 wxDC
*arg1
= (wxDC
*) 0 ;
18385 wxPoint
*arg2
= 0 ;
18392 PyObject
* obj0
= 0 ;
18393 PyObject
* obj1
= 0 ;
18394 PyObject
* obj2
= 0 ;
18395 char * kwnames
[] = {
18396 (char *) "self",(char *) "pt",(char *) "radius", NULL
18399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18401 if (!SWIG_IsOK(res1
)) {
18402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18404 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18407 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18409 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18410 if (!SWIG_IsOK(ecode3
)) {
18411 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18413 arg3
= static_cast< int >(val3
);
18415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18416 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18417 wxPyEndAllowThreads(__tstate
);
18418 if (PyErr_Occurred()) SWIG_fail
;
18420 resultobj
= SWIG_Py_Void();
18427 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18428 PyObject
*resultobj
= 0;
18429 wxDC
*arg1
= (wxDC
*) 0 ;
18444 PyObject
* obj0
= 0 ;
18445 PyObject
* obj1
= 0 ;
18446 PyObject
* obj2
= 0 ;
18447 PyObject
* obj3
= 0 ;
18448 PyObject
* obj4
= 0 ;
18449 char * kwnames
[] = {
18450 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18455 if (!SWIG_IsOK(res1
)) {
18456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
18458 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18460 if (!SWIG_IsOK(ecode2
)) {
18461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
18463 arg2
= static_cast< int >(val2
);
18464 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18465 if (!SWIG_IsOK(ecode3
)) {
18466 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
18468 arg3
= static_cast< int >(val3
);
18469 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18470 if (!SWIG_IsOK(ecode4
)) {
18471 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
18473 arg4
= static_cast< int >(val4
);
18474 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18475 if (!SWIG_IsOK(ecode5
)) {
18476 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
18478 arg5
= static_cast< int >(val5
);
18480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18481 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
18482 wxPyEndAllowThreads(__tstate
);
18483 if (PyErr_Occurred()) SWIG_fail
;
18485 resultobj
= SWIG_Py_Void();
18492 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18493 PyObject
*resultobj
= 0;
18494 wxDC
*arg1
= (wxDC
*) 0 ;
18499 PyObject
* obj0
= 0 ;
18500 PyObject
* obj1
= 0 ;
18501 char * kwnames
[] = {
18502 (char *) "self",(char *) "rect", NULL
18505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18507 if (!SWIG_IsOK(res1
)) {
18508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
18510 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18513 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18517 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
18518 wxPyEndAllowThreads(__tstate
);
18519 if (PyErr_Occurred()) SWIG_fail
;
18521 resultobj
= SWIG_Py_Void();
18528 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18529 PyObject
*resultobj
= 0;
18530 wxDC
*arg1
= (wxDC
*) 0 ;
18531 wxPoint
*arg2
= 0 ;
18537 PyObject
* obj0
= 0 ;
18538 PyObject
* obj1
= 0 ;
18539 PyObject
* obj2
= 0 ;
18540 char * kwnames
[] = {
18541 (char *) "self",(char *) "pt",(char *) "sz", NULL
18544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18546 if (!SWIG_IsOK(res1
)) {
18547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18549 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18552 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18556 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18560 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18561 wxPyEndAllowThreads(__tstate
);
18562 if (PyErr_Occurred()) SWIG_fail
;
18564 resultobj
= SWIG_Py_Void();
18571 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18572 PyObject
*resultobj
= 0;
18573 wxDC
*arg1
= (wxDC
*) 0 ;
18585 PyObject
* obj0
= 0 ;
18586 PyObject
* obj1
= 0 ;
18587 PyObject
* obj2
= 0 ;
18588 PyObject
* obj3
= 0 ;
18589 char * kwnames
[] = {
18590 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
18593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18595 if (!SWIG_IsOK(res1
)) {
18596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
18598 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18599 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18600 if (!SWIG_IsOK(res2
)) {
18601 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18604 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18606 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18607 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18608 if (!SWIG_IsOK(ecode3
)) {
18609 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
18611 arg3
= static_cast< int >(val3
);
18612 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18613 if (!SWIG_IsOK(ecode4
)) {
18614 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
18616 arg4
= static_cast< int >(val4
);
18618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18619 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
18620 wxPyEndAllowThreads(__tstate
);
18621 if (PyErr_Occurred()) SWIG_fail
;
18623 resultobj
= SWIG_Py_Void();
18630 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18631 PyObject
*resultobj
= 0;
18632 wxDC
*arg1
= (wxDC
*) 0 ;
18634 wxPoint
*arg3
= 0 ;
18640 PyObject
* obj0
= 0 ;
18641 PyObject
* obj1
= 0 ;
18642 PyObject
* obj2
= 0 ;
18643 char * kwnames
[] = {
18644 (char *) "self",(char *) "icon",(char *) "pt", NULL
18647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18649 if (!SWIG_IsOK(res1
)) {
18650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18652 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18653 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18654 if (!SWIG_IsOK(res2
)) {
18655 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
18658 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
18660 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18663 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18667 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
18668 wxPyEndAllowThreads(__tstate
);
18669 if (PyErr_Occurred()) SWIG_fail
;
18671 resultobj
= SWIG_Py_Void();
18678 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18679 PyObject
*resultobj
= 0;
18680 wxDC
*arg1
= (wxDC
*) 0 ;
18681 wxBitmap
*arg2
= 0 ;
18684 bool arg5
= (bool) false ;
18695 PyObject
* obj0
= 0 ;
18696 PyObject
* obj1
= 0 ;
18697 PyObject
* obj2
= 0 ;
18698 PyObject
* obj3
= 0 ;
18699 PyObject
* obj4
= 0 ;
18700 char * kwnames
[] = {
18701 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
18704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18706 if (!SWIG_IsOK(res1
)) {
18707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
18709 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18710 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
18711 if (!SWIG_IsOK(res2
)) {
18712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18715 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18717 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
18718 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18719 if (!SWIG_IsOK(ecode3
)) {
18720 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
18722 arg3
= static_cast< int >(val3
);
18723 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18724 if (!SWIG_IsOK(ecode4
)) {
18725 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
18727 arg4
= static_cast< int >(val4
);
18729 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
18730 if (!SWIG_IsOK(ecode5
)) {
18731 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
18733 arg5
= static_cast< bool >(val5
);
18736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18737 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
18738 wxPyEndAllowThreads(__tstate
);
18739 if (PyErr_Occurred()) SWIG_fail
;
18741 resultobj
= SWIG_Py_Void();
18748 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18749 PyObject
*resultobj
= 0;
18750 wxDC
*arg1
= (wxDC
*) 0 ;
18751 wxBitmap
*arg2
= 0 ;
18752 wxPoint
*arg3
= 0 ;
18753 bool arg4
= (bool) false ;
18761 PyObject
* obj0
= 0 ;
18762 PyObject
* obj1
= 0 ;
18763 PyObject
* obj2
= 0 ;
18764 PyObject
* obj3
= 0 ;
18765 char * kwnames
[] = {
18766 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
18769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18771 if (!SWIG_IsOK(res1
)) {
18772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18774 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18775 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
18776 if (!SWIG_IsOK(res2
)) {
18777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18780 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18782 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
18785 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18788 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
18789 if (!SWIG_IsOK(ecode4
)) {
18790 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
18792 arg4
= static_cast< bool >(val4
);
18795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18796 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
18797 wxPyEndAllowThreads(__tstate
);
18798 if (PyErr_Occurred()) SWIG_fail
;
18800 resultobj
= SWIG_Py_Void();
18807 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18808 PyObject
*resultobj
= 0;
18809 wxDC
*arg1
= (wxDC
*) 0 ;
18810 wxString
*arg2
= 0 ;
18815 bool temp2
= false ;
18820 PyObject
* obj0
= 0 ;
18821 PyObject
* obj1
= 0 ;
18822 PyObject
* obj2
= 0 ;
18823 PyObject
* obj3
= 0 ;
18824 char * kwnames
[] = {
18825 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
18828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18830 if (!SWIG_IsOK(res1
)) {
18831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
18833 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18835 arg2
= wxString_in_helper(obj1
);
18836 if (arg2
== NULL
) SWIG_fail
;
18839 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18840 if (!SWIG_IsOK(ecode3
)) {
18841 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
18843 arg3
= static_cast< int >(val3
);
18844 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18845 if (!SWIG_IsOK(ecode4
)) {
18846 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
18848 arg4
= static_cast< int >(val4
);
18850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18851 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
18852 wxPyEndAllowThreads(__tstate
);
18853 if (PyErr_Occurred()) SWIG_fail
;
18855 resultobj
= SWIG_Py_Void();
18870 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18871 PyObject
*resultobj
= 0;
18872 wxDC
*arg1
= (wxDC
*) 0 ;
18873 wxString
*arg2
= 0 ;
18874 wxPoint
*arg3
= 0 ;
18877 bool temp2
= false ;
18879 PyObject
* obj0
= 0 ;
18880 PyObject
* obj1
= 0 ;
18881 PyObject
* obj2
= 0 ;
18882 char * kwnames
[] = {
18883 (char *) "self",(char *) "text",(char *) "pt", NULL
18886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18888 if (!SWIG_IsOK(res1
)) {
18889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18891 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18893 arg2
= wxString_in_helper(obj1
);
18894 if (arg2
== NULL
) SWIG_fail
;
18899 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18903 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
18904 wxPyEndAllowThreads(__tstate
);
18905 if (PyErr_Occurred()) SWIG_fail
;
18907 resultobj
= SWIG_Py_Void();
18922 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18923 PyObject
*resultobj
= 0;
18924 wxDC
*arg1
= (wxDC
*) 0 ;
18925 wxString
*arg2
= 0 ;
18931 bool temp2
= false ;
18938 PyObject
* obj0
= 0 ;
18939 PyObject
* obj1
= 0 ;
18940 PyObject
* obj2
= 0 ;
18941 PyObject
* obj3
= 0 ;
18942 PyObject
* obj4
= 0 ;
18943 char * kwnames
[] = {
18944 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
18947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18949 if (!SWIG_IsOK(res1
)) {
18950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
18952 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18954 arg2
= wxString_in_helper(obj1
);
18955 if (arg2
== NULL
) SWIG_fail
;
18958 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18959 if (!SWIG_IsOK(ecode3
)) {
18960 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
18962 arg3
= static_cast< int >(val3
);
18963 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18964 if (!SWIG_IsOK(ecode4
)) {
18965 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
18967 arg4
= static_cast< int >(val4
);
18968 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18969 if (!SWIG_IsOK(ecode5
)) {
18970 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
18972 arg5
= static_cast< double >(val5
);
18974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18975 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
18976 wxPyEndAllowThreads(__tstate
);
18977 if (PyErr_Occurred()) SWIG_fail
;
18979 resultobj
= SWIG_Py_Void();
18994 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18995 PyObject
*resultobj
= 0;
18996 wxDC
*arg1
= (wxDC
*) 0 ;
18997 wxString
*arg2
= 0 ;
18998 wxPoint
*arg3
= 0 ;
19002 bool temp2
= false ;
19006 PyObject
* obj0
= 0 ;
19007 PyObject
* obj1
= 0 ;
19008 PyObject
* obj2
= 0 ;
19009 PyObject
* obj3
= 0 ;
19010 char * kwnames
[] = {
19011 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19016 if (!SWIG_IsOK(res1
)) {
19017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19019 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19021 arg2
= wxString_in_helper(obj1
);
19022 if (arg2
== NULL
) SWIG_fail
;
19027 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19029 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19030 if (!SWIG_IsOK(ecode4
)) {
19031 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19033 arg4
= static_cast< double >(val4
);
19035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19036 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19037 wxPyEndAllowThreads(__tstate
);
19038 if (PyErr_Occurred()) SWIG_fail
;
19040 resultobj
= SWIG_Py_Void();
19055 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19056 PyObject
*resultobj
= 0;
19057 wxDC
*arg1
= (wxDC
*) 0 ;
19062 wxDC
*arg6
= (wxDC
*) 0 ;
19065 int arg9
= (int) wxCOPY
;
19066 bool arg10
= (bool) false ;
19067 int arg11
= (int) -1 ;
19068 int arg12
= (int) -1 ;
19094 PyObject
* obj0
= 0 ;
19095 PyObject
* obj1
= 0 ;
19096 PyObject
* obj2
= 0 ;
19097 PyObject
* obj3
= 0 ;
19098 PyObject
* obj4
= 0 ;
19099 PyObject
* obj5
= 0 ;
19100 PyObject
* obj6
= 0 ;
19101 PyObject
* obj7
= 0 ;
19102 PyObject
* obj8
= 0 ;
19103 PyObject
* obj9
= 0 ;
19104 PyObject
* obj10
= 0 ;
19105 PyObject
* obj11
= 0 ;
19106 char * kwnames
[] = {
19107 (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
19110 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
;
19111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19112 if (!SWIG_IsOK(res1
)) {
19113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19115 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19116 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19117 if (!SWIG_IsOK(ecode2
)) {
19118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19120 arg2
= static_cast< int >(val2
);
19121 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19122 if (!SWIG_IsOK(ecode3
)) {
19123 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19125 arg3
= static_cast< int >(val3
);
19126 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19127 if (!SWIG_IsOK(ecode4
)) {
19128 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19130 arg4
= static_cast< int >(val4
);
19131 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19132 if (!SWIG_IsOK(ecode5
)) {
19133 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19135 arg5
= static_cast< int >(val5
);
19136 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19137 if (!SWIG_IsOK(res6
)) {
19138 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19140 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19141 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19142 if (!SWIG_IsOK(ecode7
)) {
19143 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19145 arg7
= static_cast< int >(val7
);
19146 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19147 if (!SWIG_IsOK(ecode8
)) {
19148 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19150 arg8
= static_cast< int >(val8
);
19152 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19153 if (!SWIG_IsOK(ecode9
)) {
19154 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19156 arg9
= static_cast< int >(val9
);
19159 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19160 if (!SWIG_IsOK(ecode10
)) {
19161 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19163 arg10
= static_cast< bool >(val10
);
19166 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19167 if (!SWIG_IsOK(ecode11
)) {
19168 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19170 arg11
= static_cast< int >(val11
);
19173 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19174 if (!SWIG_IsOK(ecode12
)) {
19175 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19177 arg12
= static_cast< int >(val12
);
19180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19181 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19182 wxPyEndAllowThreads(__tstate
);
19183 if (PyErr_Occurred()) SWIG_fail
;
19186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19194 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19195 PyObject
*resultobj
= 0;
19196 wxDC
*arg1
= (wxDC
*) 0 ;
19197 wxPoint
*arg2
= 0 ;
19199 wxDC
*arg4
= (wxDC
*) 0 ;
19200 wxPoint
*arg5
= 0 ;
19201 int arg6
= (int) wxCOPY
;
19202 bool arg7
= (bool) false ;
19203 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19204 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19218 PyObject
* obj0
= 0 ;
19219 PyObject
* obj1
= 0 ;
19220 PyObject
* obj2
= 0 ;
19221 PyObject
* obj3
= 0 ;
19222 PyObject
* obj4
= 0 ;
19223 PyObject
* obj5
= 0 ;
19224 PyObject
* obj6
= 0 ;
19225 PyObject
* obj7
= 0 ;
19226 char * kwnames
[] = {
19227 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19232 if (!SWIG_IsOK(res1
)) {
19233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19235 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19238 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19242 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19244 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19245 if (!SWIG_IsOK(res4
)) {
19246 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19248 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19251 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19254 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19255 if (!SWIG_IsOK(ecode6
)) {
19256 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19258 arg6
= static_cast< int >(val6
);
19261 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19262 if (!SWIG_IsOK(ecode7
)) {
19263 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19265 arg7
= static_cast< bool >(val7
);
19270 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19275 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19276 wxPyEndAllowThreads(__tstate
);
19277 if (PyErr_Occurred()) SWIG_fail
;
19280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19288 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19289 PyObject
*resultobj
= 0;
19290 wxDC
*arg1
= (wxDC
*) 0 ;
19305 PyObject
* obj0
= 0 ;
19306 PyObject
* obj1
= 0 ;
19307 PyObject
* obj2
= 0 ;
19308 PyObject
* obj3
= 0 ;
19309 PyObject
* obj4
= 0 ;
19310 char * kwnames
[] = {
19311 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19316 if (!SWIG_IsOK(res1
)) {
19317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19319 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19320 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19321 if (!SWIG_IsOK(ecode2
)) {
19322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19324 arg2
= static_cast< int >(val2
);
19325 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19326 if (!SWIG_IsOK(ecode3
)) {
19327 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19329 arg3
= static_cast< int >(val3
);
19330 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19331 if (!SWIG_IsOK(ecode4
)) {
19332 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19334 arg4
= static_cast< int >(val4
);
19335 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19336 if (!SWIG_IsOK(ecode5
)) {
19337 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19339 arg5
= static_cast< int >(val5
);
19341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19342 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19343 wxPyEndAllowThreads(__tstate
);
19344 if (PyErr_Occurred()) SWIG_fail
;
19346 resultobj
= SWIG_Py_Void();
19353 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19354 PyObject
*resultobj
= 0;
19355 wxDC
*arg1
= (wxDC
*) 0 ;
19356 wxPoint
*arg2
= 0 ;
19362 PyObject
* obj0
= 0 ;
19363 PyObject
* obj1
= 0 ;
19364 PyObject
* obj2
= 0 ;
19365 char * kwnames
[] = {
19366 (char *) "self",(char *) "pt",(char *) "sz", NULL
19369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19371 if (!SWIG_IsOK(res1
)) {
19372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19374 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19377 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19381 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19385 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19386 wxPyEndAllowThreads(__tstate
);
19387 if (PyErr_Occurred()) SWIG_fail
;
19389 resultobj
= SWIG_Py_Void();
19396 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19397 PyObject
*resultobj
= 0;
19398 wxDC
*arg1
= (wxDC
*) 0 ;
19399 wxRegion
*arg2
= 0 ;
19404 PyObject
* obj0
= 0 ;
19405 PyObject
* obj1
= 0 ;
19406 char * kwnames
[] = {
19407 (char *) "self",(char *) "region", NULL
19410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19412 if (!SWIG_IsOK(res1
)) {
19413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19415 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19416 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
19417 if (!SWIG_IsOK(res2
)) {
19418 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19421 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19423 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
19425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19426 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
19427 wxPyEndAllowThreads(__tstate
);
19428 if (PyErr_Occurred()) SWIG_fail
;
19430 resultobj
= SWIG_Py_Void();
19437 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19438 PyObject
*resultobj
= 0;
19439 wxDC
*arg1
= (wxDC
*) 0 ;
19444 PyObject
* obj0
= 0 ;
19445 PyObject
* obj1
= 0 ;
19446 char * kwnames
[] = {
19447 (char *) "self",(char *) "rect", NULL
19450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19452 if (!SWIG_IsOK(res1
)) {
19453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
19455 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19458 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19462 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
19463 wxPyEndAllowThreads(__tstate
);
19464 if (PyErr_Occurred()) SWIG_fail
;
19466 resultobj
= SWIG_Py_Void();
19473 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19474 PyObject
*resultobj
= 0;
19475 wxDC
*arg1
= (wxDC
*) 0 ;
19477 wxPoint
*arg3
= (wxPoint
*) 0 ;
19478 int arg4
= (int) 0 ;
19479 int arg5
= (int) 0 ;
19486 PyObject
* obj0
= 0 ;
19487 PyObject
* obj1
= 0 ;
19488 PyObject
* obj2
= 0 ;
19489 PyObject
* obj3
= 0 ;
19490 char * kwnames
[] = {
19491 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
19494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19496 if (!SWIG_IsOK(res1
)) {
19497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
19499 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19501 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19502 if (arg3
== NULL
) SWIG_fail
;
19505 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19506 if (!SWIG_IsOK(ecode4
)) {
19507 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
19509 arg4
= static_cast< int >(val4
);
19512 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19513 if (!SWIG_IsOK(ecode5
)) {
19514 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
19516 arg5
= static_cast< int >(val5
);
19519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19520 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
19521 wxPyEndAllowThreads(__tstate
);
19522 if (PyErr_Occurred()) SWIG_fail
;
19524 resultobj
= SWIG_Py_Void();
19526 if (arg3
) delete [] arg3
;
19531 if (arg3
) delete [] arg3
;
19537 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19538 PyObject
*resultobj
= 0;
19539 wxDC
*arg1
= (wxDC
*) 0 ;
19541 wxPoint
*arg3
= (wxPoint
*) 0 ;
19542 int arg4
= (int) 0 ;
19543 int arg5
= (int) 0 ;
19544 int arg6
= (int) wxODDEVEN_RULE
;
19553 PyObject
* obj0
= 0 ;
19554 PyObject
* obj1
= 0 ;
19555 PyObject
* obj2
= 0 ;
19556 PyObject
* obj3
= 0 ;
19557 PyObject
* obj4
= 0 ;
19558 char * kwnames
[] = {
19559 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
19562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19564 if (!SWIG_IsOK(res1
)) {
19565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
19567 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19569 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19570 if (arg3
== NULL
) SWIG_fail
;
19573 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19574 if (!SWIG_IsOK(ecode4
)) {
19575 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
19577 arg4
= static_cast< int >(val4
);
19580 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19581 if (!SWIG_IsOK(ecode5
)) {
19582 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
19584 arg5
= static_cast< int >(val5
);
19587 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
19588 if (!SWIG_IsOK(ecode6
)) {
19589 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
19591 arg6
= static_cast< int >(val6
);
19594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19595 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
19596 wxPyEndAllowThreads(__tstate
);
19597 if (PyErr_Occurred()) SWIG_fail
;
19599 resultobj
= SWIG_Py_Void();
19601 if (arg3
) delete [] arg3
;
19606 if (arg3
) delete [] arg3
;
19612 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19613 PyObject
*resultobj
= 0;
19614 wxDC
*arg1
= (wxDC
*) 0 ;
19615 wxString
*arg2
= 0 ;
19617 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19618 int arg5
= (int) -1 ;
19621 bool temp2
= false ;
19627 PyObject
* obj0
= 0 ;
19628 PyObject
* obj1
= 0 ;
19629 PyObject
* obj2
= 0 ;
19630 PyObject
* obj3
= 0 ;
19631 PyObject
* obj4
= 0 ;
19632 char * kwnames
[] = {
19633 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
19636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19638 if (!SWIG_IsOK(res1
)) {
19639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
19641 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19643 arg2
= wxString_in_helper(obj1
);
19644 if (arg2
== NULL
) SWIG_fail
;
19649 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
19652 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19653 if (!SWIG_IsOK(ecode4
)) {
19654 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
19656 arg4
= static_cast< int >(val4
);
19659 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19660 if (!SWIG_IsOK(ecode5
)) {
19661 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
19663 arg5
= static_cast< int >(val5
);
19666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19667 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
19668 wxPyEndAllowThreads(__tstate
);
19669 if (PyErr_Occurred()) SWIG_fail
;
19671 resultobj
= SWIG_Py_Void();
19686 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19687 PyObject
*resultobj
= 0;
19688 wxDC
*arg1
= (wxDC
*) 0 ;
19689 wxString
*arg2
= 0 ;
19690 wxBitmap
*arg3
= 0 ;
19692 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19693 int arg6
= (int) -1 ;
19697 bool temp2
= false ;
19705 PyObject
* obj0
= 0 ;
19706 PyObject
* obj1
= 0 ;
19707 PyObject
* obj2
= 0 ;
19708 PyObject
* obj3
= 0 ;
19709 PyObject
* obj4
= 0 ;
19710 PyObject
* obj5
= 0 ;
19711 char * kwnames
[] = {
19712 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
19715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19717 if (!SWIG_IsOK(res1
)) {
19718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
19720 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19722 arg2
= wxString_in_helper(obj1
);
19723 if (arg2
== NULL
) SWIG_fail
;
19726 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19727 if (!SWIG_IsOK(res3
)) {
19728 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
19731 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
19733 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
19736 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
19739 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19740 if (!SWIG_IsOK(ecode5
)) {
19741 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
19743 arg5
= static_cast< int >(val5
);
19746 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19747 if (!SWIG_IsOK(ecode6
)) {
19748 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
19750 arg6
= static_cast< int >(val6
);
19753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19754 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
19755 wxPyEndAllowThreads(__tstate
);
19756 if (PyErr_Occurred()) SWIG_fail
;
19758 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
19773 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19774 PyObject
*resultobj
= 0;
19775 wxDC
*arg1
= (wxDC
*) 0 ;
19777 wxPoint
*arg3
= (wxPoint
*) 0 ;
19780 PyObject
* obj0
= 0 ;
19781 PyObject
* obj1
= 0 ;
19782 char * kwnames
[] = {
19783 (char *) "self",(char *) "points", NULL
19786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19788 if (!SWIG_IsOK(res1
)) {
19789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
19791 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19793 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19794 if (arg3
== NULL
) SWIG_fail
;
19797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19798 (arg1
)->DrawSpline(arg2
,arg3
);
19799 wxPyEndAllowThreads(__tstate
);
19800 if (PyErr_Occurred()) SWIG_fail
;
19802 resultobj
= SWIG_Py_Void();
19804 if (arg3
) delete [] arg3
;
19809 if (arg3
) delete [] arg3
;
19815 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19816 PyObject
*resultobj
= 0;
19817 wxDC
*arg1
= (wxDC
*) 0 ;
19820 PyObject
*swig_obj
[1] ;
19822 if (!args
) SWIG_fail
;
19823 swig_obj
[0] = args
;
19824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19825 if (!SWIG_IsOK(res1
)) {
19826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
19828 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19832 wxPyEndAllowThreads(__tstate
);
19833 if (PyErr_Occurred()) SWIG_fail
;
19835 resultobj
= SWIG_Py_Void();
19842 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19843 PyObject
*resultobj
= 0;
19844 wxDC
*arg1
= (wxDC
*) 0 ;
19845 wxString
*arg2
= 0 ;
19849 bool temp2
= false ;
19850 PyObject
* obj0
= 0 ;
19851 PyObject
* obj1
= 0 ;
19852 char * kwnames
[] = {
19853 (char *) "self",(char *) "message", NULL
19856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19858 if (!SWIG_IsOK(res1
)) {
19859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
19861 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19863 arg2
= wxString_in_helper(obj1
);
19864 if (arg2
== NULL
) SWIG_fail
;
19868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19869 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
19870 wxPyEndAllowThreads(__tstate
);
19871 if (PyErr_Occurred()) SWIG_fail
;
19874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19890 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19891 PyObject
*resultobj
= 0;
19892 wxDC
*arg1
= (wxDC
*) 0 ;
19895 PyObject
*swig_obj
[1] ;
19897 if (!args
) SWIG_fail
;
19898 swig_obj
[0] = args
;
19899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19900 if (!SWIG_IsOK(res1
)) {
19901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
19903 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19907 wxPyEndAllowThreads(__tstate
);
19908 if (PyErr_Occurred()) SWIG_fail
;
19910 resultobj
= SWIG_Py_Void();
19917 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19918 PyObject
*resultobj
= 0;
19919 wxDC
*arg1
= (wxDC
*) 0 ;
19922 PyObject
*swig_obj
[1] ;
19924 if (!args
) SWIG_fail
;
19925 swig_obj
[0] = args
;
19926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19927 if (!SWIG_IsOK(res1
)) {
19928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
19930 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19933 (arg1
)->StartPage();
19934 wxPyEndAllowThreads(__tstate
);
19935 if (PyErr_Occurred()) SWIG_fail
;
19937 resultobj
= SWIG_Py_Void();
19944 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19945 PyObject
*resultobj
= 0;
19946 wxDC
*arg1
= (wxDC
*) 0 ;
19949 PyObject
*swig_obj
[1] ;
19951 if (!args
) SWIG_fail
;
19952 swig_obj
[0] = args
;
19953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19954 if (!SWIG_IsOK(res1
)) {
19955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
19957 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19961 wxPyEndAllowThreads(__tstate
);
19962 if (PyErr_Occurred()) SWIG_fail
;
19964 resultobj
= SWIG_Py_Void();
19971 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19972 PyObject
*resultobj
= 0;
19973 wxDC
*arg1
= (wxDC
*) 0 ;
19979 PyObject
* obj0
= 0 ;
19980 PyObject
* obj1
= 0 ;
19981 char * kwnames
[] = {
19982 (char *) "self",(char *) "font", NULL
19985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19987 if (!SWIG_IsOK(res1
)) {
19988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
19990 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19991 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19992 if (!SWIG_IsOK(res2
)) {
19993 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19996 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19998 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20001 (arg1
)->SetFont((wxFont
const &)*arg2
);
20002 wxPyEndAllowThreads(__tstate
);
20003 if (PyErr_Occurred()) SWIG_fail
;
20005 resultobj
= SWIG_Py_Void();
20012 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20013 PyObject
*resultobj
= 0;
20014 wxDC
*arg1
= (wxDC
*) 0 ;
20020 PyObject
* obj0
= 0 ;
20021 PyObject
* obj1
= 0 ;
20022 char * kwnames
[] = {
20023 (char *) "self",(char *) "pen", NULL
20026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20028 if (!SWIG_IsOK(res1
)) {
20029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20031 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20032 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20033 if (!SWIG_IsOK(res2
)) {
20034 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20037 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20039 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20042 (arg1
)->SetPen((wxPen
const &)*arg2
);
20043 wxPyEndAllowThreads(__tstate
);
20044 if (PyErr_Occurred()) SWIG_fail
;
20046 resultobj
= SWIG_Py_Void();
20053 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20054 PyObject
*resultobj
= 0;
20055 wxDC
*arg1
= (wxDC
*) 0 ;
20056 wxBrush
*arg2
= 0 ;
20061 PyObject
* obj0
= 0 ;
20062 PyObject
* obj1
= 0 ;
20063 char * kwnames
[] = {
20064 (char *) "self",(char *) "brush", NULL
20067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20069 if (!SWIG_IsOK(res1
)) {
20070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20072 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20073 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20074 if (!SWIG_IsOK(res2
)) {
20075 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20078 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20080 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20083 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20084 wxPyEndAllowThreads(__tstate
);
20085 if (PyErr_Occurred()) SWIG_fail
;
20087 resultobj
= SWIG_Py_Void();
20094 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20095 PyObject
*resultobj
= 0;
20096 wxDC
*arg1
= (wxDC
*) 0 ;
20097 wxBrush
*arg2
= 0 ;
20102 PyObject
* obj0
= 0 ;
20103 PyObject
* obj1
= 0 ;
20104 char * kwnames
[] = {
20105 (char *) "self",(char *) "brush", NULL
20108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20110 if (!SWIG_IsOK(res1
)) {
20111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20113 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20114 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20115 if (!SWIG_IsOK(res2
)) {
20116 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20119 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20121 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20124 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20125 wxPyEndAllowThreads(__tstate
);
20126 if (PyErr_Occurred()) SWIG_fail
;
20128 resultobj
= SWIG_Py_Void();
20135 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20136 PyObject
*resultobj
= 0;
20137 wxDC
*arg1
= (wxDC
*) 0 ;
20143 PyObject
* obj0
= 0 ;
20144 PyObject
* obj1
= 0 ;
20145 char * kwnames
[] = {
20146 (char *) "self",(char *) "mode", NULL
20149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20151 if (!SWIG_IsOK(res1
)) {
20152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20154 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20155 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20156 if (!SWIG_IsOK(ecode2
)) {
20157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20159 arg2
= static_cast< int >(val2
);
20161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20162 (arg1
)->SetBackgroundMode(arg2
);
20163 wxPyEndAllowThreads(__tstate
);
20164 if (PyErr_Occurred()) SWIG_fail
;
20166 resultobj
= SWIG_Py_Void();
20173 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20174 PyObject
*resultobj
= 0;
20175 wxDC
*arg1
= (wxDC
*) 0 ;
20176 wxPalette
*arg2
= 0 ;
20181 PyObject
* obj0
= 0 ;
20182 PyObject
* obj1
= 0 ;
20183 char * kwnames
[] = {
20184 (char *) "self",(char *) "palette", NULL
20187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20189 if (!SWIG_IsOK(res1
)) {
20190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20192 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20193 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20194 if (!SWIG_IsOK(res2
)) {
20195 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20198 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20200 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20203 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20204 wxPyEndAllowThreads(__tstate
);
20205 if (PyErr_Occurred()) SWIG_fail
;
20207 resultobj
= SWIG_Py_Void();
20214 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20215 PyObject
*resultobj
= 0;
20216 wxDC
*arg1
= (wxDC
*) 0 ;
20219 PyObject
*swig_obj
[1] ;
20221 if (!args
) SWIG_fail
;
20222 swig_obj
[0] = args
;
20223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20224 if (!SWIG_IsOK(res1
)) {
20225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20227 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20230 (arg1
)->DestroyClippingRegion();
20231 wxPyEndAllowThreads(__tstate
);
20232 if (PyErr_Occurred()) SWIG_fail
;
20234 resultobj
= SWIG_Py_Void();
20241 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20242 PyObject
*resultobj
= 0;
20243 wxDC
*arg1
= (wxDC
*) 0 ;
20244 int *arg2
= (int *) 0 ;
20245 int *arg3
= (int *) 0 ;
20246 int *arg4
= (int *) 0 ;
20247 int *arg5
= (int *) 0 ;
20251 int res2
= SWIG_TMPOBJ
;
20253 int res3
= SWIG_TMPOBJ
;
20255 int res4
= SWIG_TMPOBJ
;
20257 int res5
= SWIG_TMPOBJ
;
20258 PyObject
*swig_obj
[1] ;
20264 if (!args
) SWIG_fail
;
20265 swig_obj
[0] = args
;
20266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20267 if (!SWIG_IsOK(res1
)) {
20268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20270 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20273 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20274 wxPyEndAllowThreads(__tstate
);
20275 if (PyErr_Occurred()) SWIG_fail
;
20277 resultobj
= SWIG_Py_Void();
20278 if (SWIG_IsTmpObj(res2
)) {
20279 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20281 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20282 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20284 if (SWIG_IsTmpObj(res3
)) {
20285 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20287 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20288 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20290 if (SWIG_IsTmpObj(res4
)) {
20291 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20293 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20294 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20296 if (SWIG_IsTmpObj(res5
)) {
20297 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20299 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20300 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20308 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20309 PyObject
*resultobj
= 0;
20310 wxDC
*arg1
= (wxDC
*) 0 ;
20314 PyObject
*swig_obj
[1] ;
20316 if (!args
) SWIG_fail
;
20317 swig_obj
[0] = args
;
20318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20319 if (!SWIG_IsOK(res1
)) {
20320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20322 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20325 result
= wxDC_GetClippingRect(arg1
);
20326 wxPyEndAllowThreads(__tstate
);
20327 if (PyErr_Occurred()) SWIG_fail
;
20329 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20336 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20337 PyObject
*resultobj
= 0;
20338 wxDC
*arg1
= (wxDC
*) 0 ;
20342 PyObject
*swig_obj
[1] ;
20344 if (!args
) SWIG_fail
;
20345 swig_obj
[0] = args
;
20346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20347 if (!SWIG_IsOK(res1
)) {
20348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20350 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20353 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20354 wxPyEndAllowThreads(__tstate
);
20355 if (PyErr_Occurred()) SWIG_fail
;
20357 resultobj
= SWIG_From_int(static_cast< int >(result
));
20364 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20365 PyObject
*resultobj
= 0;
20366 wxDC
*arg1
= (wxDC
*) 0 ;
20370 PyObject
*swig_obj
[1] ;
20372 if (!args
) SWIG_fail
;
20373 swig_obj
[0] = args
;
20374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20375 if (!SWIG_IsOK(res1
)) {
20376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20378 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20381 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20382 wxPyEndAllowThreads(__tstate
);
20383 if (PyErr_Occurred()) SWIG_fail
;
20385 resultobj
= SWIG_From_int(static_cast< int >(result
));
20392 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20393 PyObject
*resultobj
= 0;
20394 wxDC
*arg1
= (wxDC
*) 0 ;
20395 wxString
*arg2
= 0 ;
20396 int *arg3
= (int *) 0 ;
20397 int *arg4
= (int *) 0 ;
20400 bool temp2
= false ;
20402 int res3
= SWIG_TMPOBJ
;
20404 int res4
= SWIG_TMPOBJ
;
20405 PyObject
* obj0
= 0 ;
20406 PyObject
* obj1
= 0 ;
20407 char * kwnames
[] = {
20408 (char *) "self",(char *) "string", NULL
20413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20415 if (!SWIG_IsOK(res1
)) {
20416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20418 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20420 arg2
= wxString_in_helper(obj1
);
20421 if (arg2
== NULL
) SWIG_fail
;
20425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20426 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
20427 wxPyEndAllowThreads(__tstate
);
20428 if (PyErr_Occurred()) SWIG_fail
;
20430 resultobj
= SWIG_Py_Void();
20431 if (SWIG_IsTmpObj(res3
)) {
20432 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20434 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20435 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20437 if (SWIG_IsTmpObj(res4
)) {
20438 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20440 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20441 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20457 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20458 PyObject
*resultobj
= 0;
20459 wxDC
*arg1
= (wxDC
*) 0 ;
20460 wxString
*arg2
= 0 ;
20461 int *arg3
= (int *) 0 ;
20462 int *arg4
= (int *) 0 ;
20463 int *arg5
= (int *) 0 ;
20464 int *arg6
= (int *) 0 ;
20465 wxFont
*arg7
= (wxFont
*) NULL
;
20468 bool temp2
= false ;
20470 int res3
= SWIG_TMPOBJ
;
20472 int res4
= SWIG_TMPOBJ
;
20474 int res5
= SWIG_TMPOBJ
;
20476 int res6
= SWIG_TMPOBJ
;
20479 PyObject
* obj0
= 0 ;
20480 PyObject
* obj1
= 0 ;
20481 PyObject
* obj2
= 0 ;
20482 char * kwnames
[] = {
20483 (char *) "self",(char *) "string",(char *) "font", NULL
20490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20492 if (!SWIG_IsOK(res1
)) {
20493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20495 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20497 arg2
= wxString_in_helper(obj1
);
20498 if (arg2
== NULL
) SWIG_fail
;
20502 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
20503 if (!SWIG_IsOK(res7
)) {
20504 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
20506 arg7
= reinterpret_cast< wxFont
* >(argp7
);
20509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20510 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20511 wxPyEndAllowThreads(__tstate
);
20512 if (PyErr_Occurred()) SWIG_fail
;
20514 resultobj
= SWIG_Py_Void();
20515 if (SWIG_IsTmpObj(res3
)) {
20516 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20518 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20519 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20521 if (SWIG_IsTmpObj(res4
)) {
20522 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20524 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20525 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20527 if (SWIG_IsTmpObj(res5
)) {
20528 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20530 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20531 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20533 if (SWIG_IsTmpObj(res6
)) {
20534 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
20536 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20537 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
20553 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20554 PyObject
*resultobj
= 0;
20555 wxDC
*arg1
= (wxDC
*) 0 ;
20556 wxString
*arg2
= 0 ;
20557 int *arg3
= (int *) 0 ;
20558 int *arg4
= (int *) 0 ;
20559 int *arg5
= (int *) 0 ;
20560 wxFont
*arg6
= (wxFont
*) NULL
;
20563 bool temp2
= false ;
20565 int res3
= SWIG_TMPOBJ
;
20567 int res4
= SWIG_TMPOBJ
;
20569 int res5
= SWIG_TMPOBJ
;
20572 PyObject
* obj0
= 0 ;
20573 PyObject
* obj1
= 0 ;
20574 PyObject
* obj2
= 0 ;
20575 char * kwnames
[] = {
20576 (char *) "self",(char *) "text",(char *) "font", NULL
20582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20584 if (!SWIG_IsOK(res1
)) {
20585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20587 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20589 arg2
= wxString_in_helper(obj1
);
20590 if (arg2
== NULL
) SWIG_fail
;
20594 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
20595 if (!SWIG_IsOK(res6
)) {
20596 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
20598 arg6
= reinterpret_cast< wxFont
* >(argp6
);
20601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20602 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
20603 wxPyEndAllowThreads(__tstate
);
20604 if (PyErr_Occurred()) SWIG_fail
;
20606 resultobj
= SWIG_Py_Void();
20607 if (SWIG_IsTmpObj(res3
)) {
20608 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20610 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20611 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20613 if (SWIG_IsTmpObj(res4
)) {
20614 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20616 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20617 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20619 if (SWIG_IsTmpObj(res5
)) {
20620 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20622 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20623 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20639 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20640 PyObject
*resultobj
= 0;
20641 wxDC
*arg1
= (wxDC
*) 0 ;
20642 wxString
*arg2
= 0 ;
20646 bool temp2
= false ;
20647 PyObject
* obj0
= 0 ;
20648 PyObject
* obj1
= 0 ;
20649 char * kwnames
[] = {
20650 (char *) "self",(char *) "text", NULL
20653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20655 if (!SWIG_IsOK(res1
)) {
20656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
20658 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20660 arg2
= wxString_in_helper(obj1
);
20661 if (arg2
== NULL
) SWIG_fail
;
20665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20666 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
20667 wxPyEndAllowThreads(__tstate
);
20668 if (PyErr_Occurred()) SWIG_fail
;
20671 resultobj
= PyList_New(0);
20673 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
20674 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
20675 PyList_Append(resultobj
, val
);
20693 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20694 PyObject
*resultobj
= 0;
20695 wxDC
*arg1
= (wxDC
*) 0 ;
20699 PyObject
*swig_obj
[1] ;
20701 if (!args
) SWIG_fail
;
20702 swig_obj
[0] = args
;
20703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20704 if (!SWIG_IsOK(res1
)) {
20705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
20707 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20710 result
= (arg1
)->GetSize();
20711 wxPyEndAllowThreads(__tstate
);
20712 if (PyErr_Occurred()) SWIG_fail
;
20714 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20721 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20722 PyObject
*resultobj
= 0;
20723 wxDC
*arg1
= (wxDC
*) 0 ;
20724 int *arg2
= (int *) 0 ;
20725 int *arg3
= (int *) 0 ;
20729 int res2
= SWIG_TMPOBJ
;
20731 int res3
= SWIG_TMPOBJ
;
20732 PyObject
*swig_obj
[1] ;
20736 if (!args
) SWIG_fail
;
20737 swig_obj
[0] = args
;
20738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20739 if (!SWIG_IsOK(res1
)) {
20740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
20742 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20745 (arg1
)->GetSize(arg2
,arg3
);
20746 wxPyEndAllowThreads(__tstate
);
20747 if (PyErr_Occurred()) SWIG_fail
;
20749 resultobj
= SWIG_Py_Void();
20750 if (SWIG_IsTmpObj(res2
)) {
20751 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20753 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20754 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20756 if (SWIG_IsTmpObj(res3
)) {
20757 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20759 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20760 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20768 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20769 PyObject
*resultobj
= 0;
20770 wxDC
*arg1
= (wxDC
*) 0 ;
20774 PyObject
*swig_obj
[1] ;
20776 if (!args
) SWIG_fail
;
20777 swig_obj
[0] = args
;
20778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20779 if (!SWIG_IsOK(res1
)) {
20780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
20782 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20785 result
= ((wxDC
const *)arg1
)->GetSizeMM();
20786 wxPyEndAllowThreads(__tstate
);
20787 if (PyErr_Occurred()) SWIG_fail
;
20789 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20796 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20797 PyObject
*resultobj
= 0;
20798 wxDC
*arg1
= (wxDC
*) 0 ;
20799 int *arg2
= (int *) 0 ;
20800 int *arg3
= (int *) 0 ;
20804 int res2
= SWIG_TMPOBJ
;
20806 int res3
= SWIG_TMPOBJ
;
20807 PyObject
*swig_obj
[1] ;
20811 if (!args
) SWIG_fail
;
20812 swig_obj
[0] = args
;
20813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20814 if (!SWIG_IsOK(res1
)) {
20815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
20817 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20820 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
20821 wxPyEndAllowThreads(__tstate
);
20822 if (PyErr_Occurred()) SWIG_fail
;
20824 resultobj
= SWIG_Py_Void();
20825 if (SWIG_IsTmpObj(res2
)) {
20826 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20828 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20829 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20831 if (SWIG_IsTmpObj(res3
)) {
20832 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20834 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20835 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20843 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20844 PyObject
*resultobj
= 0;
20845 wxDC
*arg1
= (wxDC
*) 0 ;
20852 PyObject
* obj0
= 0 ;
20853 PyObject
* obj1
= 0 ;
20854 char * kwnames
[] = {
20855 (char *) "self",(char *) "x", NULL
20858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20860 if (!SWIG_IsOK(res1
)) {
20861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
20863 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20864 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20865 if (!SWIG_IsOK(ecode2
)) {
20866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
20868 arg2
= static_cast< int >(val2
);
20870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20871 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
20872 wxPyEndAllowThreads(__tstate
);
20873 if (PyErr_Occurred()) SWIG_fail
;
20875 resultobj
= SWIG_From_int(static_cast< int >(result
));
20882 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20883 PyObject
*resultobj
= 0;
20884 wxDC
*arg1
= (wxDC
*) 0 ;
20891 PyObject
* obj0
= 0 ;
20892 PyObject
* obj1
= 0 ;
20893 char * kwnames
[] = {
20894 (char *) "self",(char *) "y", NULL
20897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20899 if (!SWIG_IsOK(res1
)) {
20900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
20902 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20903 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20904 if (!SWIG_IsOK(ecode2
)) {
20905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
20907 arg2
= static_cast< int >(val2
);
20909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20910 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
20911 wxPyEndAllowThreads(__tstate
);
20912 if (PyErr_Occurred()) SWIG_fail
;
20914 resultobj
= SWIG_From_int(static_cast< int >(result
));
20921 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20922 PyObject
*resultobj
= 0;
20923 wxDC
*arg1
= (wxDC
*) 0 ;
20930 PyObject
* obj0
= 0 ;
20931 PyObject
* obj1
= 0 ;
20932 char * kwnames
[] = {
20933 (char *) "self",(char *) "x", NULL
20936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20938 if (!SWIG_IsOK(res1
)) {
20939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
20941 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20943 if (!SWIG_IsOK(ecode2
)) {
20944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
20946 arg2
= static_cast< int >(val2
);
20948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20949 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
20950 wxPyEndAllowThreads(__tstate
);
20951 if (PyErr_Occurred()) SWIG_fail
;
20953 resultobj
= SWIG_From_int(static_cast< int >(result
));
20960 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20961 PyObject
*resultobj
= 0;
20962 wxDC
*arg1
= (wxDC
*) 0 ;
20969 PyObject
* obj0
= 0 ;
20970 PyObject
* obj1
= 0 ;
20971 char * kwnames
[] = {
20972 (char *) "self",(char *) "y", NULL
20975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20977 if (!SWIG_IsOK(res1
)) {
20978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
20980 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20981 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20982 if (!SWIG_IsOK(ecode2
)) {
20983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
20985 arg2
= static_cast< int >(val2
);
20987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20988 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
20989 wxPyEndAllowThreads(__tstate
);
20990 if (PyErr_Occurred()) SWIG_fail
;
20992 resultobj
= SWIG_From_int(static_cast< int >(result
));
20999 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21000 PyObject
*resultobj
= 0;
21001 wxDC
*arg1
= (wxDC
*) 0 ;
21008 PyObject
* obj0
= 0 ;
21009 PyObject
* obj1
= 0 ;
21010 char * kwnames
[] = {
21011 (char *) "self",(char *) "x", NULL
21014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21016 if (!SWIG_IsOK(res1
)) {
21017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21019 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21020 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21021 if (!SWIG_IsOK(ecode2
)) {
21022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21024 arg2
= static_cast< int >(val2
);
21026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21027 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21028 wxPyEndAllowThreads(__tstate
);
21029 if (PyErr_Occurred()) SWIG_fail
;
21031 resultobj
= SWIG_From_int(static_cast< int >(result
));
21038 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21039 PyObject
*resultobj
= 0;
21040 wxDC
*arg1
= (wxDC
*) 0 ;
21047 PyObject
* obj0
= 0 ;
21048 PyObject
* obj1
= 0 ;
21049 char * kwnames
[] = {
21050 (char *) "self",(char *) "y", NULL
21053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21055 if (!SWIG_IsOK(res1
)) {
21056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21058 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21059 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21060 if (!SWIG_IsOK(ecode2
)) {
21061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21063 arg2
= static_cast< int >(val2
);
21065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21066 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21067 wxPyEndAllowThreads(__tstate
);
21068 if (PyErr_Occurred()) SWIG_fail
;
21070 resultobj
= SWIG_From_int(static_cast< int >(result
));
21077 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21078 PyObject
*resultobj
= 0;
21079 wxDC
*arg1
= (wxDC
*) 0 ;
21086 PyObject
* obj0
= 0 ;
21087 PyObject
* obj1
= 0 ;
21088 char * kwnames
[] = {
21089 (char *) "self",(char *) "x", NULL
21092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21094 if (!SWIG_IsOK(res1
)) {
21095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21097 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21098 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21099 if (!SWIG_IsOK(ecode2
)) {
21100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21102 arg2
= static_cast< int >(val2
);
21104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21105 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21106 wxPyEndAllowThreads(__tstate
);
21107 if (PyErr_Occurred()) SWIG_fail
;
21109 resultobj
= SWIG_From_int(static_cast< int >(result
));
21116 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21117 PyObject
*resultobj
= 0;
21118 wxDC
*arg1
= (wxDC
*) 0 ;
21125 PyObject
* obj0
= 0 ;
21126 PyObject
* obj1
= 0 ;
21127 char * kwnames
[] = {
21128 (char *) "self",(char *) "y", NULL
21131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21133 if (!SWIG_IsOK(res1
)) {
21134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21136 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21137 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21138 if (!SWIG_IsOK(ecode2
)) {
21139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21141 arg2
= static_cast< int >(val2
);
21143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21144 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21145 wxPyEndAllowThreads(__tstate
);
21146 if (PyErr_Occurred()) SWIG_fail
;
21148 resultobj
= SWIG_From_int(static_cast< int >(result
));
21155 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21156 PyObject
*resultobj
= 0;
21157 wxDC
*arg1
= (wxDC
*) 0 ;
21161 PyObject
*swig_obj
[1] ;
21163 if (!args
) SWIG_fail
;
21164 swig_obj
[0] = args
;
21165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21166 if (!SWIG_IsOK(res1
)) {
21167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21169 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21172 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21173 wxPyEndAllowThreads(__tstate
);
21174 if (PyErr_Occurred()) SWIG_fail
;
21177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21185 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21186 PyObject
*resultobj
= 0;
21187 wxDC
*arg1
= (wxDC
*) 0 ;
21191 PyObject
*swig_obj
[1] ;
21193 if (!args
) SWIG_fail
;
21194 swig_obj
[0] = args
;
21195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21196 if (!SWIG_IsOK(res1
)) {
21197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21199 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21202 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21203 wxPyEndAllowThreads(__tstate
);
21204 if (PyErr_Occurred()) SWIG_fail
;
21207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21215 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21216 PyObject
*resultobj
= 0;
21217 wxDC
*arg1
= (wxDC
*) 0 ;
21221 PyObject
*swig_obj
[1] ;
21223 if (!args
) SWIG_fail
;
21224 swig_obj
[0] = args
;
21225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21226 if (!SWIG_IsOK(res1
)) {
21227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21229 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21232 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21233 wxPyEndAllowThreads(__tstate
);
21234 if (PyErr_Occurred()) SWIG_fail
;
21236 resultobj
= SWIG_From_int(static_cast< int >(result
));
21243 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21244 PyObject
*resultobj
= 0;
21245 wxDC
*arg1
= (wxDC
*) 0 ;
21249 PyObject
*swig_obj
[1] ;
21251 if (!args
) SWIG_fail
;
21252 swig_obj
[0] = args
;
21253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21254 if (!SWIG_IsOK(res1
)) {
21255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21257 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21260 result
= ((wxDC
const *)arg1
)->GetPPI();
21261 wxPyEndAllowThreads(__tstate
);
21262 if (PyErr_Occurred()) SWIG_fail
;
21264 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21271 SWIGINTERN PyObject
*_wrap_DC_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21272 PyObject
*resultobj
= 0;
21273 wxDC
*arg1
= (wxDC
*) 0 ;
21277 PyObject
*swig_obj
[1] ;
21279 if (!args
) SWIG_fail
;
21280 swig_obj
[0] = args
;
21281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21282 if (!SWIG_IsOK(res1
)) {
21283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Ok" "', expected argument " "1"" of type '" "wxDC const *""'");
21285 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21288 result
= (bool)((wxDC
const *)arg1
)->Ok();
21289 wxPyEndAllowThreads(__tstate
);
21290 if (PyErr_Occurred()) SWIG_fail
;
21293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21301 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21302 PyObject
*resultobj
= 0;
21303 wxDC
*arg1
= (wxDC
*) 0 ;
21307 PyObject
*swig_obj
[1] ;
21309 if (!args
) SWIG_fail
;
21310 swig_obj
[0] = args
;
21311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21312 if (!SWIG_IsOK(res1
)) {
21313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21315 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21318 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21319 wxPyEndAllowThreads(__tstate
);
21320 if (PyErr_Occurred()) SWIG_fail
;
21322 resultobj
= SWIG_From_int(static_cast< int >(result
));
21329 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21330 PyObject
*resultobj
= 0;
21331 wxDC
*arg1
= (wxDC
*) 0 ;
21332 wxBrush
*result
= 0 ;
21335 PyObject
*swig_obj
[1] ;
21337 if (!args
) SWIG_fail
;
21338 swig_obj
[0] = args
;
21339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21340 if (!SWIG_IsOK(res1
)) {
21341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21343 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21347 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21348 result
= (wxBrush
*) &_result_ref
;
21350 wxPyEndAllowThreads(__tstate
);
21351 if (PyErr_Occurred()) SWIG_fail
;
21354 wxBrush
* resultptr
= new wxBrush(*result
);
21355 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21363 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21364 PyObject
*resultobj
= 0;
21365 wxDC
*arg1
= (wxDC
*) 0 ;
21366 wxBrush
*result
= 0 ;
21369 PyObject
*swig_obj
[1] ;
21371 if (!args
) SWIG_fail
;
21372 swig_obj
[0] = args
;
21373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21374 if (!SWIG_IsOK(res1
)) {
21375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21377 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21381 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21382 result
= (wxBrush
*) &_result_ref
;
21384 wxPyEndAllowThreads(__tstate
);
21385 if (PyErr_Occurred()) SWIG_fail
;
21388 wxBrush
* resultptr
= new wxBrush(*result
);
21389 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21397 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21398 PyObject
*resultobj
= 0;
21399 wxDC
*arg1
= (wxDC
*) 0 ;
21400 wxFont
*result
= 0 ;
21403 PyObject
*swig_obj
[1] ;
21405 if (!args
) SWIG_fail
;
21406 swig_obj
[0] = args
;
21407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21408 if (!SWIG_IsOK(res1
)) {
21409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21411 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21415 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
21416 result
= (wxFont
*) &_result_ref
;
21418 wxPyEndAllowThreads(__tstate
);
21419 if (PyErr_Occurred()) SWIG_fail
;
21422 wxFont
* resultptr
= new wxFont(*result
);
21423 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21431 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21432 PyObject
*resultobj
= 0;
21433 wxDC
*arg1
= (wxDC
*) 0 ;
21434 wxPen
*result
= 0 ;
21437 PyObject
*swig_obj
[1] ;
21439 if (!args
) SWIG_fail
;
21440 swig_obj
[0] = args
;
21441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21442 if (!SWIG_IsOK(res1
)) {
21443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
21445 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21449 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
21450 result
= (wxPen
*) &_result_ref
;
21452 wxPyEndAllowThreads(__tstate
);
21453 if (PyErr_Occurred()) SWIG_fail
;
21456 wxPen
* resultptr
= new wxPen(*result
);
21457 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
21465 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21466 PyObject
*resultobj
= 0;
21467 wxDC
*arg1
= (wxDC
*) 0 ;
21468 wxColour
*result
= 0 ;
21471 PyObject
*swig_obj
[1] ;
21473 if (!args
) SWIG_fail
;
21474 swig_obj
[0] = args
;
21475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21476 if (!SWIG_IsOK(res1
)) {
21477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21479 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21483 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
21484 result
= (wxColour
*) &_result_ref
;
21486 wxPyEndAllowThreads(__tstate
);
21487 if (PyErr_Occurred()) SWIG_fail
;
21489 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21496 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21497 PyObject
*resultobj
= 0;
21498 wxDC
*arg1
= (wxDC
*) 0 ;
21499 wxColour
*result
= 0 ;
21502 PyObject
*swig_obj
[1] ;
21504 if (!args
) SWIG_fail
;
21505 swig_obj
[0] = args
;
21506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21507 if (!SWIG_IsOK(res1
)) {
21508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
21510 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21514 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
21515 result
= (wxColour
*) &_result_ref
;
21517 wxPyEndAllowThreads(__tstate
);
21518 if (PyErr_Occurred()) SWIG_fail
;
21520 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21527 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21528 PyObject
*resultobj
= 0;
21529 wxDC
*arg1
= (wxDC
*) 0 ;
21530 wxColour
*arg2
= 0 ;
21534 PyObject
* obj0
= 0 ;
21535 PyObject
* obj1
= 0 ;
21536 char * kwnames
[] = {
21537 (char *) "self",(char *) "colour", NULL
21540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21542 if (!SWIG_IsOK(res1
)) {
21543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
21545 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21548 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21552 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
21553 wxPyEndAllowThreads(__tstate
);
21554 if (PyErr_Occurred()) SWIG_fail
;
21556 resultobj
= SWIG_Py_Void();
21563 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21564 PyObject
*resultobj
= 0;
21565 wxDC
*arg1
= (wxDC
*) 0 ;
21566 wxColour
*arg2
= 0 ;
21570 PyObject
* obj0
= 0 ;
21571 PyObject
* obj1
= 0 ;
21572 char * kwnames
[] = {
21573 (char *) "self",(char *) "colour", NULL
21576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21578 if (!SWIG_IsOK(res1
)) {
21579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21581 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21584 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21588 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
21589 wxPyEndAllowThreads(__tstate
);
21590 if (PyErr_Occurred()) SWIG_fail
;
21592 resultobj
= SWIG_Py_Void();
21599 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21600 PyObject
*resultobj
= 0;
21601 wxDC
*arg1
= (wxDC
*) 0 ;
21605 PyObject
*swig_obj
[1] ;
21607 if (!args
) SWIG_fail
;
21608 swig_obj
[0] = args
;
21609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21610 if (!SWIG_IsOK(res1
)) {
21611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21613 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21616 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
21617 wxPyEndAllowThreads(__tstate
);
21618 if (PyErr_Occurred()) SWIG_fail
;
21620 resultobj
= SWIG_From_int(static_cast< int >(result
));
21627 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21628 PyObject
*resultobj
= 0;
21629 wxDC
*arg1
= (wxDC
*) 0 ;
21635 PyObject
* obj0
= 0 ;
21636 PyObject
* obj1
= 0 ;
21637 char * kwnames
[] = {
21638 (char *) "self",(char *) "mode", NULL
21641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21643 if (!SWIG_IsOK(res1
)) {
21644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
21646 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21647 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21648 if (!SWIG_IsOK(ecode2
)) {
21649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
21651 arg2
= static_cast< int >(val2
);
21653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21654 (arg1
)->SetMapMode(arg2
);
21655 wxPyEndAllowThreads(__tstate
);
21656 if (PyErr_Occurred()) SWIG_fail
;
21658 resultobj
= SWIG_Py_Void();
21665 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21666 PyObject
*resultobj
= 0;
21667 wxDC
*arg1
= (wxDC
*) 0 ;
21668 double *arg2
= (double *) 0 ;
21669 double *arg3
= (double *) 0 ;
21673 int res2
= SWIG_TMPOBJ
;
21675 int res3
= SWIG_TMPOBJ
;
21676 PyObject
*swig_obj
[1] ;
21680 if (!args
) SWIG_fail
;
21681 swig_obj
[0] = args
;
21682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21683 if (!SWIG_IsOK(res1
)) {
21684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
21686 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21689 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
21690 wxPyEndAllowThreads(__tstate
);
21691 if (PyErr_Occurred()) SWIG_fail
;
21693 resultobj
= SWIG_Py_Void();
21694 if (SWIG_IsTmpObj(res2
)) {
21695 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
21697 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21698 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
21700 if (SWIG_IsTmpObj(res3
)) {
21701 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
21703 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21704 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
21712 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21713 PyObject
*resultobj
= 0;
21714 wxDC
*arg1
= (wxDC
*) 0 ;
21723 PyObject
* obj0
= 0 ;
21724 PyObject
* obj1
= 0 ;
21725 PyObject
* obj2
= 0 ;
21726 char * kwnames
[] = {
21727 (char *) "self",(char *) "x",(char *) "y", NULL
21730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21732 if (!SWIG_IsOK(res1
)) {
21733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
21735 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21736 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
21737 if (!SWIG_IsOK(ecode2
)) {
21738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
21740 arg2
= static_cast< double >(val2
);
21741 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21742 if (!SWIG_IsOK(ecode3
)) {
21743 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
21745 arg3
= static_cast< double >(val3
);
21747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21748 (arg1
)->SetUserScale(arg2
,arg3
);
21749 wxPyEndAllowThreads(__tstate
);
21750 if (PyErr_Occurred()) SWIG_fail
;
21752 resultobj
= SWIG_Py_Void();
21759 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21760 PyObject
*resultobj
= 0;
21761 wxDC
*arg1
= (wxDC
*) 0 ;
21762 double *arg2
= (double *) 0 ;
21763 double *arg3
= (double *) 0 ;
21767 int res2
= SWIG_TMPOBJ
;
21769 int res3
= SWIG_TMPOBJ
;
21770 PyObject
*swig_obj
[1] ;
21774 if (!args
) SWIG_fail
;
21775 swig_obj
[0] = args
;
21776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21777 if (!SWIG_IsOK(res1
)) {
21778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
21780 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21783 (arg1
)->GetLogicalScale(arg2
,arg3
);
21784 wxPyEndAllowThreads(__tstate
);
21785 if (PyErr_Occurred()) SWIG_fail
;
21787 resultobj
= SWIG_Py_Void();
21788 if (SWIG_IsTmpObj(res2
)) {
21789 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
21791 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21792 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
21794 if (SWIG_IsTmpObj(res3
)) {
21795 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
21797 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21798 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
21806 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21807 PyObject
*resultobj
= 0;
21808 wxDC
*arg1
= (wxDC
*) 0 ;
21817 PyObject
* obj0
= 0 ;
21818 PyObject
* obj1
= 0 ;
21819 PyObject
* obj2
= 0 ;
21820 char * kwnames
[] = {
21821 (char *) "self",(char *) "x",(char *) "y", NULL
21824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21826 if (!SWIG_IsOK(res1
)) {
21827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
21829 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21830 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
21831 if (!SWIG_IsOK(ecode2
)) {
21832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
21834 arg2
= static_cast< double >(val2
);
21835 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21836 if (!SWIG_IsOK(ecode3
)) {
21837 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
21839 arg3
= static_cast< double >(val3
);
21841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21842 (arg1
)->SetLogicalScale(arg2
,arg3
);
21843 wxPyEndAllowThreads(__tstate
);
21844 if (PyErr_Occurred()) SWIG_fail
;
21846 resultobj
= SWIG_Py_Void();
21853 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21854 PyObject
*resultobj
= 0;
21855 wxDC
*arg1
= (wxDC
*) 0 ;
21859 PyObject
*swig_obj
[1] ;
21861 if (!args
) SWIG_fail
;
21862 swig_obj
[0] = args
;
21863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21864 if (!SWIG_IsOK(res1
)) {
21865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
21867 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21870 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
21871 wxPyEndAllowThreads(__tstate
);
21872 if (PyErr_Occurred()) SWIG_fail
;
21874 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
21881 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21882 PyObject
*resultobj
= 0;
21883 wxDC
*arg1
= (wxDC
*) 0 ;
21884 int *arg2
= (int *) 0 ;
21885 int *arg3
= (int *) 0 ;
21889 int res2
= SWIG_TMPOBJ
;
21891 int res3
= SWIG_TMPOBJ
;
21892 PyObject
*swig_obj
[1] ;
21896 if (!args
) SWIG_fail
;
21897 swig_obj
[0] = args
;
21898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21899 if (!SWIG_IsOK(res1
)) {
21900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21902 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21905 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
21906 wxPyEndAllowThreads(__tstate
);
21907 if (PyErr_Occurred()) SWIG_fail
;
21909 resultobj
= SWIG_Py_Void();
21910 if (SWIG_IsTmpObj(res2
)) {
21911 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21913 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21914 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21916 if (SWIG_IsTmpObj(res3
)) {
21917 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21919 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21920 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21928 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21929 PyObject
*resultobj
= 0;
21930 wxDC
*arg1
= (wxDC
*) 0 ;
21939 PyObject
* obj0
= 0 ;
21940 PyObject
* obj1
= 0 ;
21941 PyObject
* obj2
= 0 ;
21942 char * kwnames
[] = {
21943 (char *) "self",(char *) "x",(char *) "y", NULL
21946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21948 if (!SWIG_IsOK(res1
)) {
21949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
21951 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21952 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21953 if (!SWIG_IsOK(ecode2
)) {
21954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
21956 arg2
= static_cast< int >(val2
);
21957 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21958 if (!SWIG_IsOK(ecode3
)) {
21959 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
21961 arg3
= static_cast< int >(val3
);
21963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21964 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
21965 wxPyEndAllowThreads(__tstate
);
21966 if (PyErr_Occurred()) SWIG_fail
;
21968 resultobj
= SWIG_Py_Void();
21975 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21976 PyObject
*resultobj
= 0;
21977 wxDC
*arg1
= (wxDC
*) 0 ;
21978 wxPoint
*arg2
= 0 ;
21982 PyObject
* obj0
= 0 ;
21983 PyObject
* obj1
= 0 ;
21984 char * kwnames
[] = {
21985 (char *) "self",(char *) "point", NULL
21988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21990 if (!SWIG_IsOK(res1
)) {
21991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
21993 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21996 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22000 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22001 wxPyEndAllowThreads(__tstate
);
22002 if (PyErr_Occurred()) SWIG_fail
;
22004 resultobj
= SWIG_Py_Void();
22011 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22012 PyObject
*resultobj
= 0;
22013 wxDC
*arg1
= (wxDC
*) 0 ;
22017 PyObject
*swig_obj
[1] ;
22019 if (!args
) SWIG_fail
;
22020 swig_obj
[0] = args
;
22021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22022 if (!SWIG_IsOK(res1
)) {
22023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22025 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22028 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22029 wxPyEndAllowThreads(__tstate
);
22030 if (PyErr_Occurred()) SWIG_fail
;
22032 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22039 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22040 PyObject
*resultobj
= 0;
22041 wxDC
*arg1
= (wxDC
*) 0 ;
22042 int *arg2
= (int *) 0 ;
22043 int *arg3
= (int *) 0 ;
22047 int res2
= SWIG_TMPOBJ
;
22049 int res3
= SWIG_TMPOBJ
;
22050 PyObject
*swig_obj
[1] ;
22054 if (!args
) SWIG_fail
;
22055 swig_obj
[0] = args
;
22056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22057 if (!SWIG_IsOK(res1
)) {
22058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22060 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22063 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22064 wxPyEndAllowThreads(__tstate
);
22065 if (PyErr_Occurred()) SWIG_fail
;
22067 resultobj
= SWIG_Py_Void();
22068 if (SWIG_IsTmpObj(res2
)) {
22069 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22071 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22072 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22074 if (SWIG_IsTmpObj(res3
)) {
22075 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22077 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22078 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22086 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22087 PyObject
*resultobj
= 0;
22088 wxDC
*arg1
= (wxDC
*) 0 ;
22097 PyObject
* obj0
= 0 ;
22098 PyObject
* obj1
= 0 ;
22099 PyObject
* obj2
= 0 ;
22100 char * kwnames
[] = {
22101 (char *) "self",(char *) "x",(char *) "y", NULL
22104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22106 if (!SWIG_IsOK(res1
)) {
22107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22109 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22110 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22111 if (!SWIG_IsOK(ecode2
)) {
22112 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22114 arg2
= static_cast< int >(val2
);
22115 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22116 if (!SWIG_IsOK(ecode3
)) {
22117 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22119 arg3
= static_cast< int >(val3
);
22121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22122 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22123 wxPyEndAllowThreads(__tstate
);
22124 if (PyErr_Occurred()) SWIG_fail
;
22126 resultobj
= SWIG_Py_Void();
22133 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22134 PyObject
*resultobj
= 0;
22135 wxDC
*arg1
= (wxDC
*) 0 ;
22136 wxPoint
*arg2
= 0 ;
22140 PyObject
* obj0
= 0 ;
22141 PyObject
* obj1
= 0 ;
22142 char * kwnames
[] = {
22143 (char *) "self",(char *) "point", NULL
22146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22148 if (!SWIG_IsOK(res1
)) {
22149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22151 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22154 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22158 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22159 wxPyEndAllowThreads(__tstate
);
22160 if (PyErr_Occurred()) SWIG_fail
;
22162 resultobj
= SWIG_Py_Void();
22169 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22170 PyObject
*resultobj
= 0;
22171 wxDC
*arg1
= (wxDC
*) 0 ;
22180 PyObject
* obj0
= 0 ;
22181 PyObject
* obj1
= 0 ;
22182 PyObject
* obj2
= 0 ;
22183 char * kwnames
[] = {
22184 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22189 if (!SWIG_IsOK(res1
)) {
22190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22192 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22193 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22194 if (!SWIG_IsOK(ecode2
)) {
22195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22197 arg2
= static_cast< bool >(val2
);
22198 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22199 if (!SWIG_IsOK(ecode3
)) {
22200 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22202 arg3
= static_cast< bool >(val3
);
22204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22205 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22206 wxPyEndAllowThreads(__tstate
);
22207 if (PyErr_Occurred()) SWIG_fail
;
22209 resultobj
= SWIG_Py_Void();
22216 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22217 PyObject
*resultobj
= 0;
22218 wxDC
*arg1
= (wxDC
*) 0 ;
22222 PyObject
*swig_obj
[1] ;
22224 if (!args
) SWIG_fail
;
22225 swig_obj
[0] = args
;
22226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22227 if (!SWIG_IsOK(res1
)) {
22228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22230 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22233 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22234 wxPyEndAllowThreads(__tstate
);
22235 if (PyErr_Occurred()) SWIG_fail
;
22237 resultobj
= SWIG_From_int(static_cast< int >(result
));
22244 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22245 PyObject
*resultobj
= 0;
22246 wxDC
*arg1
= (wxDC
*) 0 ;
22252 PyObject
* obj0
= 0 ;
22253 PyObject
* obj1
= 0 ;
22254 char * kwnames
[] = {
22255 (char *) "self",(char *) "function", NULL
22258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22260 if (!SWIG_IsOK(res1
)) {
22261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22263 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22265 if (!SWIG_IsOK(ecode2
)) {
22266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22268 arg2
= static_cast< int >(val2
);
22270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22271 (arg1
)->SetLogicalFunction(arg2
);
22272 wxPyEndAllowThreads(__tstate
);
22273 if (PyErr_Occurred()) SWIG_fail
;
22275 resultobj
= SWIG_Py_Void();
22282 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22283 PyObject
*resultobj
= 0;
22284 wxDC
*arg1
= (wxDC
*) 0 ;
22287 PyObject
*swig_obj
[1] ;
22289 if (!args
) SWIG_fail
;
22290 swig_obj
[0] = args
;
22291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22292 if (!SWIG_IsOK(res1
)) {
22293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22295 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22298 (arg1
)->ComputeScaleAndOrigin();
22299 wxPyEndAllowThreads(__tstate
);
22300 if (PyErr_Occurred()) SWIG_fail
;
22302 resultobj
= SWIG_Py_Void();
22309 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22310 PyObject
*resultobj
= 0;
22311 wxDC
*arg1
= (wxDC
*) 0 ;
22320 PyObject
* obj0
= 0 ;
22321 PyObject
* obj1
= 0 ;
22322 PyObject
* obj2
= 0 ;
22323 char * kwnames
[] = {
22324 (char *) "self",(char *) "x",(char *) "y", NULL
22327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22329 if (!SWIG_IsOK(res1
)) {
22330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22332 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22333 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22334 if (!SWIG_IsOK(ecode2
)) {
22335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22337 arg2
= static_cast< int >(val2
);
22338 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22339 if (!SWIG_IsOK(ecode3
)) {
22340 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22342 arg3
= static_cast< int >(val3
);
22344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22345 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22346 wxPyEndAllowThreads(__tstate
);
22347 if (PyErr_Occurred()) SWIG_fail
;
22349 resultobj
= SWIG_Py_Void();
22356 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22357 PyObject
*resultobj
= 0;
22358 wxDC
*arg1
= (wxDC
*) 0 ;
22359 wxPoint
*arg2
= 0 ;
22363 PyObject
* obj0
= 0 ;
22364 PyObject
* obj1
= 0 ;
22365 char * kwnames
[] = {
22366 (char *) "self",(char *) "point", NULL
22369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22371 if (!SWIG_IsOK(res1
)) {
22372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22374 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22377 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22381 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22382 wxPyEndAllowThreads(__tstate
);
22383 if (PyErr_Occurred()) SWIG_fail
;
22385 resultobj
= SWIG_Py_Void();
22392 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22393 PyObject
*resultobj
= 0;
22394 wxDC
*arg1
= (wxDC
*) 0 ;
22397 PyObject
*swig_obj
[1] ;
22399 if (!args
) SWIG_fail
;
22400 swig_obj
[0] = args
;
22401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22402 if (!SWIG_IsOK(res1
)) {
22403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22405 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22408 (arg1
)->ResetBoundingBox();
22409 wxPyEndAllowThreads(__tstate
);
22410 if (PyErr_Occurred()) SWIG_fail
;
22412 resultobj
= SWIG_Py_Void();
22419 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22420 PyObject
*resultobj
= 0;
22421 wxDC
*arg1
= (wxDC
*) 0 ;
22425 PyObject
*swig_obj
[1] ;
22427 if (!args
) SWIG_fail
;
22428 swig_obj
[0] = args
;
22429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22430 if (!SWIG_IsOK(res1
)) {
22431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
22433 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22436 result
= (int)((wxDC
const *)arg1
)->MinX();
22437 wxPyEndAllowThreads(__tstate
);
22438 if (PyErr_Occurred()) SWIG_fail
;
22440 resultobj
= SWIG_From_int(static_cast< int >(result
));
22447 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22448 PyObject
*resultobj
= 0;
22449 wxDC
*arg1
= (wxDC
*) 0 ;
22453 PyObject
*swig_obj
[1] ;
22455 if (!args
) SWIG_fail
;
22456 swig_obj
[0] = args
;
22457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22458 if (!SWIG_IsOK(res1
)) {
22459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
22461 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22464 result
= (int)((wxDC
const *)arg1
)->MaxX();
22465 wxPyEndAllowThreads(__tstate
);
22466 if (PyErr_Occurred()) SWIG_fail
;
22468 resultobj
= SWIG_From_int(static_cast< int >(result
));
22475 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22476 PyObject
*resultobj
= 0;
22477 wxDC
*arg1
= (wxDC
*) 0 ;
22481 PyObject
*swig_obj
[1] ;
22483 if (!args
) SWIG_fail
;
22484 swig_obj
[0] = args
;
22485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22486 if (!SWIG_IsOK(res1
)) {
22487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
22489 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22492 result
= (int)((wxDC
const *)arg1
)->MinY();
22493 wxPyEndAllowThreads(__tstate
);
22494 if (PyErr_Occurred()) SWIG_fail
;
22496 resultobj
= SWIG_From_int(static_cast< int >(result
));
22503 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22504 PyObject
*resultobj
= 0;
22505 wxDC
*arg1
= (wxDC
*) 0 ;
22509 PyObject
*swig_obj
[1] ;
22511 if (!args
) SWIG_fail
;
22512 swig_obj
[0] = args
;
22513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22514 if (!SWIG_IsOK(res1
)) {
22515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
22517 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22520 result
= (int)((wxDC
const *)arg1
)->MaxY();
22521 wxPyEndAllowThreads(__tstate
);
22522 if (PyErr_Occurred()) SWIG_fail
;
22524 resultobj
= SWIG_From_int(static_cast< int >(result
));
22531 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22532 PyObject
*resultobj
= 0;
22533 wxDC
*arg1
= (wxDC
*) 0 ;
22534 int *arg2
= (int *) 0 ;
22535 int *arg3
= (int *) 0 ;
22536 int *arg4
= (int *) 0 ;
22537 int *arg5
= (int *) 0 ;
22541 int res2
= SWIG_TMPOBJ
;
22543 int res3
= SWIG_TMPOBJ
;
22545 int res4
= SWIG_TMPOBJ
;
22547 int res5
= SWIG_TMPOBJ
;
22548 PyObject
*swig_obj
[1] ;
22554 if (!args
) SWIG_fail
;
22555 swig_obj
[0] = args
;
22556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22557 if (!SWIG_IsOK(res1
)) {
22558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22560 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22563 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
22564 wxPyEndAllowThreads(__tstate
);
22565 if (PyErr_Occurred()) SWIG_fail
;
22567 resultobj
= SWIG_Py_Void();
22568 if (SWIG_IsTmpObj(res2
)) {
22569 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22571 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22572 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22574 if (SWIG_IsTmpObj(res3
)) {
22575 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22577 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22578 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22580 if (SWIG_IsTmpObj(res4
)) {
22581 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22583 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22584 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22586 if (SWIG_IsTmpObj(res5
)) {
22587 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
22589 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22590 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
22598 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22599 PyObject
*resultobj
= 0;
22600 wxDC
*arg1
= (wxDC
*) 0 ;
22601 PyObject
*arg2
= (PyObject
*) 0 ;
22602 PyObject
*arg3
= (PyObject
*) 0 ;
22603 PyObject
*arg4
= (PyObject
*) 0 ;
22604 PyObject
*result
= 0 ;
22607 PyObject
* obj0
= 0 ;
22608 PyObject
* obj1
= 0 ;
22609 PyObject
* obj2
= 0 ;
22610 PyObject
* obj3
= 0 ;
22611 char * kwnames
[] = {
22612 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22617 if (!SWIG_IsOK(res1
)) {
22618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
22620 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22626 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
22627 wxPyEndAllowThreads(__tstate
);
22628 if (PyErr_Occurred()) SWIG_fail
;
22630 resultobj
= result
;
22637 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22638 PyObject
*resultobj
= 0;
22639 wxDC
*arg1
= (wxDC
*) 0 ;
22640 PyObject
*arg2
= (PyObject
*) 0 ;
22641 PyObject
*arg3
= (PyObject
*) 0 ;
22642 PyObject
*arg4
= (PyObject
*) 0 ;
22643 PyObject
*result
= 0 ;
22646 PyObject
* obj0
= 0 ;
22647 PyObject
* obj1
= 0 ;
22648 PyObject
* obj2
= 0 ;
22649 PyObject
* obj3
= 0 ;
22650 char * kwnames
[] = {
22651 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22656 if (!SWIG_IsOK(res1
)) {
22657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
22659 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22665 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
22666 wxPyEndAllowThreads(__tstate
);
22667 if (PyErr_Occurred()) SWIG_fail
;
22669 resultobj
= result
;
22676 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22677 PyObject
*resultobj
= 0;
22678 wxDC
*arg1
= (wxDC
*) 0 ;
22679 PyObject
*arg2
= (PyObject
*) 0 ;
22680 PyObject
*arg3
= (PyObject
*) 0 ;
22681 PyObject
*arg4
= (PyObject
*) 0 ;
22682 PyObject
*result
= 0 ;
22685 PyObject
* obj0
= 0 ;
22686 PyObject
* obj1
= 0 ;
22687 PyObject
* obj2
= 0 ;
22688 PyObject
* obj3
= 0 ;
22689 char * kwnames
[] = {
22690 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22695 if (!SWIG_IsOK(res1
)) {
22696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
22698 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22704 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
22705 wxPyEndAllowThreads(__tstate
);
22706 if (PyErr_Occurred()) SWIG_fail
;
22708 resultobj
= result
;
22715 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22716 PyObject
*resultobj
= 0;
22717 wxDC
*arg1
= (wxDC
*) 0 ;
22718 PyObject
*arg2
= (PyObject
*) 0 ;
22719 PyObject
*arg3
= (PyObject
*) 0 ;
22720 PyObject
*arg4
= (PyObject
*) 0 ;
22721 PyObject
*result
= 0 ;
22724 PyObject
* obj0
= 0 ;
22725 PyObject
* obj1
= 0 ;
22726 PyObject
* obj2
= 0 ;
22727 PyObject
* obj3
= 0 ;
22728 char * kwnames
[] = {
22729 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22734 if (!SWIG_IsOK(res1
)) {
22735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
22737 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22743 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
22744 wxPyEndAllowThreads(__tstate
);
22745 if (PyErr_Occurred()) SWIG_fail
;
22747 resultobj
= result
;
22754 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22755 PyObject
*resultobj
= 0;
22756 wxDC
*arg1
= (wxDC
*) 0 ;
22757 PyObject
*arg2
= (PyObject
*) 0 ;
22758 PyObject
*arg3
= (PyObject
*) 0 ;
22759 PyObject
*arg4
= (PyObject
*) 0 ;
22760 PyObject
*result
= 0 ;
22763 PyObject
* obj0
= 0 ;
22764 PyObject
* obj1
= 0 ;
22765 PyObject
* obj2
= 0 ;
22766 PyObject
* obj3
= 0 ;
22767 char * kwnames
[] = {
22768 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22773 if (!SWIG_IsOK(res1
)) {
22774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
22776 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22782 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
22783 wxPyEndAllowThreads(__tstate
);
22784 if (PyErr_Occurred()) SWIG_fail
;
22786 resultobj
= result
;
22793 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22794 PyObject
*resultobj
= 0;
22795 wxDC
*arg1
= (wxDC
*) 0 ;
22796 PyObject
*arg2
= (PyObject
*) 0 ;
22797 PyObject
*arg3
= (PyObject
*) 0 ;
22798 PyObject
*arg4
= (PyObject
*) 0 ;
22799 PyObject
*arg5
= (PyObject
*) 0 ;
22800 PyObject
*result
= 0 ;
22803 PyObject
* obj0
= 0 ;
22804 PyObject
* obj1
= 0 ;
22805 PyObject
* obj2
= 0 ;
22806 PyObject
* obj3
= 0 ;
22807 PyObject
* obj4
= 0 ;
22808 char * kwnames
[] = {
22809 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
22812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22814 if (!SWIG_IsOK(res1
)) {
22815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
22817 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22824 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
22825 wxPyEndAllowThreads(__tstate
);
22826 if (PyErr_Occurred()) SWIG_fail
;
22828 resultobj
= result
;
22835 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22837 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22838 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
22839 return SWIG_Py_Void();
22842 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22843 PyObject
*resultobj
= 0;
22844 wxMemoryDC
*result
= 0 ;
22846 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryDC",0,0,0)) SWIG_fail
;
22848 if (!wxPyCheckForApp()) SWIG_fail
;
22849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22850 result
= (wxMemoryDC
*)new wxMemoryDC();
22851 wxPyEndAllowThreads(__tstate
);
22852 if (PyErr_Occurred()) SWIG_fail
;
22854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
22861 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22862 PyObject
*resultobj
= 0;
22863 wxDC
*arg1
= (wxDC
*) 0 ;
22864 wxMemoryDC
*result
= 0 ;
22867 PyObject
* obj0
= 0 ;
22868 char * kwnames
[] = {
22869 (char *) "oldDC", NULL
22872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
22873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22874 if (!SWIG_IsOK(res1
)) {
22875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
22877 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22879 if (!wxPyCheckForApp()) SWIG_fail
;
22880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22881 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
22882 wxPyEndAllowThreads(__tstate
);
22883 if (PyErr_Occurred()) SWIG_fail
;
22885 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
22892 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22893 PyObject
*resultobj
= 0;
22894 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
22895 wxBitmap
*arg2
= 0 ;
22900 PyObject
* obj0
= 0 ;
22901 PyObject
* obj1
= 0 ;
22902 char * kwnames
[] = {
22903 (char *) "self",(char *) "bitmap", NULL
22906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
22908 if (!SWIG_IsOK(res1
)) {
22909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
22911 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
22912 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22913 if (!SWIG_IsOK(res2
)) {
22914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22917 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22919 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22922 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
22923 wxPyEndAllowThreads(__tstate
);
22924 if (PyErr_Occurred()) SWIG_fail
;
22926 resultobj
= SWIG_Py_Void();
22933 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22935 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22936 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
22937 return SWIG_Py_Void();
22940 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22941 return SWIG_Python_InitShadowInstance(args
);
22944 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
22945 PyObject
*resultobj
= 0;
22946 wxDC
*arg1
= (wxDC
*) 0 ;
22947 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
22948 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
22949 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
22950 wxBufferedDC
*result
= 0 ;
22958 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
22959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22960 if (!SWIG_IsOK(res1
)) {
22961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
22963 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22965 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
22966 if (!SWIG_IsOK(res2
)) {
22967 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22970 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
22972 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
22975 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
22976 if (!SWIG_IsOK(ecode3
)) {
22977 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
22979 arg3
= static_cast< int >(val3
);
22982 if (!wxPyCheckForApp()) SWIG_fail
;
22983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22984 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
22985 wxPyEndAllowThreads(__tstate
);
22986 if (PyErr_Occurred()) SWIG_fail
;
22988 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
22995 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
22996 PyObject
*resultobj
= 0;
22997 wxDC
*arg1
= (wxDC
*) 0 ;
22999 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23000 wxBufferedDC
*result
= 0 ;
23007 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
23008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23009 if (!SWIG_IsOK(res1
)) {
23010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23012 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23015 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23018 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23019 if (!SWIG_IsOK(ecode3
)) {
23020 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23022 arg3
= static_cast< int >(val3
);
23025 if (!wxPyCheckForApp()) SWIG_fail
;
23026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23027 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
23028 wxPyEndAllowThreads(__tstate
);
23029 if (PyErr_Occurred()) SWIG_fail
;
23031 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23038 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
23042 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
23044 if ((argc
>= 1) && (argc
<= 3)) {
23048 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
23049 _v
= SWIG_CheckState(res
);
23051 if (!_v
) goto check_1
;
23053 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
23057 if ((argc
>= 2) && (argc
<= 3)) {
23058 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
23062 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
23067 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23068 PyObject
*resultobj
= 0;
23069 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23072 PyObject
*swig_obj
[1] ;
23074 if (!args
) SWIG_fail
;
23075 swig_obj
[0] = args
;
23076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
23077 if (!SWIG_IsOK(res1
)) {
23078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23080 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23085 wxPyEndAllowThreads(__tstate
);
23086 if (PyErr_Occurred()) SWIG_fail
;
23088 resultobj
= SWIG_Py_Void();
23095 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23096 PyObject
*resultobj
= 0;
23097 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23100 PyObject
*swig_obj
[1] ;
23102 if (!args
) SWIG_fail
;
23103 swig_obj
[0] = args
;
23104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
23105 if (!SWIG_IsOK(res1
)) {
23106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23108 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23112 wxPyEndAllowThreads(__tstate
);
23113 if (PyErr_Occurred()) SWIG_fail
;
23115 resultobj
= SWIG_Py_Void();
23122 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23124 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23125 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
23126 return SWIG_Py_Void();
23129 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23130 return SWIG_Python_InitShadowInstance(args
);
23133 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23134 PyObject
*resultobj
= 0;
23135 wxWindow
*arg1
= (wxWindow
*) 0 ;
23136 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23137 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23138 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23139 wxBufferedPaintDC
*result
= 0 ;
23146 PyObject
* obj0
= 0 ;
23147 PyObject
* obj1
= 0 ;
23148 PyObject
* obj2
= 0 ;
23149 char * kwnames
[] = {
23150 (char *) "window",(char *) "buffer",(char *) "style", NULL
23153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23155 if (!SWIG_IsOK(res1
)) {
23156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23158 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23160 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23161 if (!SWIG_IsOK(res2
)) {
23162 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23165 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23167 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23170 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23171 if (!SWIG_IsOK(ecode3
)) {
23172 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
23174 arg3
= static_cast< int >(val3
);
23177 if (!wxPyCheckForApp()) SWIG_fail
;
23178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23179 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23180 wxPyEndAllowThreads(__tstate
);
23181 if (PyErr_Occurred()) SWIG_fail
;
23183 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
23190 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23192 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23193 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
23194 return SWIG_Py_Void();
23197 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23198 return SWIG_Python_InitShadowInstance(args
);
23201 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23202 PyObject
*resultobj
= 0;
23203 wxScreenDC
*result
= 0 ;
23205 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23207 if (!wxPyCheckForApp()) SWIG_fail
;
23208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23209 result
= (wxScreenDC
*)new wxScreenDC();
23210 wxPyEndAllowThreads(__tstate
);
23211 if (PyErr_Occurred()) SWIG_fail
;
23213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23220 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23221 PyObject
*resultobj
= 0;
23222 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23223 wxWindow
*arg2
= (wxWindow
*) 0 ;
23229 PyObject
* obj0
= 0 ;
23230 PyObject
* obj1
= 0 ;
23231 char * kwnames
[] = {
23232 (char *) "self",(char *) "window", NULL
23235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23237 if (!SWIG_IsOK(res1
)) {
23238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23240 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23241 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23242 if (!SWIG_IsOK(res2
)) {
23243 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23245 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23248 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23249 wxPyEndAllowThreads(__tstate
);
23250 if (PyErr_Occurred()) SWIG_fail
;
23253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23261 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23262 PyObject
*resultobj
= 0;
23263 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23264 wxRect
*arg2
= (wxRect
*) NULL
;
23270 PyObject
* obj0
= 0 ;
23271 PyObject
* obj1
= 0 ;
23272 char * kwnames
[] = {
23273 (char *) "self",(char *) "rect", NULL
23276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23278 if (!SWIG_IsOK(res1
)) {
23279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23281 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23283 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
23284 if (!SWIG_IsOK(res2
)) {
23285 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
23287 arg2
= reinterpret_cast< wxRect
* >(argp2
);
23290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23291 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23292 wxPyEndAllowThreads(__tstate
);
23293 if (PyErr_Occurred()) SWIG_fail
;
23296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23304 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23305 PyObject
*resultobj
= 0;
23306 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23310 PyObject
*swig_obj
[1] ;
23312 if (!args
) SWIG_fail
;
23313 swig_obj
[0] = args
;
23314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23315 if (!SWIG_IsOK(res1
)) {
23316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23318 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23321 result
= (bool)(arg1
)->EndDrawingOnTop();
23322 wxPyEndAllowThreads(__tstate
);
23323 if (PyErr_Occurred()) SWIG_fail
;
23326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23334 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23336 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23337 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
23338 return SWIG_Py_Void();
23341 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23342 return SWIG_Python_InitShadowInstance(args
);
23345 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23346 PyObject
*resultobj
= 0;
23347 wxWindow
*arg1
= (wxWindow
*) 0 ;
23348 wxClientDC
*result
= 0 ;
23351 PyObject
* obj0
= 0 ;
23352 char * kwnames
[] = {
23353 (char *) "win", NULL
23356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
23357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23358 if (!SWIG_IsOK(res1
)) {
23359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23361 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23363 if (!wxPyCheckForApp()) SWIG_fail
;
23364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23365 result
= (wxClientDC
*)new wxClientDC(arg1
);
23366 wxPyEndAllowThreads(__tstate
);
23367 if (PyErr_Occurred()) SWIG_fail
;
23369 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
23376 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23378 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23379 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
23380 return SWIG_Py_Void();
23383 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23384 return SWIG_Python_InitShadowInstance(args
);
23387 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23388 PyObject
*resultobj
= 0;
23389 wxWindow
*arg1
= (wxWindow
*) 0 ;
23390 wxPaintDC
*result
= 0 ;
23393 PyObject
* obj0
= 0 ;
23394 char * kwnames
[] = {
23395 (char *) "win", NULL
23398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
23399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23400 if (!SWIG_IsOK(res1
)) {
23401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23403 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23405 if (!wxPyCheckForApp()) SWIG_fail
;
23406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23407 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
23408 wxPyEndAllowThreads(__tstate
);
23409 if (PyErr_Occurred()) SWIG_fail
;
23411 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
23418 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23420 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23421 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
23422 return SWIG_Py_Void();
23425 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23426 return SWIG_Python_InitShadowInstance(args
);
23429 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23430 PyObject
*resultobj
= 0;
23431 wxWindow
*arg1
= (wxWindow
*) 0 ;
23432 wxWindowDC
*result
= 0 ;
23435 PyObject
* obj0
= 0 ;
23436 char * kwnames
[] = {
23437 (char *) "win", NULL
23440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
23441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23442 if (!SWIG_IsOK(res1
)) {
23443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23445 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23447 if (!wxPyCheckForApp()) SWIG_fail
;
23448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23449 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
23450 wxPyEndAllowThreads(__tstate
);
23451 if (PyErr_Occurred()) SWIG_fail
;
23453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
23460 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23462 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23463 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
23464 return SWIG_Py_Void();
23467 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23468 return SWIG_Python_InitShadowInstance(args
);
23471 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23472 PyObject
*resultobj
= 0;
23475 wxMirrorDC
*result
= 0 ;
23480 PyObject
* obj0
= 0 ;
23481 PyObject
* obj1
= 0 ;
23482 char * kwnames
[] = {
23483 (char *) "dc",(char *) "mirror", NULL
23486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23487 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23488 if (!SWIG_IsOK(res1
)) {
23489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23492 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23494 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23495 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23496 if (!SWIG_IsOK(ecode2
)) {
23497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
23499 arg2
= static_cast< bool >(val2
);
23501 if (!wxPyCheckForApp()) SWIG_fail
;
23502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23503 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
23504 wxPyEndAllowThreads(__tstate
);
23505 if (PyErr_Occurred()) SWIG_fail
;
23507 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
23514 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23516 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23517 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
23518 return SWIG_Py_Void();
23521 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23522 return SWIG_Python_InitShadowInstance(args
);
23525 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23526 PyObject
*resultobj
= 0;
23527 wxPrintData
*arg1
= 0 ;
23528 wxPostScriptDC
*result
= 0 ;
23531 PyObject
* obj0
= 0 ;
23532 char * kwnames
[] = {
23533 (char *) "printData", NULL
23536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
23537 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23538 if (!SWIG_IsOK(res1
)) {
23539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23542 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23544 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23546 if (!wxPyCheckForApp()) SWIG_fail
;
23547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23548 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
23549 wxPyEndAllowThreads(__tstate
);
23550 if (PyErr_Occurred()) SWIG_fail
;
23552 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
23559 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23560 PyObject
*resultobj
= 0;
23561 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23562 wxPrintData
*result
= 0 ;
23565 PyObject
*swig_obj
[1] ;
23567 if (!args
) SWIG_fail
;
23568 swig_obj
[0] = args
;
23569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23570 if (!SWIG_IsOK(res1
)) {
23571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23573 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23577 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23578 result
= (wxPrintData
*) &_result_ref
;
23580 wxPyEndAllowThreads(__tstate
);
23581 if (PyErr_Occurred()) SWIG_fail
;
23583 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
23590 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23591 PyObject
*resultobj
= 0;
23592 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23593 wxPrintData
*arg2
= 0 ;
23598 PyObject
* obj0
= 0 ;
23599 PyObject
* obj1
= 0 ;
23600 char * kwnames
[] = {
23601 (char *) "self",(char *) "data", NULL
23604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23606 if (!SWIG_IsOK(res1
)) {
23607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23609 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23610 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23611 if (!SWIG_IsOK(res2
)) {
23612 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23615 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23617 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
23619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23620 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
23621 wxPyEndAllowThreads(__tstate
);
23622 if (PyErr_Occurred()) SWIG_fail
;
23624 resultobj
= SWIG_Py_Void();
23631 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23632 PyObject
*resultobj
= 0;
23636 PyObject
* obj0
= 0 ;
23637 char * kwnames
[] = {
23638 (char *) "ppi", NULL
23641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
23642 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23643 if (!SWIG_IsOK(ecode1
)) {
23644 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
23646 arg1
= static_cast< int >(val1
);
23648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23649 wxPostScriptDC::SetResolution(arg1
);
23650 wxPyEndAllowThreads(__tstate
);
23651 if (PyErr_Occurred()) SWIG_fail
;
23653 resultobj
= SWIG_Py_Void();
23660 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23661 PyObject
*resultobj
= 0;
23664 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
23666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23667 result
= (int)wxPostScriptDC::GetResolution();
23668 wxPyEndAllowThreads(__tstate
);
23669 if (PyErr_Occurred()) SWIG_fail
;
23671 resultobj
= SWIG_From_int(static_cast< int >(result
));
23678 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23680 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23681 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
23682 return SWIG_Py_Void();
23685 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23686 return SWIG_Python_InitShadowInstance(args
);
23689 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23690 PyObject
*resultobj
= 0;
23691 wxString
const &arg1_defvalue
= wxPyEmptyString
;
23692 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
23693 wxMetaFile
*result
= 0 ;
23694 bool temp1
= false ;
23695 PyObject
* obj0
= 0 ;
23696 char * kwnames
[] = {
23697 (char *) "filename", NULL
23700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
23703 arg1
= wxString_in_helper(obj0
);
23704 if (arg1
== NULL
) SWIG_fail
;
23709 if (!wxPyCheckForApp()) SWIG_fail
;
23710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23711 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
23712 wxPyEndAllowThreads(__tstate
);
23713 if (PyErr_Occurred()) SWIG_fail
;
23715 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
23730 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23731 PyObject
*resultobj
= 0;
23732 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
23735 PyObject
*swig_obj
[1] ;
23737 if (!args
) SWIG_fail
;
23738 swig_obj
[0] = args
;
23739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
23740 if (!SWIG_IsOK(res1
)) {
23741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
23743 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
23745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23748 wxPyEndAllowThreads(__tstate
);
23749 if (PyErr_Occurred()) SWIG_fail
;
23751 resultobj
= SWIG_Py_Void();
23758 SWIGINTERN PyObject
*_wrap_MetaFile_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23759 PyObject
*resultobj
= 0;
23760 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
23764 PyObject
*swig_obj
[1] ;
23766 if (!args
) SWIG_fail
;
23767 swig_obj
[0] = args
;
23768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
23769 if (!SWIG_IsOK(res1
)) {
23770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_Ok" "', expected argument " "1"" of type '" "wxMetaFile *""'");
23772 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
23774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23775 result
= (bool)(arg1
)->Ok();
23776 wxPyEndAllowThreads(__tstate
);
23777 if (PyErr_Occurred()) SWIG_fail
;
23780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23788 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23789 PyObject
*resultobj
= 0;
23790 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
23791 int arg2
= (int) 0 ;
23792 int arg3
= (int) 0 ;
23800 PyObject
* obj0
= 0 ;
23801 PyObject
* obj1
= 0 ;
23802 PyObject
* obj2
= 0 ;
23803 char * kwnames
[] = {
23804 (char *) "self",(char *) "width",(char *) "height", NULL
23807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
23809 if (!SWIG_IsOK(res1
)) {
23810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
23812 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
23814 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23815 if (!SWIG_IsOK(ecode2
)) {
23816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
23818 arg2
= static_cast< int >(val2
);
23821 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23822 if (!SWIG_IsOK(ecode3
)) {
23823 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
23825 arg3
= static_cast< int >(val3
);
23828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23829 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
23830 wxPyEndAllowThreads(__tstate
);
23831 if (PyErr_Occurred()) SWIG_fail
;
23834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23842 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23843 PyObject
*resultobj
= 0;
23844 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
23848 PyObject
*swig_obj
[1] ;
23850 if (!args
) SWIG_fail
;
23851 swig_obj
[0] = args
;
23852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
23853 if (!SWIG_IsOK(res1
)) {
23854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
23856 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
23858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23859 result
= (arg1
)->GetSize();
23860 wxPyEndAllowThreads(__tstate
);
23861 if (PyErr_Occurred()) SWIG_fail
;
23863 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23870 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23871 PyObject
*resultobj
= 0;
23872 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
23876 PyObject
*swig_obj
[1] ;
23878 if (!args
) SWIG_fail
;
23879 swig_obj
[0] = args
;
23880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
23881 if (!SWIG_IsOK(res1
)) {
23882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
23884 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
23886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23887 result
= (int)(arg1
)->GetWidth();
23888 wxPyEndAllowThreads(__tstate
);
23889 if (PyErr_Occurred()) SWIG_fail
;
23891 resultobj
= SWIG_From_int(static_cast< int >(result
));
23898 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23899 PyObject
*resultobj
= 0;
23900 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
23904 PyObject
*swig_obj
[1] ;
23906 if (!args
) SWIG_fail
;
23907 swig_obj
[0] = args
;
23908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
23909 if (!SWIG_IsOK(res1
)) {
23910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
23912 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
23914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23915 result
= (int)(arg1
)->GetHeight();
23916 wxPyEndAllowThreads(__tstate
);
23917 if (PyErr_Occurred()) SWIG_fail
;
23919 resultobj
= SWIG_From_int(static_cast< int >(result
));
23926 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23928 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23929 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
23930 return SWIG_Py_Void();
23933 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23934 return SWIG_Python_InitShadowInstance(args
);
23937 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23938 PyObject
*resultobj
= 0;
23939 wxString
const &arg1_defvalue
= wxPyEmptyString
;
23940 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
23941 int arg2
= (int) 0 ;
23942 int arg3
= (int) 0 ;
23943 wxString
const &arg4_defvalue
= wxPyEmptyString
;
23944 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
23945 wxMetaFileDC
*result
= 0 ;
23946 bool temp1
= false ;
23951 bool temp4
= false ;
23952 PyObject
* obj0
= 0 ;
23953 PyObject
* obj1
= 0 ;
23954 PyObject
* obj2
= 0 ;
23955 PyObject
* obj3
= 0 ;
23956 char * kwnames
[] = {
23957 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
23960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23963 arg1
= wxString_in_helper(obj0
);
23964 if (arg1
== NULL
) SWIG_fail
;
23969 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23970 if (!SWIG_IsOK(ecode2
)) {
23971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
23973 arg2
= static_cast< int >(val2
);
23976 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23977 if (!SWIG_IsOK(ecode3
)) {
23978 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
23980 arg3
= static_cast< int >(val3
);
23984 arg4
= wxString_in_helper(obj3
);
23985 if (arg4
== NULL
) SWIG_fail
;
23990 if (!wxPyCheckForApp()) SWIG_fail
;
23991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23992 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
23993 wxPyEndAllowThreads(__tstate
);
23994 if (PyErr_Occurred()) SWIG_fail
;
23996 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
24019 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24020 PyObject
*resultobj
= 0;
24021 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
24022 wxMetaFile
*result
= 0 ;
24025 PyObject
*swig_obj
[1] ;
24027 if (!args
) SWIG_fail
;
24028 swig_obj
[0] = args
;
24029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
24030 if (!SWIG_IsOK(res1
)) {
24031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
24033 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
24035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24036 result
= (wxMetaFile
*)(arg1
)->Close();
24037 wxPyEndAllowThreads(__tstate
);
24038 if (PyErr_Occurred()) SWIG_fail
;
24040 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24047 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24049 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24050 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
24051 return SWIG_Py_Void();
24054 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24055 return SWIG_Python_InitShadowInstance(args
);
24058 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24059 PyObject
*resultobj
= 0;
24060 wxPrintData
*arg1
= 0 ;
24061 wxPrinterDC
*result
= 0 ;
24064 PyObject
* obj0
= 0 ;
24065 char * kwnames
[] = {
24066 (char *) "printData", NULL
24069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
24070 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24071 if (!SWIG_IsOK(res1
)) {
24072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24075 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24077 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24079 if (!wxPyCheckForApp()) SWIG_fail
;
24080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24081 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
24082 wxPyEndAllowThreads(__tstate
);
24083 if (PyErr_Occurred()) SWIG_fail
;
24085 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
24092 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24094 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24095 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
24096 return SWIG_Py_Void();
24099 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24100 return SWIG_Python_InitShadowInstance(args
);
24103 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24104 PyObject
*resultobj
= 0;
24107 int arg3
= (int) true ;
24108 int arg4
= (int) 1 ;
24109 wxImageList
*result
= 0 ;
24118 PyObject
* obj0
= 0 ;
24119 PyObject
* obj1
= 0 ;
24120 PyObject
* obj2
= 0 ;
24121 PyObject
* obj3
= 0 ;
24122 char * kwnames
[] = {
24123 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
24126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24127 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24128 if (!SWIG_IsOK(ecode1
)) {
24129 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
24131 arg1
= static_cast< int >(val1
);
24132 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24133 if (!SWIG_IsOK(ecode2
)) {
24134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
24136 arg2
= static_cast< int >(val2
);
24138 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24139 if (!SWIG_IsOK(ecode3
)) {
24140 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
24142 arg3
= static_cast< int >(val3
);
24145 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24146 if (!SWIG_IsOK(ecode4
)) {
24147 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
24149 arg4
= static_cast< int >(val4
);
24152 if (!wxPyCheckForApp()) SWIG_fail
;
24153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24154 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
24155 wxPyEndAllowThreads(__tstate
);
24156 if (PyErr_Occurred()) SWIG_fail
;
24159 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
24167 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24168 PyObject
*resultobj
= 0;
24169 wxImageList
*arg1
= (wxImageList
*) 0 ;
24172 PyObject
*swig_obj
[1] ;
24174 if (!args
) SWIG_fail
;
24175 swig_obj
[0] = args
;
24176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
24177 if (!SWIG_IsOK(res1
)) {
24178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
24180 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24185 wxPyEndAllowThreads(__tstate
);
24186 if (PyErr_Occurred()) SWIG_fail
;
24188 resultobj
= SWIG_Py_Void();
24195 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24196 PyObject
*resultobj
= 0;
24197 wxImageList
*arg1
= (wxImageList
*) 0 ;
24198 wxBitmap
*arg2
= 0 ;
24199 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
24200 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
24208 PyObject
* obj0
= 0 ;
24209 PyObject
* obj1
= 0 ;
24210 PyObject
* obj2
= 0 ;
24211 char * kwnames
[] = {
24212 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
24215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24217 if (!SWIG_IsOK(res1
)) {
24218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
24220 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24221 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24222 if (!SWIG_IsOK(res2
)) {
24223 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24226 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24228 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24230 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24231 if (!SWIG_IsOK(res3
)) {
24232 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
24235 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
24237 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
24240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24241 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
24242 wxPyEndAllowThreads(__tstate
);
24243 if (PyErr_Occurred()) SWIG_fail
;
24245 resultobj
= SWIG_From_int(static_cast< int >(result
));
24252 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24253 PyObject
*resultobj
= 0;
24254 wxImageList
*arg1
= (wxImageList
*) 0 ;
24255 wxBitmap
*arg2
= 0 ;
24256 wxColour
*arg3
= 0 ;
24263 PyObject
* obj0
= 0 ;
24264 PyObject
* obj1
= 0 ;
24265 PyObject
* obj2
= 0 ;
24266 char * kwnames
[] = {
24267 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
24270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24272 if (!SWIG_IsOK(res1
)) {
24273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
24275 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24276 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24277 if (!SWIG_IsOK(res2
)) {
24278 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24281 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24283 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24286 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24290 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
24291 wxPyEndAllowThreads(__tstate
);
24292 if (PyErr_Occurred()) SWIG_fail
;
24294 resultobj
= SWIG_From_int(static_cast< int >(result
));
24301 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24302 PyObject
*resultobj
= 0;
24303 wxImageList
*arg1
= (wxImageList
*) 0 ;
24310 PyObject
* obj0
= 0 ;
24311 PyObject
* obj1
= 0 ;
24312 char * kwnames
[] = {
24313 (char *) "self",(char *) "icon", NULL
24316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24318 if (!SWIG_IsOK(res1
)) {
24319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
24321 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24322 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
24323 if (!SWIG_IsOK(res2
)) {
24324 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
24327 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
24329 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
24331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24332 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
24333 wxPyEndAllowThreads(__tstate
);
24334 if (PyErr_Occurred()) SWIG_fail
;
24336 resultobj
= SWIG_From_int(static_cast< int >(result
));
24343 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24344 PyObject
*resultobj
= 0;
24345 wxImageList
*arg1
= (wxImageList
*) 0 ;
24347 SwigValueWrapper
<wxBitmap
> result
;
24352 PyObject
* obj0
= 0 ;
24353 PyObject
* obj1
= 0 ;
24354 char * kwnames
[] = {
24355 (char *) "self",(char *) "index", NULL
24358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24360 if (!SWIG_IsOK(res1
)) {
24361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
24363 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24364 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24365 if (!SWIG_IsOK(ecode2
)) {
24366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
24368 arg2
= static_cast< int >(val2
);
24370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24371 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
24372 wxPyEndAllowThreads(__tstate
);
24373 if (PyErr_Occurred()) SWIG_fail
;
24375 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
24382 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24383 PyObject
*resultobj
= 0;
24384 wxImageList
*arg1
= (wxImageList
*) 0 ;
24391 PyObject
* obj0
= 0 ;
24392 PyObject
* obj1
= 0 ;
24393 char * kwnames
[] = {
24394 (char *) "self",(char *) "index", NULL
24397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24399 if (!SWIG_IsOK(res1
)) {
24400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
24402 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24404 if (!SWIG_IsOK(ecode2
)) {
24405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
24407 arg2
= static_cast< int >(val2
);
24409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24410 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
24411 wxPyEndAllowThreads(__tstate
);
24412 if (PyErr_Occurred()) SWIG_fail
;
24414 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
24421 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24422 PyObject
*resultobj
= 0;
24423 wxImageList
*arg1
= (wxImageList
*) 0 ;
24425 wxBitmap
*arg3
= 0 ;
24426 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
24427 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
24437 PyObject
* obj0
= 0 ;
24438 PyObject
* obj1
= 0 ;
24439 PyObject
* obj2
= 0 ;
24440 PyObject
* obj3
= 0 ;
24441 char * kwnames
[] = {
24442 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
24445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24447 if (!SWIG_IsOK(res1
)) {
24448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
24450 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24451 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24452 if (!SWIG_IsOK(ecode2
)) {
24453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
24455 arg2
= static_cast< int >(val2
);
24456 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24457 if (!SWIG_IsOK(res3
)) {
24458 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
24461 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
24463 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
24465 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24466 if (!SWIG_IsOK(res4
)) {
24467 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
24470 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
24472 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
24475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24476 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
24477 wxPyEndAllowThreads(__tstate
);
24478 if (PyErr_Occurred()) SWIG_fail
;
24481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24489 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24490 PyObject
*resultobj
= 0;
24491 wxImageList
*arg1
= (wxImageList
*) 0 ;
24496 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
24497 bool arg7
= (bool) (bool)false ;
24513 PyObject
* obj0
= 0 ;
24514 PyObject
* obj1
= 0 ;
24515 PyObject
* obj2
= 0 ;
24516 PyObject
* obj3
= 0 ;
24517 PyObject
* obj4
= 0 ;
24518 PyObject
* obj5
= 0 ;
24519 PyObject
* obj6
= 0 ;
24520 char * kwnames
[] = {
24521 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
24524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24526 if (!SWIG_IsOK(res1
)) {
24527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
24529 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24530 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24531 if (!SWIG_IsOK(ecode2
)) {
24532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
24534 arg2
= static_cast< int >(val2
);
24535 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
24536 if (!SWIG_IsOK(res3
)) {
24537 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
24540 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
24542 arg3
= reinterpret_cast< wxDC
* >(argp3
);
24543 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24544 if (!SWIG_IsOK(ecode4
)) {
24545 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
24547 arg4
= static_cast< int >(val4
);
24548 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
24549 if (!SWIG_IsOK(ecode5
)) {
24550 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
24552 arg5
= static_cast< int >(val5
);
24554 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24555 if (!SWIG_IsOK(ecode6
)) {
24556 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
24558 arg6
= static_cast< int >(val6
);
24561 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
24562 if (!SWIG_IsOK(ecode7
)) {
24563 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
24565 arg7
= static_cast< bool >(val7
);
24568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24569 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
24570 wxPyEndAllowThreads(__tstate
);
24571 if (PyErr_Occurred()) SWIG_fail
;
24574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24582 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24583 PyObject
*resultobj
= 0;
24584 wxImageList
*arg1
= (wxImageList
*) 0 ;
24588 PyObject
*swig_obj
[1] ;
24590 if (!args
) SWIG_fail
;
24591 swig_obj
[0] = args
;
24592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24593 if (!SWIG_IsOK(res1
)) {
24594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
24596 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24599 result
= (int)(arg1
)->GetImageCount();
24600 wxPyEndAllowThreads(__tstate
);
24601 if (PyErr_Occurred()) SWIG_fail
;
24603 resultobj
= SWIG_From_int(static_cast< int >(result
));
24610 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24611 PyObject
*resultobj
= 0;
24612 wxImageList
*arg1
= (wxImageList
*) 0 ;
24619 PyObject
* obj0
= 0 ;
24620 PyObject
* obj1
= 0 ;
24621 char * kwnames
[] = {
24622 (char *) "self",(char *) "index", NULL
24625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24627 if (!SWIG_IsOK(res1
)) {
24628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
24630 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24631 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24632 if (!SWIG_IsOK(ecode2
)) {
24633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
24635 arg2
= static_cast< int >(val2
);
24637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24638 result
= (bool)(arg1
)->Remove(arg2
);
24639 wxPyEndAllowThreads(__tstate
);
24640 if (PyErr_Occurred()) SWIG_fail
;
24643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24651 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24652 PyObject
*resultobj
= 0;
24653 wxImageList
*arg1
= (wxImageList
*) 0 ;
24657 PyObject
*swig_obj
[1] ;
24659 if (!args
) SWIG_fail
;
24660 swig_obj
[0] = args
;
24661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24662 if (!SWIG_IsOK(res1
)) {
24663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
24665 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24668 result
= (bool)(arg1
)->RemoveAll();
24669 wxPyEndAllowThreads(__tstate
);
24670 if (PyErr_Occurred()) SWIG_fail
;
24673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24681 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24682 PyObject
*resultobj
= 0;
24683 wxImageList
*arg1
= (wxImageList
*) 0 ;
24692 int res3
= SWIG_TMPOBJ
;
24694 int res4
= SWIG_TMPOBJ
;
24695 PyObject
* obj0
= 0 ;
24696 PyObject
* obj1
= 0 ;
24697 char * kwnames
[] = {
24698 (char *) "self",(char *) "index", NULL
24703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24705 if (!SWIG_IsOK(res1
)) {
24706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
24708 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24709 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24710 if (!SWIG_IsOK(ecode2
)) {
24711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
24713 arg2
= static_cast< int >(val2
);
24715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24716 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
24717 wxPyEndAllowThreads(__tstate
);
24718 if (PyErr_Occurred()) SWIG_fail
;
24720 resultobj
= SWIG_Py_Void();
24721 if (SWIG_IsTmpObj(res3
)) {
24722 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
24724 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24725 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
24727 if (SWIG_IsTmpObj(res4
)) {
24728 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
24730 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
24731 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
24739 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24741 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24742 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
24743 return SWIG_Py_Void();
24746 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24747 return SWIG_Python_InitShadowInstance(args
);
24750 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24751 PyObject
*resultobj
= 0;
24752 wxStockGDI
*result
= 0 ;
24754 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
24756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24757 result
= (wxStockGDI
*)new wxStockGDI();
24758 wxPyEndAllowThreads(__tstate
);
24759 if (PyErr_Occurred()) SWIG_fail
;
24761 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
24768 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24769 PyObject
*resultobj
= 0;
24770 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
24773 PyObject
*swig_obj
[1] ;
24775 if (!args
) SWIG_fail
;
24776 swig_obj
[0] = args
;
24777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
24778 if (!SWIG_IsOK(res1
)) {
24779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
24781 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
24783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24786 wxPyEndAllowThreads(__tstate
);
24787 if (PyErr_Occurred()) SWIG_fail
;
24789 resultobj
= SWIG_Py_Void();
24796 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24797 PyObject
*resultobj
= 0;
24799 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
24801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24802 wxStockGDI::DeleteAll();
24803 wxPyEndAllowThreads(__tstate
);
24804 if (PyErr_Occurred()) SWIG_fail
;
24806 resultobj
= SWIG_Py_Void();
24813 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24814 PyObject
*resultobj
= 0;
24815 wxStockGDI
*result
= 0 ;
24817 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
24819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24821 wxStockGDI
&_result_ref
= wxStockGDI::instance();
24822 result
= (wxStockGDI
*) &_result_ref
;
24824 wxPyEndAllowThreads(__tstate
);
24825 if (PyErr_Occurred()) SWIG_fail
;
24827 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
24834 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24835 PyObject
*resultobj
= 0;
24836 wxStockGDI::Item arg1
;
24837 wxBrush
*result
= 0 ;
24840 PyObject
* obj0
= 0 ;
24841 char * kwnames
[] = {
24842 (char *) "item", NULL
24845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
24846 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24847 if (!SWIG_IsOK(ecode1
)) {
24848 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
24850 arg1
= static_cast< wxStockGDI::Item
>(val1
);
24852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24853 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
24854 wxPyEndAllowThreads(__tstate
);
24855 if (PyErr_Occurred()) SWIG_fail
;
24857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
24864 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24865 PyObject
*resultobj
= 0;
24866 wxStockGDI::Item arg1
;
24867 wxColour
*result
= 0 ;
24870 PyObject
* obj0
= 0 ;
24871 char * kwnames
[] = {
24872 (char *) "item", NULL
24875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
24876 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24877 if (!SWIG_IsOK(ecode1
)) {
24878 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
24880 arg1
= static_cast< wxStockGDI::Item
>(val1
);
24882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24883 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
24884 wxPyEndAllowThreads(__tstate
);
24885 if (PyErr_Occurred()) SWIG_fail
;
24887 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
24894 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24895 PyObject
*resultobj
= 0;
24896 wxStockGDI::Item arg1
;
24897 wxCursor
*result
= 0 ;
24900 PyObject
* obj0
= 0 ;
24901 char * kwnames
[] = {
24902 (char *) "item", NULL
24905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
24906 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24907 if (!SWIG_IsOK(ecode1
)) {
24908 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
24910 arg1
= static_cast< wxStockGDI::Item
>(val1
);
24912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24913 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
24914 wxPyEndAllowThreads(__tstate
);
24915 if (PyErr_Occurred()) SWIG_fail
;
24917 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
24924 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24925 PyObject
*resultobj
= 0;
24926 wxStockGDI::Item arg1
;
24927 wxPen
*result
= 0 ;
24930 PyObject
* obj0
= 0 ;
24931 char * kwnames
[] = {
24932 (char *) "item", NULL
24935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
24936 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24937 if (!SWIG_IsOK(ecode1
)) {
24938 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
24940 arg1
= static_cast< wxStockGDI::Item
>(val1
);
24942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24943 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
24944 wxPyEndAllowThreads(__tstate
);
24945 if (PyErr_Occurred()) SWIG_fail
;
24947 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
24954 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24955 PyObject
*resultobj
= 0;
24956 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
24957 wxStockGDI::Item arg2
;
24958 wxFont
*result
= 0 ;
24963 PyObject
* obj0
= 0 ;
24964 PyObject
* obj1
= 0 ;
24965 char * kwnames
[] = {
24966 (char *) "self",(char *) "item", NULL
24969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
24971 if (!SWIG_IsOK(res1
)) {
24972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
24974 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
24975 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24976 if (!SWIG_IsOK(ecode2
)) {
24977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
24979 arg2
= static_cast< wxStockGDI::Item
>(val2
);
24981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24982 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
24983 wxPyEndAllowThreads(__tstate
);
24984 if (PyErr_Occurred()) SWIG_fail
;
24986 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
24993 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24995 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24996 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
24997 return SWIG_Py_Void();
25000 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25001 return SWIG_Python_InitShadowInstance(args
);
25004 SWIGINTERN
int NullBitmap_set(PyObject
*) {
25005 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
25010 SWIGINTERN PyObject
*NullBitmap_get(void) {
25011 PyObject
*pyobj
= 0;
25013 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
25018 SWIGINTERN
int NullIcon_set(PyObject
*) {
25019 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
25024 SWIGINTERN PyObject
*NullIcon_get(void) {
25025 PyObject
*pyobj
= 0;
25027 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
25032 SWIGINTERN
int NullCursor_set(PyObject
*) {
25033 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
25038 SWIGINTERN PyObject
*NullCursor_get(void) {
25039 PyObject
*pyobj
= 0;
25041 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
25046 SWIGINTERN
int NullPen_set(PyObject
*) {
25047 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
25052 SWIGINTERN PyObject
*NullPen_get(void) {
25053 PyObject
*pyobj
= 0;
25055 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
25060 SWIGINTERN
int NullBrush_set(PyObject
*) {
25061 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
25066 SWIGINTERN PyObject
*NullBrush_get(void) {
25067 PyObject
*pyobj
= 0;
25069 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
25074 SWIGINTERN
int NullPalette_set(PyObject
*) {
25075 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
25080 SWIGINTERN PyObject
*NullPalette_get(void) {
25081 PyObject
*pyobj
= 0;
25083 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
25088 SWIGINTERN
int NullFont_set(PyObject
*) {
25089 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
25094 SWIGINTERN PyObject
*NullFont_get(void) {
25095 PyObject
*pyobj
= 0;
25097 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
25102 SWIGINTERN
int NullColour_set(PyObject
*) {
25103 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
25108 SWIGINTERN PyObject
*NullColour_get(void) {
25109 PyObject
*pyobj
= 0;
25111 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
25116 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25117 PyObject
*resultobj
= 0;
25118 wxGDIObjListBase
*result
= 0 ;
25120 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
25122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25123 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
25124 wxPyEndAllowThreads(__tstate
);
25125 if (PyErr_Occurred()) SWIG_fail
;
25127 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
25134 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25135 PyObject
*resultobj
= 0;
25136 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
25139 PyObject
*swig_obj
[1] ;
25141 if (!args
) SWIG_fail
;
25142 swig_obj
[0] = args
;
25143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
25144 if (!SWIG_IsOK(res1
)) {
25145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
25147 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
25149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25152 wxPyEndAllowThreads(__tstate
);
25153 if (PyErr_Occurred()) SWIG_fail
;
25155 resultobj
= SWIG_Py_Void();
25162 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25164 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25165 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
25166 return SWIG_Py_Void();
25169 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25170 return SWIG_Python_InitShadowInstance(args
);
25173 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25174 PyObject
*resultobj
= 0;
25175 wxPenList
*arg1
= (wxPenList
*) 0 ;
25176 wxColour
*arg2
= 0 ;
25179 wxPen
*result
= 0 ;
25187 PyObject
* obj0
= 0 ;
25188 PyObject
* obj1
= 0 ;
25189 PyObject
* obj2
= 0 ;
25190 PyObject
* obj3
= 0 ;
25191 char * kwnames
[] = {
25192 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
25195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
25197 if (!SWIG_IsOK(res1
)) {
25198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
25200 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
25203 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25205 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25206 if (!SWIG_IsOK(ecode3
)) {
25207 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
25209 arg3
= static_cast< int >(val3
);
25210 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25211 if (!SWIG_IsOK(ecode4
)) {
25212 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
25214 arg4
= static_cast< int >(val4
);
25216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25217 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
25218 wxPyEndAllowThreads(__tstate
);
25219 if (PyErr_Occurred()) SWIG_fail
;
25221 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
25228 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25229 PyObject
*resultobj
= 0;
25230 wxPenList
*arg1
= (wxPenList
*) 0 ;
25231 wxPen
*arg2
= (wxPen
*) 0 ;
25236 PyObject
* obj0
= 0 ;
25237 PyObject
* obj1
= 0 ;
25238 char * kwnames
[] = {
25239 (char *) "self",(char *) "pen", NULL
25242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
25244 if (!SWIG_IsOK(res1
)) {
25245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
25247 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
25248 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
25249 if (!SWIG_IsOK(res2
)) {
25250 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
25252 arg2
= reinterpret_cast< wxPen
* >(argp2
);
25254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25255 (arg1
)->AddPen(arg2
);
25256 wxPyEndAllowThreads(__tstate
);
25257 if (PyErr_Occurred()) SWIG_fail
;
25259 resultobj
= SWIG_Py_Void();
25266 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25267 PyObject
*resultobj
= 0;
25268 wxPenList
*arg1
= (wxPenList
*) 0 ;
25269 wxPen
*arg2
= (wxPen
*) 0 ;
25274 PyObject
* obj0
= 0 ;
25275 PyObject
* obj1
= 0 ;
25276 char * kwnames
[] = {
25277 (char *) "self",(char *) "pen", NULL
25280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
25282 if (!SWIG_IsOK(res1
)) {
25283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
25285 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
25286 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
25287 if (!SWIG_IsOK(res2
)) {
25288 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
25290 arg2
= reinterpret_cast< wxPen
* >(argp2
);
25292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25293 (arg1
)->RemovePen(arg2
);
25294 wxPyEndAllowThreads(__tstate
);
25295 if (PyErr_Occurred()) SWIG_fail
;
25297 resultobj
= SWIG_Py_Void();
25304 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25306 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25307 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
25308 return SWIG_Py_Void();
25311 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25312 PyObject
*resultobj
= 0;
25313 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
25314 wxColour
*arg2
= 0 ;
25315 int arg3
= (int) wxSOLID
;
25316 wxBrush
*result
= 0 ;
25322 PyObject
* obj0
= 0 ;
25323 PyObject
* obj1
= 0 ;
25324 PyObject
* obj2
= 0 ;
25325 char * kwnames
[] = {
25326 (char *) "self",(char *) "colour",(char *) "style", NULL
25329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
25331 if (!SWIG_IsOK(res1
)) {
25332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
25334 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
25337 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25340 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25341 if (!SWIG_IsOK(ecode3
)) {
25342 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
25344 arg3
= static_cast< int >(val3
);
25347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25348 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
25349 wxPyEndAllowThreads(__tstate
);
25350 if (PyErr_Occurred()) SWIG_fail
;
25352 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
25359 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25360 PyObject
*resultobj
= 0;
25361 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
25362 wxBrush
*arg2
= (wxBrush
*) 0 ;
25367 PyObject
* obj0
= 0 ;
25368 PyObject
* obj1
= 0 ;
25369 char * kwnames
[] = {
25370 (char *) "self",(char *) "brush", NULL
25373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
25375 if (!SWIG_IsOK(res1
)) {
25376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
25378 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
25379 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
25380 if (!SWIG_IsOK(res2
)) {
25381 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
25383 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
25385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25386 (arg1
)->AddBrush(arg2
);
25387 wxPyEndAllowThreads(__tstate
);
25388 if (PyErr_Occurred()) SWIG_fail
;
25390 resultobj
= SWIG_Py_Void();
25397 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25398 PyObject
*resultobj
= 0;
25399 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
25400 wxBrush
*arg2
= (wxBrush
*) 0 ;
25405 PyObject
* obj0
= 0 ;
25406 PyObject
* obj1
= 0 ;
25407 char * kwnames
[] = {
25408 (char *) "self",(char *) "brush", NULL
25411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
25413 if (!SWIG_IsOK(res1
)) {
25414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
25416 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
25417 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
25418 if (!SWIG_IsOK(res2
)) {
25419 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
25421 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
25423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25424 (arg1
)->RemoveBrush(arg2
);
25425 wxPyEndAllowThreads(__tstate
);
25426 if (PyErr_Occurred()) SWIG_fail
;
25428 resultobj
= SWIG_Py_Void();
25435 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25437 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25438 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
25439 return SWIG_Py_Void();
25442 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25443 PyObject
*resultobj
= 0;
25444 wxFontList
*arg1
= (wxFontList
*) 0 ;
25449 bool arg6
= (bool) false ;
25450 wxString
const &arg7_defvalue
= wxPyEmptyString
;
25451 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25452 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
25453 wxFont
*result
= 0 ;
25466 bool temp7
= false ;
25469 PyObject
* obj0
= 0 ;
25470 PyObject
* obj1
= 0 ;
25471 PyObject
* obj2
= 0 ;
25472 PyObject
* obj3
= 0 ;
25473 PyObject
* obj4
= 0 ;
25474 PyObject
* obj5
= 0 ;
25475 PyObject
* obj6
= 0 ;
25476 PyObject
* obj7
= 0 ;
25477 char * kwnames
[] = {
25478 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
25481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
25482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
25483 if (!SWIG_IsOK(res1
)) {
25484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
25486 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
25487 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25488 if (!SWIG_IsOK(ecode2
)) {
25489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
25491 arg2
= static_cast< int >(val2
);
25492 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25493 if (!SWIG_IsOK(ecode3
)) {
25494 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
25496 arg3
= static_cast< int >(val3
);
25497 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25498 if (!SWIG_IsOK(ecode4
)) {
25499 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
25501 arg4
= static_cast< int >(val4
);
25502 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25503 if (!SWIG_IsOK(ecode5
)) {
25504 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
25506 arg5
= static_cast< int >(val5
);
25508 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
25509 if (!SWIG_IsOK(ecode6
)) {
25510 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
25512 arg6
= static_cast< bool >(val6
);
25516 arg7
= wxString_in_helper(obj6
);
25517 if (arg7
== NULL
) SWIG_fail
;
25522 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
25523 if (!SWIG_IsOK(ecode8
)) {
25524 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
25526 arg8
= static_cast< wxFontEncoding
>(val8
);
25529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25530 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
25531 wxPyEndAllowThreads(__tstate
);
25532 if (PyErr_Occurred()) SWIG_fail
;
25534 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
25549 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25550 PyObject
*resultobj
= 0;
25551 wxFontList
*arg1
= (wxFontList
*) 0 ;
25552 wxFont
*arg2
= (wxFont
*) 0 ;
25557 PyObject
* obj0
= 0 ;
25558 PyObject
* obj1
= 0 ;
25559 char * kwnames
[] = {
25560 (char *) "self",(char *) "font", NULL
25563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
25565 if (!SWIG_IsOK(res1
)) {
25566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
25568 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
25569 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
25570 if (!SWIG_IsOK(res2
)) {
25571 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
25573 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25576 (arg1
)->AddFont(arg2
);
25577 wxPyEndAllowThreads(__tstate
);
25578 if (PyErr_Occurred()) SWIG_fail
;
25580 resultobj
= SWIG_Py_Void();
25587 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25588 PyObject
*resultobj
= 0;
25589 wxFontList
*arg1
= (wxFontList
*) 0 ;
25590 wxFont
*arg2
= (wxFont
*) 0 ;
25595 PyObject
* obj0
= 0 ;
25596 PyObject
* obj1
= 0 ;
25597 char * kwnames
[] = {
25598 (char *) "self",(char *) "font", NULL
25601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
25603 if (!SWIG_IsOK(res1
)) {
25604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
25606 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
25607 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
25608 if (!SWIG_IsOK(res2
)) {
25609 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
25611 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25614 (arg1
)->RemoveFont(arg2
);
25615 wxPyEndAllowThreads(__tstate
);
25616 if (PyErr_Occurred()) SWIG_fail
;
25618 resultobj
= SWIG_Py_Void();
25625 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25627 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25628 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
25629 return SWIG_Py_Void();
25632 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25633 PyObject
*resultobj
= 0;
25634 wxColourDatabase
*result
= 0 ;
25636 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
25638 if (!wxPyCheckForApp()) SWIG_fail
;
25639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25640 result
= (wxColourDatabase
*)new wxColourDatabase();
25641 wxPyEndAllowThreads(__tstate
);
25642 if (PyErr_Occurred()) SWIG_fail
;
25644 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
25651 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25652 PyObject
*resultobj
= 0;
25653 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25656 PyObject
*swig_obj
[1] ;
25658 if (!args
) SWIG_fail
;
25659 swig_obj
[0] = args
;
25660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
25661 if (!SWIG_IsOK(res1
)) {
25662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
25664 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25669 wxPyEndAllowThreads(__tstate
);
25670 if (PyErr_Occurred()) SWIG_fail
;
25672 resultobj
= SWIG_Py_Void();
25679 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25680 PyObject
*resultobj
= 0;
25681 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25682 wxString
*arg2
= 0 ;
25686 bool temp2
= false ;
25687 PyObject
* obj0
= 0 ;
25688 PyObject
* obj1
= 0 ;
25689 char * kwnames
[] = {
25690 (char *) "self",(char *) "name", NULL
25693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25695 if (!SWIG_IsOK(res1
)) {
25696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
25698 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25700 arg2
= wxString_in_helper(obj1
);
25701 if (arg2
== NULL
) SWIG_fail
;
25705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25706 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
25707 wxPyEndAllowThreads(__tstate
);
25708 if (PyErr_Occurred()) SWIG_fail
;
25710 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
25725 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25726 PyObject
*resultobj
= 0;
25727 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25728 wxColour
*arg2
= 0 ;
25733 PyObject
* obj0
= 0 ;
25734 PyObject
* obj1
= 0 ;
25735 char * kwnames
[] = {
25736 (char *) "self",(char *) "colour", NULL
25739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25741 if (!SWIG_IsOK(res1
)) {
25742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
25744 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25747 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25751 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
25752 wxPyEndAllowThreads(__tstate
);
25753 if (PyErr_Occurred()) SWIG_fail
;
25757 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25759 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25768 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25769 PyObject
*resultobj
= 0;
25770 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25771 wxString
*arg2
= 0 ;
25772 wxColour
*arg3
= 0 ;
25775 bool temp2
= false ;
25777 PyObject
* obj0
= 0 ;
25778 PyObject
* obj1
= 0 ;
25779 PyObject
* obj2
= 0 ;
25780 char * kwnames
[] = {
25781 (char *) "self",(char *) "name",(char *) "colour", NULL
25784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25786 if (!SWIG_IsOK(res1
)) {
25787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
25789 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25791 arg2
= wxString_in_helper(obj1
);
25792 if (arg2
== NULL
) SWIG_fail
;
25797 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25801 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
25802 wxPyEndAllowThreads(__tstate
);
25803 if (PyErr_Occurred()) SWIG_fail
;
25805 resultobj
= SWIG_Py_Void();
25820 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25821 PyObject
*resultobj
= 0;
25822 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
25823 wxString
*arg2
= 0 ;
25829 bool temp2
= false ;
25836 PyObject
* obj0
= 0 ;
25837 PyObject
* obj1
= 0 ;
25838 PyObject
* obj2
= 0 ;
25839 PyObject
* obj3
= 0 ;
25840 PyObject
* obj4
= 0 ;
25841 char * kwnames
[] = {
25842 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
25845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25847 if (!SWIG_IsOK(res1
)) {
25848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
25850 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
25852 arg2
= wxString_in_helper(obj1
);
25853 if (arg2
== NULL
) SWIG_fail
;
25856 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25857 if (!SWIG_IsOK(ecode3
)) {
25858 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
25860 arg3
= static_cast< int >(val3
);
25861 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25862 if (!SWIG_IsOK(ecode4
)) {
25863 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
25865 arg4
= static_cast< int >(val4
);
25866 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25867 if (!SWIG_IsOK(ecode5
)) {
25868 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
25870 arg5
= static_cast< int >(val5
);
25872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25873 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25874 wxPyEndAllowThreads(__tstate
);
25875 if (PyErr_Occurred()) SWIG_fail
;
25877 resultobj
= SWIG_Py_Void();
25892 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25894 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25895 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
25896 return SWIG_Py_Void();
25899 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25900 return SWIG_Python_InitShadowInstance(args
);
25903 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25904 PyObject
*resultobj
= 0;
25905 wxFontList
*result
= 0 ;
25907 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
25909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25910 result
= (wxFontList
*)_wxPyInitTheFontList();
25911 wxPyEndAllowThreads(__tstate
);
25912 if (PyErr_Occurred()) SWIG_fail
;
25914 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
25921 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25922 PyObject
*resultobj
= 0;
25923 wxPenList
*result
= 0 ;
25925 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
25927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25928 result
= (wxPenList
*)_wxPyInitThePenList();
25929 wxPyEndAllowThreads(__tstate
);
25930 if (PyErr_Occurred()) SWIG_fail
;
25932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
25939 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25940 PyObject
*resultobj
= 0;
25941 wxBrushList
*result
= 0 ;
25943 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
25945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25946 result
= (wxBrushList
*)_wxPyInitTheBrushList();
25947 wxPyEndAllowThreads(__tstate
);
25948 if (PyErr_Occurred()) SWIG_fail
;
25950 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
25957 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25958 PyObject
*resultobj
= 0;
25959 wxColourDatabase
*result
= 0 ;
25961 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
25963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25964 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
25965 wxPyEndAllowThreads(__tstate
);
25966 if (PyErr_Occurred()) SWIG_fail
;
25968 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
25975 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25976 PyObject
*resultobj
= 0;
25977 wxEffects
*result
= 0 ;
25979 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
25981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25982 result
= (wxEffects
*)new wxEffects();
25983 wxPyEndAllowThreads(__tstate
);
25984 if (PyErr_Occurred()) SWIG_fail
;
25986 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
25993 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25994 PyObject
*resultobj
= 0;
25995 wxEffects
*arg1
= (wxEffects
*) 0 ;
25999 PyObject
*swig_obj
[1] ;
26001 if (!args
) SWIG_fail
;
26002 swig_obj
[0] = args
;
26003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26004 if (!SWIG_IsOK(res1
)) {
26005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
26007 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26010 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
26011 wxPyEndAllowThreads(__tstate
);
26012 if (PyErr_Occurred()) SWIG_fail
;
26014 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26021 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26022 PyObject
*resultobj
= 0;
26023 wxEffects
*arg1
= (wxEffects
*) 0 ;
26027 PyObject
*swig_obj
[1] ;
26029 if (!args
) SWIG_fail
;
26030 swig_obj
[0] = args
;
26031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26032 if (!SWIG_IsOK(res1
)) {
26033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
26035 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26038 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
26039 wxPyEndAllowThreads(__tstate
);
26040 if (PyErr_Occurred()) SWIG_fail
;
26042 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26049 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26050 PyObject
*resultobj
= 0;
26051 wxEffects
*arg1
= (wxEffects
*) 0 ;
26055 PyObject
*swig_obj
[1] ;
26057 if (!args
) SWIG_fail
;
26058 swig_obj
[0] = args
;
26059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26060 if (!SWIG_IsOK(res1
)) {
26061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
26063 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26066 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
26067 wxPyEndAllowThreads(__tstate
);
26068 if (PyErr_Occurred()) SWIG_fail
;
26070 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26077 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26078 PyObject
*resultobj
= 0;
26079 wxEffects
*arg1
= (wxEffects
*) 0 ;
26083 PyObject
*swig_obj
[1] ;
26085 if (!args
) SWIG_fail
;
26086 swig_obj
[0] = args
;
26087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26088 if (!SWIG_IsOK(res1
)) {
26089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
26091 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26094 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
26095 wxPyEndAllowThreads(__tstate
);
26096 if (PyErr_Occurred()) SWIG_fail
;
26098 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26105 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26106 PyObject
*resultobj
= 0;
26107 wxEffects
*arg1
= (wxEffects
*) 0 ;
26111 PyObject
*swig_obj
[1] ;
26113 if (!args
) SWIG_fail
;
26114 swig_obj
[0] = args
;
26115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26116 if (!SWIG_IsOK(res1
)) {
26117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
26119 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26122 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
26123 wxPyEndAllowThreads(__tstate
);
26124 if (PyErr_Occurred()) SWIG_fail
;
26126 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26133 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26134 PyObject
*resultobj
= 0;
26135 wxEffects
*arg1
= (wxEffects
*) 0 ;
26136 wxColour
*arg2
= 0 ;
26140 PyObject
* obj0
= 0 ;
26141 PyObject
* obj1
= 0 ;
26142 char * kwnames
[] = {
26143 (char *) "self",(char *) "c", NULL
26146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26148 if (!SWIG_IsOK(res1
)) {
26149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
26151 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26154 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26158 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
26159 wxPyEndAllowThreads(__tstate
);
26160 if (PyErr_Occurred()) SWIG_fail
;
26162 resultobj
= SWIG_Py_Void();
26169 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26170 PyObject
*resultobj
= 0;
26171 wxEffects
*arg1
= (wxEffects
*) 0 ;
26172 wxColour
*arg2
= 0 ;
26176 PyObject
* obj0
= 0 ;
26177 PyObject
* obj1
= 0 ;
26178 char * kwnames
[] = {
26179 (char *) "self",(char *) "c", NULL
26182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26184 if (!SWIG_IsOK(res1
)) {
26185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
26187 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26190 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26194 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
26195 wxPyEndAllowThreads(__tstate
);
26196 if (PyErr_Occurred()) SWIG_fail
;
26198 resultobj
= SWIG_Py_Void();
26205 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26206 PyObject
*resultobj
= 0;
26207 wxEffects
*arg1
= (wxEffects
*) 0 ;
26208 wxColour
*arg2
= 0 ;
26212 PyObject
* obj0
= 0 ;
26213 PyObject
* obj1
= 0 ;
26214 char * kwnames
[] = {
26215 (char *) "self",(char *) "c", NULL
26218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26220 if (!SWIG_IsOK(res1
)) {
26221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
26223 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26226 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26230 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
26231 wxPyEndAllowThreads(__tstate
);
26232 if (PyErr_Occurred()) SWIG_fail
;
26234 resultobj
= SWIG_Py_Void();
26241 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26242 PyObject
*resultobj
= 0;
26243 wxEffects
*arg1
= (wxEffects
*) 0 ;
26244 wxColour
*arg2
= 0 ;
26248 PyObject
* obj0
= 0 ;
26249 PyObject
* obj1
= 0 ;
26250 char * kwnames
[] = {
26251 (char *) "self",(char *) "c", NULL
26254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26256 if (!SWIG_IsOK(res1
)) {
26257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
26259 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26262 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26266 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
26267 wxPyEndAllowThreads(__tstate
);
26268 if (PyErr_Occurred()) SWIG_fail
;
26270 resultobj
= SWIG_Py_Void();
26277 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26278 PyObject
*resultobj
= 0;
26279 wxEffects
*arg1
= (wxEffects
*) 0 ;
26280 wxColour
*arg2
= 0 ;
26284 PyObject
* obj0
= 0 ;
26285 PyObject
* obj1
= 0 ;
26286 char * kwnames
[] = {
26287 (char *) "self",(char *) "c", NULL
26290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26292 if (!SWIG_IsOK(res1
)) {
26293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
26295 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26298 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26302 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
26303 wxPyEndAllowThreads(__tstate
);
26304 if (PyErr_Occurred()) SWIG_fail
;
26306 resultobj
= SWIG_Py_Void();
26313 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26314 PyObject
*resultobj
= 0;
26315 wxEffects
*arg1
= (wxEffects
*) 0 ;
26316 wxColour
*arg2
= 0 ;
26317 wxColour
*arg3
= 0 ;
26318 wxColour
*arg4
= 0 ;
26319 wxColour
*arg5
= 0 ;
26320 wxColour
*arg6
= 0 ;
26328 PyObject
* obj0
= 0 ;
26329 PyObject
* obj1
= 0 ;
26330 PyObject
* obj2
= 0 ;
26331 PyObject
* obj3
= 0 ;
26332 PyObject
* obj4
= 0 ;
26333 PyObject
* obj5
= 0 ;
26334 char * kwnames
[] = {
26335 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
26338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26340 if (!SWIG_IsOK(res1
)) {
26341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
26343 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26346 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26350 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26354 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
26358 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
26362 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
26365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26366 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
26367 wxPyEndAllowThreads(__tstate
);
26368 if (PyErr_Occurred()) SWIG_fail
;
26370 resultobj
= SWIG_Py_Void();
26377 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26378 PyObject
*resultobj
= 0;
26379 wxEffects
*arg1
= (wxEffects
*) 0 ;
26382 int arg4
= (int) 1 ;
26390 PyObject
* obj0
= 0 ;
26391 PyObject
* obj1
= 0 ;
26392 PyObject
* obj2
= 0 ;
26393 PyObject
* obj3
= 0 ;
26394 char * kwnames
[] = {
26395 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
26398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26400 if (!SWIG_IsOK(res1
)) {
26401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
26403 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26404 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
26405 if (!SWIG_IsOK(res2
)) {
26406 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
26409 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
26411 arg2
= reinterpret_cast< wxDC
* >(argp2
);
26414 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
26417 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26418 if (!SWIG_IsOK(ecode4
)) {
26419 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
26421 arg4
= static_cast< int >(val4
);
26424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26425 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
26426 wxPyEndAllowThreads(__tstate
);
26427 if (PyErr_Occurred()) SWIG_fail
;
26429 resultobj
= SWIG_Py_Void();
26436 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26437 PyObject
*resultobj
= 0;
26438 wxEffects
*arg1
= (wxEffects
*) 0 ;
26441 wxBitmap
*arg4
= 0 ;
26450 PyObject
* obj0
= 0 ;
26451 PyObject
* obj1
= 0 ;
26452 PyObject
* obj2
= 0 ;
26453 PyObject
* obj3
= 0 ;
26454 char * kwnames
[] = {
26455 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
26458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26460 if (!SWIG_IsOK(res1
)) {
26461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
26463 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26466 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26468 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
26469 if (!SWIG_IsOK(res3
)) {
26470 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
26473 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
26475 arg3
= reinterpret_cast< wxDC
* >(argp3
);
26476 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
26477 if (!SWIG_IsOK(res4
)) {
26478 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
26481 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
26483 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
26485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26486 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
26487 wxPyEndAllowThreads(__tstate
);
26488 if (PyErr_Occurred()) SWIG_fail
;
26491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26499 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26501 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26502 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
26503 return SWIG_Py_Void();
26506 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26507 return SWIG_Python_InitShadowInstance(args
);
26510 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26511 PyObject
*resultobj
= 0;
26515 wxSplitterRenderParams
*result
= 0 ;
26522 PyObject
* obj0
= 0 ;
26523 PyObject
* obj1
= 0 ;
26524 PyObject
* obj2
= 0 ;
26525 char * kwnames
[] = {
26526 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
26529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26530 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26531 if (!SWIG_IsOK(ecode1
)) {
26532 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
26534 arg1
= static_cast< int >(val1
);
26535 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26536 if (!SWIG_IsOK(ecode2
)) {
26537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
26539 arg2
= static_cast< int >(val2
);
26540 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
26541 if (!SWIG_IsOK(ecode3
)) {
26542 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
26544 arg3
= static_cast< bool >(val3
);
26546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26547 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
26548 wxPyEndAllowThreads(__tstate
);
26549 if (PyErr_Occurred()) SWIG_fail
;
26551 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
26558 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26559 PyObject
*resultobj
= 0;
26560 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
26563 PyObject
*swig_obj
[1] ;
26565 if (!args
) SWIG_fail
;
26566 swig_obj
[0] = args
;
26567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
26568 if (!SWIG_IsOK(res1
)) {
26569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
26571 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
26573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26576 wxPyEndAllowThreads(__tstate
);
26577 if (PyErr_Occurred()) SWIG_fail
;
26579 resultobj
= SWIG_Py_Void();
26586 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26587 PyObject
*resultobj
= 0;
26588 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
26592 PyObject
*swig_obj
[1] ;
26594 if (!args
) SWIG_fail
;
26595 swig_obj
[0] = args
;
26596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
26597 if (!SWIG_IsOK(res1
)) {
26598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
26600 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
26601 result
= (int)(int) ((arg1
)->widthSash
);
26602 resultobj
= SWIG_From_int(static_cast< int >(result
));
26609 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26610 PyObject
*resultobj
= 0;
26611 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
26615 PyObject
*swig_obj
[1] ;
26617 if (!args
) SWIG_fail
;
26618 swig_obj
[0] = args
;
26619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
26620 if (!SWIG_IsOK(res1
)) {
26621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
26623 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
26624 result
= (int)(int) ((arg1
)->border
);
26625 resultobj
= SWIG_From_int(static_cast< int >(result
));
26632 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26633 PyObject
*resultobj
= 0;
26634 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
26638 PyObject
*swig_obj
[1] ;
26640 if (!args
) SWIG_fail
;
26641 swig_obj
[0] = args
;
26642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
26643 if (!SWIG_IsOK(res1
)) {
26644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
26646 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
26647 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
26648 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
26655 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26657 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26658 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
26659 return SWIG_Py_Void();
26662 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26663 return SWIG_Python_InitShadowInstance(args
);
26666 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26667 PyObject
*resultobj
= 0;
26668 wxHeaderButtonParams
*result
= 0 ;
26670 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
26672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26673 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
26674 wxPyEndAllowThreads(__tstate
);
26675 if (PyErr_Occurred()) SWIG_fail
;
26677 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
26684 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26685 PyObject
*resultobj
= 0;
26686 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26689 PyObject
*swig_obj
[1] ;
26691 if (!args
) SWIG_fail
;
26692 swig_obj
[0] = args
;
26693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
26694 if (!SWIG_IsOK(res1
)) {
26695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26697 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26702 wxPyEndAllowThreads(__tstate
);
26703 if (PyErr_Occurred()) SWIG_fail
;
26705 resultobj
= SWIG_Py_Void();
26712 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26713 PyObject
*resultobj
= 0;
26714 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26715 wxColour
*arg2
= (wxColour
*) 0 ;
26719 PyObject
*swig_obj
[2] ;
26721 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
26722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26723 if (!SWIG_IsOK(res1
)) {
26724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26726 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26729 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26731 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
26733 resultobj
= SWIG_Py_Void();
26740 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26741 PyObject
*resultobj
= 0;
26742 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26743 wxColour
*result
= 0 ;
26746 PyObject
*swig_obj
[1] ;
26748 if (!args
) SWIG_fail
;
26749 swig_obj
[0] = args
;
26750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26751 if (!SWIG_IsOK(res1
)) {
26752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26754 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26755 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
26756 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
26763 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26764 PyObject
*resultobj
= 0;
26765 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26766 wxColour
*arg2
= (wxColour
*) 0 ;
26770 PyObject
*swig_obj
[2] ;
26772 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
26773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26774 if (!SWIG_IsOK(res1
)) {
26775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26777 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26780 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26782 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
26784 resultobj
= SWIG_Py_Void();
26791 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26792 PyObject
*resultobj
= 0;
26793 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26794 wxColour
*result
= 0 ;
26797 PyObject
*swig_obj
[1] ;
26799 if (!args
) SWIG_fail
;
26800 swig_obj
[0] = args
;
26801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26802 if (!SWIG_IsOK(res1
)) {
26803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26805 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26806 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
26807 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
26814 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26815 PyObject
*resultobj
= 0;
26816 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26817 wxString
*arg2
= (wxString
*) 0 ;
26820 bool temp2
= false ;
26821 PyObject
*swig_obj
[2] ;
26823 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
26824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26825 if (!SWIG_IsOK(res1
)) {
26826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26828 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26830 arg2
= wxString_in_helper(swig_obj
[1]);
26831 if (arg2
== NULL
) SWIG_fail
;
26834 if (arg1
) (arg1
)->m_labelText
= *arg2
;
26836 resultobj
= SWIG_Py_Void();
26851 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26852 PyObject
*resultobj
= 0;
26853 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26854 wxString
*result
= 0 ;
26857 PyObject
*swig_obj
[1] ;
26859 if (!args
) SWIG_fail
;
26860 swig_obj
[0] = args
;
26861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26862 if (!SWIG_IsOK(res1
)) {
26863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26865 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26866 result
= (wxString
*)& ((arg1
)->m_labelText
);
26869 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26871 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
26880 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26881 PyObject
*resultobj
= 0;
26882 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26883 wxFont
*arg2
= (wxFont
*) 0 ;
26888 PyObject
*swig_obj
[2] ;
26890 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
26891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26892 if (!SWIG_IsOK(res1
)) {
26893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26895 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26896 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
26897 if (!SWIG_IsOK(res2
)) {
26898 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
26900 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26901 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
26903 resultobj
= SWIG_Py_Void();
26910 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26911 PyObject
*resultobj
= 0;
26912 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26913 wxFont
*result
= 0 ;
26916 PyObject
*swig_obj
[1] ;
26918 if (!args
) SWIG_fail
;
26919 swig_obj
[0] = args
;
26920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26921 if (!SWIG_IsOK(res1
)) {
26922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26924 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26925 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
26926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
26933 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26934 PyObject
*resultobj
= 0;
26935 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26936 wxColour
*arg2
= (wxColour
*) 0 ;
26940 PyObject
*swig_obj
[2] ;
26942 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
26943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26944 if (!SWIG_IsOK(res1
)) {
26945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26947 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26950 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
26952 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
26954 resultobj
= SWIG_Py_Void();
26961 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26962 PyObject
*resultobj
= 0;
26963 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26964 wxColour
*result
= 0 ;
26967 PyObject
*swig_obj
[1] ;
26969 if (!args
) SWIG_fail
;
26970 swig_obj
[0] = args
;
26971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26972 if (!SWIG_IsOK(res1
)) {
26973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26975 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
26976 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
26977 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
26984 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26985 PyObject
*resultobj
= 0;
26986 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
26987 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
26992 PyObject
*swig_obj
[2] ;
26994 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
26995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
26996 if (!SWIG_IsOK(res1
)) {
26997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
26999 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
27000 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
27001 if (!SWIG_IsOK(res2
)) {
27002 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
27004 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
27005 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
27007 resultobj
= SWIG_Py_Void();
27014 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27015 PyObject
*resultobj
= 0;
27016 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
27017 wxBitmap
*result
= 0 ;
27020 PyObject
*swig_obj
[1] ;
27022 if (!args
) SWIG_fail
;
27023 swig_obj
[0] = args
;
27024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27025 if (!SWIG_IsOK(res1
)) {
27026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
27028 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
27029 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
27030 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
27037 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27038 PyObject
*resultobj
= 0;
27039 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
27045 PyObject
*swig_obj
[2] ;
27047 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
27048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27049 if (!SWIG_IsOK(res1
)) {
27050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
27052 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
27053 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27054 if (!SWIG_IsOK(ecode2
)) {
27055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
27057 arg2
= static_cast< int >(val2
);
27058 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
27060 resultobj
= SWIG_Py_Void();
27067 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27068 PyObject
*resultobj
= 0;
27069 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
27073 PyObject
*swig_obj
[1] ;
27075 if (!args
) SWIG_fail
;
27076 swig_obj
[0] = args
;
27077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27078 if (!SWIG_IsOK(res1
)) {
27079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
27081 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
27082 result
= (int) ((arg1
)->m_labelAlignment
);
27083 resultobj
= SWIG_From_int(static_cast< int >(result
));
27090 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27092 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27093 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
27094 return SWIG_Py_Void();
27097 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27098 return SWIG_Python_InitShadowInstance(args
);
27101 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27102 PyObject
*resultobj
= 0;
27105 wxRendererVersion
*result
= 0 ;
27110 PyObject
* obj0
= 0 ;
27111 PyObject
* obj1
= 0 ;
27112 char * kwnames
[] = {
27113 (char *) "version_",(char *) "age_", NULL
27116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27117 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27118 if (!SWIG_IsOK(ecode1
)) {
27119 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
27121 arg1
= static_cast< int >(val1
);
27122 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27123 if (!SWIG_IsOK(ecode2
)) {
27124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
27126 arg2
= static_cast< int >(val2
);
27128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27129 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
27130 wxPyEndAllowThreads(__tstate
);
27131 if (PyErr_Occurred()) SWIG_fail
;
27133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
27140 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27141 PyObject
*resultobj
= 0;
27142 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
27145 PyObject
*swig_obj
[1] ;
27147 if (!args
) SWIG_fail
;
27148 swig_obj
[0] = args
;
27149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
27150 if (!SWIG_IsOK(res1
)) {
27151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
27153 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
27155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27158 wxPyEndAllowThreads(__tstate
);
27159 if (PyErr_Occurred()) SWIG_fail
;
27161 resultobj
= SWIG_Py_Void();
27168 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27169 PyObject
*resultobj
= 0;
27170 wxRendererVersion
*arg1
= 0 ;
27174 PyObject
* obj0
= 0 ;
27175 char * kwnames
[] = {
27176 (char *) "ver", NULL
27179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
27180 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
27181 if (!SWIG_IsOK(res1
)) {
27182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
27185 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
27187 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
27189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27190 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
27191 wxPyEndAllowThreads(__tstate
);
27192 if (PyErr_Occurred()) SWIG_fail
;
27195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27203 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27204 PyObject
*resultobj
= 0;
27205 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
27209 PyObject
*swig_obj
[1] ;
27211 if (!args
) SWIG_fail
;
27212 swig_obj
[0] = args
;
27213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
27214 if (!SWIG_IsOK(res1
)) {
27215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
27217 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
27218 result
= (int)(int) ((arg1
)->version
);
27219 resultobj
= SWIG_From_int(static_cast< int >(result
));
27226 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27227 PyObject
*resultobj
= 0;
27228 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
27232 PyObject
*swig_obj
[1] ;
27234 if (!args
) SWIG_fail
;
27235 swig_obj
[0] = args
;
27236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
27237 if (!SWIG_IsOK(res1
)) {
27238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
27240 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
27241 result
= (int)(int) ((arg1
)->age
);
27242 resultobj
= SWIG_From_int(static_cast< int >(result
));
27249 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27251 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27252 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
27253 return SWIG_Py_Void();
27256 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27257 return SWIG_Python_InitShadowInstance(args
);
27260 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27261 PyObject
*resultobj
= 0;
27262 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27263 wxWindow
*arg2
= (wxWindow
*) 0 ;
27266 int arg5
= (int) 0 ;
27267 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
27268 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
27282 PyObject
* obj0
= 0 ;
27283 PyObject
* obj1
= 0 ;
27284 PyObject
* obj2
= 0 ;
27285 PyObject
* obj3
= 0 ;
27286 PyObject
* obj4
= 0 ;
27287 PyObject
* obj5
= 0 ;
27288 PyObject
* obj6
= 0 ;
27289 char * kwnames
[] = {
27290 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
27293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27295 if (!SWIG_IsOK(res1
)) {
27296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27298 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27299 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27300 if (!SWIG_IsOK(res2
)) {
27301 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
27303 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27304 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27305 if (!SWIG_IsOK(res3
)) {
27306 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
27309 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
27311 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27314 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27317 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27318 if (!SWIG_IsOK(ecode5
)) {
27319 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
27321 arg5
= static_cast< int >(val5
);
27324 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
27325 if (!SWIG_IsOK(ecode6
)) {
27326 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
27328 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
27331 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27332 if (!SWIG_IsOK(res7
)) {
27333 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
27335 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
27338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27339 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
27340 wxPyEndAllowThreads(__tstate
);
27341 if (PyErr_Occurred()) SWIG_fail
;
27343 resultobj
= SWIG_Py_Void();
27350 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27351 PyObject
*resultobj
= 0;
27352 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27353 wxWindow
*arg2
= (wxWindow
*) 0 ;
27356 int arg5
= (int) 0 ;
27357 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
27358 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
27372 PyObject
* obj0
= 0 ;
27373 PyObject
* obj1
= 0 ;
27374 PyObject
* obj2
= 0 ;
27375 PyObject
* obj3
= 0 ;
27376 PyObject
* obj4
= 0 ;
27377 PyObject
* obj5
= 0 ;
27378 PyObject
* obj6
= 0 ;
27379 char * kwnames
[] = {
27380 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
27383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27385 if (!SWIG_IsOK(res1
)) {
27386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27388 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27389 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27390 if (!SWIG_IsOK(res2
)) {
27391 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
27393 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27394 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27395 if (!SWIG_IsOK(res3
)) {
27396 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
27399 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
27401 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27404 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27407 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27408 if (!SWIG_IsOK(ecode5
)) {
27409 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
27411 arg5
= static_cast< int >(val5
);
27414 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
27415 if (!SWIG_IsOK(ecode6
)) {
27416 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
27418 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
27421 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
27422 if (!SWIG_IsOK(res7
)) {
27423 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
27425 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
27428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27429 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
27430 wxPyEndAllowThreads(__tstate
);
27431 if (PyErr_Occurred()) SWIG_fail
;
27433 resultobj
= SWIG_Py_Void();
27440 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27441 PyObject
*resultobj
= 0;
27442 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27443 wxWindow
*arg2
= (wxWindow
*) 0 ;
27449 PyObject
* obj0
= 0 ;
27450 PyObject
* obj1
= 0 ;
27451 char * kwnames
[] = {
27452 (char *) "self",(char *) "win", NULL
27455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27457 if (!SWIG_IsOK(res1
)) {
27458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27460 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27461 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27462 if (!SWIG_IsOK(res2
)) {
27463 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
27465 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27468 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
27469 wxPyEndAllowThreads(__tstate
);
27470 if (PyErr_Occurred()) SWIG_fail
;
27472 resultobj
= SWIG_From_int(static_cast< int >(result
));
27479 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27480 PyObject
*resultobj
= 0;
27481 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27482 wxWindow
*arg2
= (wxWindow
*) 0 ;
27485 int arg5
= (int) 0 ;
27495 PyObject
* obj0
= 0 ;
27496 PyObject
* obj1
= 0 ;
27497 PyObject
* obj2
= 0 ;
27498 PyObject
* obj3
= 0 ;
27499 PyObject
* obj4
= 0 ;
27500 char * kwnames
[] = {
27501 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27506 if (!SWIG_IsOK(res1
)) {
27507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27509 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27510 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27511 if (!SWIG_IsOK(res2
)) {
27512 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
27514 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27515 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27516 if (!SWIG_IsOK(res3
)) {
27517 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
27520 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
27522 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27525 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27528 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27529 if (!SWIG_IsOK(ecode5
)) {
27530 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
27532 arg5
= static_cast< int >(val5
);
27535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27536 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27537 wxPyEndAllowThreads(__tstate
);
27538 if (PyErr_Occurred()) SWIG_fail
;
27540 resultobj
= SWIG_Py_Void();
27547 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27548 PyObject
*resultobj
= 0;
27549 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27550 wxWindow
*arg2
= (wxWindow
*) 0 ;
27553 int arg5
= (int) 0 ;
27563 PyObject
* obj0
= 0 ;
27564 PyObject
* obj1
= 0 ;
27565 PyObject
* obj2
= 0 ;
27566 PyObject
* obj3
= 0 ;
27567 PyObject
* obj4
= 0 ;
27568 char * kwnames
[] = {
27569 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27574 if (!SWIG_IsOK(res1
)) {
27575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27577 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27578 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27579 if (!SWIG_IsOK(res2
)) {
27580 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
27582 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27583 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27584 if (!SWIG_IsOK(res3
)) {
27585 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
27588 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
27590 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27593 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27596 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27597 if (!SWIG_IsOK(ecode5
)) {
27598 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
27600 arg5
= static_cast< int >(val5
);
27603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27604 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27605 wxPyEndAllowThreads(__tstate
);
27606 if (PyErr_Occurred()) SWIG_fail
;
27608 resultobj
= SWIG_Py_Void();
27615 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27616 PyObject
*resultobj
= 0;
27617 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27618 wxWindow
*arg2
= (wxWindow
*) 0 ;
27622 wxOrientation arg6
;
27623 int arg7
= (int) 0 ;
27637 PyObject
* obj0
= 0 ;
27638 PyObject
* obj1
= 0 ;
27639 PyObject
* obj2
= 0 ;
27640 PyObject
* obj3
= 0 ;
27641 PyObject
* obj4
= 0 ;
27642 PyObject
* obj5
= 0 ;
27643 PyObject
* obj6
= 0 ;
27644 char * kwnames
[] = {
27645 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
27648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27650 if (!SWIG_IsOK(res1
)) {
27651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27653 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27654 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27655 if (!SWIG_IsOK(res2
)) {
27656 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
27658 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27659 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27660 if (!SWIG_IsOK(res3
)) {
27661 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
27664 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
27666 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27669 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27671 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27672 if (!SWIG_IsOK(ecode5
)) {
27673 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
27675 arg5
= static_cast< int >(val5
);
27676 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
27677 if (!SWIG_IsOK(ecode6
)) {
27678 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
27680 arg6
= static_cast< wxOrientation
>(val6
);
27682 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
27683 if (!SWIG_IsOK(ecode7
)) {
27684 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
27686 arg7
= static_cast< int >(val7
);
27689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27690 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
27691 wxPyEndAllowThreads(__tstate
);
27692 if (PyErr_Occurred()) SWIG_fail
;
27694 resultobj
= SWIG_Py_Void();
27701 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27702 PyObject
*resultobj
= 0;
27703 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27704 wxWindow
*arg2
= (wxWindow
*) 0 ;
27707 int arg5
= (int) 0 ;
27717 PyObject
* obj0
= 0 ;
27718 PyObject
* obj1
= 0 ;
27719 PyObject
* obj2
= 0 ;
27720 PyObject
* obj3
= 0 ;
27721 PyObject
* obj4
= 0 ;
27722 char * kwnames
[] = {
27723 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27728 if (!SWIG_IsOK(res1
)) {
27729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27731 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27732 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27733 if (!SWIG_IsOK(res2
)) {
27734 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
27736 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27737 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27738 if (!SWIG_IsOK(res3
)) {
27739 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
27742 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
27744 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27747 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27750 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27751 if (!SWIG_IsOK(ecode5
)) {
27752 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
27754 arg5
= static_cast< int >(val5
);
27757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27758 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27759 wxPyEndAllowThreads(__tstate
);
27760 if (PyErr_Occurred()) SWIG_fail
;
27762 resultobj
= SWIG_Py_Void();
27769 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27770 PyObject
*resultobj
= 0;
27771 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27772 wxWindow
*arg2
= (wxWindow
*) 0 ;
27775 int arg5
= (int) 0 ;
27785 PyObject
* obj0
= 0 ;
27786 PyObject
* obj1
= 0 ;
27787 PyObject
* obj2
= 0 ;
27788 PyObject
* obj3
= 0 ;
27789 PyObject
* obj4
= 0 ;
27790 char * kwnames
[] = {
27791 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27796 if (!SWIG_IsOK(res1
)) {
27797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27799 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27800 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27801 if (!SWIG_IsOK(res2
)) {
27802 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
27804 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27805 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27806 if (!SWIG_IsOK(res3
)) {
27807 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
27810 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
27812 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27815 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27818 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27819 if (!SWIG_IsOK(ecode5
)) {
27820 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
27822 arg5
= static_cast< int >(val5
);
27825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27826 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27827 wxPyEndAllowThreads(__tstate
);
27828 if (PyErr_Occurred()) SWIG_fail
;
27830 resultobj
= SWIG_Py_Void();
27837 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27838 PyObject
*resultobj
= 0;
27839 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27840 wxWindow
*arg2
= (wxWindow
*) 0 ;
27843 int arg5
= (int) 0 ;
27853 PyObject
* obj0
= 0 ;
27854 PyObject
* obj1
= 0 ;
27855 PyObject
* obj2
= 0 ;
27856 PyObject
* obj3
= 0 ;
27857 PyObject
* obj4
= 0 ;
27858 char * kwnames
[] = {
27859 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27864 if (!SWIG_IsOK(res1
)) {
27865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27867 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27868 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27869 if (!SWIG_IsOK(res2
)) {
27870 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
27872 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27873 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27874 if (!SWIG_IsOK(res3
)) {
27875 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
27878 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
27880 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27883 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27886 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27887 if (!SWIG_IsOK(ecode5
)) {
27888 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
27890 arg5
= static_cast< int >(val5
);
27893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27894 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27895 wxPyEndAllowThreads(__tstate
);
27896 if (PyErr_Occurred()) SWIG_fail
;
27898 resultobj
= SWIG_Py_Void();
27905 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27906 PyObject
*resultobj
= 0;
27907 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27908 wxWindow
*arg2
= (wxWindow
*) 0 ;
27911 int arg5
= (int) 0 ;
27921 PyObject
* obj0
= 0 ;
27922 PyObject
* obj1
= 0 ;
27923 PyObject
* obj2
= 0 ;
27924 PyObject
* obj3
= 0 ;
27925 PyObject
* obj4
= 0 ;
27926 char * kwnames
[] = {
27927 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27932 if (!SWIG_IsOK(res1
)) {
27933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27935 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27936 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27937 if (!SWIG_IsOK(res2
)) {
27938 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
27940 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27941 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27942 if (!SWIG_IsOK(res3
)) {
27943 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
27946 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
27948 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27951 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27954 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27955 if (!SWIG_IsOK(ecode5
)) {
27956 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
27958 arg5
= static_cast< int >(val5
);
27961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27962 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27963 wxPyEndAllowThreads(__tstate
);
27964 if (PyErr_Occurred()) SWIG_fail
;
27966 resultobj
= SWIG_Py_Void();
27973 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27974 PyObject
*resultobj
= 0;
27975 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27976 wxWindow
*arg2
= (wxWindow
*) 0 ;
27979 int arg5
= (int) 0 ;
27989 PyObject
* obj0
= 0 ;
27990 PyObject
* obj1
= 0 ;
27991 PyObject
* obj2
= 0 ;
27992 PyObject
* obj3
= 0 ;
27993 PyObject
* obj4
= 0 ;
27994 char * kwnames
[] = {
27995 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28000 if (!SWIG_IsOK(res1
)) {
28001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28003 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28004 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28005 if (!SWIG_IsOK(res2
)) {
28006 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
28008 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28009 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
28010 if (!SWIG_IsOK(res3
)) {
28011 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
28014 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
28016 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28019 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
28022 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28023 if (!SWIG_IsOK(ecode5
)) {
28024 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
28026 arg5
= static_cast< int >(val5
);
28029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28030 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
28031 wxPyEndAllowThreads(__tstate
);
28032 if (PyErr_Occurred()) SWIG_fail
;
28034 resultobj
= SWIG_Py_Void();
28041 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28042 PyObject
*resultobj
= 0;
28043 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28044 wxWindow
*arg2
= (wxWindow
*) 0 ;
28045 SwigValueWrapper
<wxSplitterRenderParams
> result
;
28050 PyObject
* obj0
= 0 ;
28051 PyObject
* obj1
= 0 ;
28052 char * kwnames
[] = {
28053 (char *) "self",(char *) "win", NULL
28056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28058 if (!SWIG_IsOK(res1
)) {
28059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28061 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28062 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28063 if (!SWIG_IsOK(res2
)) {
28064 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
28066 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28069 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
28070 wxPyEndAllowThreads(__tstate
);
28071 if (PyErr_Occurred()) SWIG_fail
;
28073 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
28080 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28081 PyObject
*resultobj
= 0;
28082 wxRendererNative
*result
= 0 ;
28084 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
28086 if (!wxPyCheckForApp()) SWIG_fail
;
28087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28089 wxRendererNative
&_result_ref
= wxRendererNative::Get();
28090 result
= (wxRendererNative
*) &_result_ref
;
28092 wxPyEndAllowThreads(__tstate
);
28093 if (PyErr_Occurred()) SWIG_fail
;
28095 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28102 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28103 PyObject
*resultobj
= 0;
28104 wxRendererNative
*result
= 0 ;
28106 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
28108 if (!wxPyCheckForApp()) SWIG_fail
;
28109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28111 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
28112 result
= (wxRendererNative
*) &_result_ref
;
28114 wxPyEndAllowThreads(__tstate
);
28115 if (PyErr_Occurred()) SWIG_fail
;
28117 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28124 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28125 PyObject
*resultobj
= 0;
28126 wxRendererNative
*result
= 0 ;
28128 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
28130 if (!wxPyCheckForApp()) SWIG_fail
;
28131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28133 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
28134 result
= (wxRendererNative
*) &_result_ref
;
28136 wxPyEndAllowThreads(__tstate
);
28137 if (PyErr_Occurred()) SWIG_fail
;
28139 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28146 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28147 PyObject
*resultobj
= 0;
28148 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28149 wxRendererNative
*result
= 0 ;
28152 PyObject
* obj0
= 0 ;
28153 char * kwnames
[] = {
28154 (char *) "renderer", NULL
28157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
28158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28159 if (!SWIG_IsOK(res1
)) {
28160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28162 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28164 if (!wxPyCheckForApp()) SWIG_fail
;
28165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28166 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
28167 wxPyEndAllowThreads(__tstate
);
28168 if (PyErr_Occurred()) SWIG_fail
;
28170 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28177 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28178 PyObject
*resultobj
= 0;
28179 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28180 SwigValueWrapper
<wxRendererVersion
> result
;
28183 PyObject
*swig_obj
[1] ;
28185 if (!args
) SWIG_fail
;
28186 swig_obj
[0] = args
;
28187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28188 if (!SWIG_IsOK(res1
)) {
28189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
28191 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28194 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
28195 wxPyEndAllowThreads(__tstate
);
28196 if (PyErr_Occurred()) SWIG_fail
;
28198 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
28205 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28207 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28208 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
28209 return SWIG_Py_Void();
28212 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28213 PyObject
*resultobj
= 0;
28214 wxPseudoDC
*result
= 0 ;
28216 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
28218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28219 result
= (wxPseudoDC
*)new wxPseudoDC();
28220 wxPyEndAllowThreads(__tstate
);
28221 if (PyErr_Occurred()) SWIG_fail
;
28223 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
28230 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28231 PyObject
*resultobj
= 0;
28232 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28235 PyObject
*swig_obj
[1] ;
28237 if (!args
) SWIG_fail
;
28238 swig_obj
[0] = args
;
28239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28240 if (!SWIG_IsOK(res1
)) {
28241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28243 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28246 (arg1
)->BeginDrawing();
28247 wxPyEndAllowThreads(__tstate
);
28248 if (PyErr_Occurred()) SWIG_fail
;
28250 resultobj
= SWIG_Py_Void();
28257 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28258 PyObject
*resultobj
= 0;
28259 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28262 PyObject
*swig_obj
[1] ;
28264 if (!args
) SWIG_fail
;
28265 swig_obj
[0] = args
;
28266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28267 if (!SWIG_IsOK(res1
)) {
28268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28270 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28273 (arg1
)->EndDrawing();
28274 wxPyEndAllowThreads(__tstate
);
28275 if (PyErr_Occurred()) SWIG_fail
;
28277 resultobj
= SWIG_Py_Void();
28284 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28285 PyObject
*resultobj
= 0;
28286 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28289 PyObject
*swig_obj
[1] ;
28291 if (!args
) SWIG_fail
;
28292 swig_obj
[0] = args
;
28293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
28294 if (!SWIG_IsOK(res1
)) {
28295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28297 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28302 wxPyEndAllowThreads(__tstate
);
28303 if (PyErr_Occurred()) SWIG_fail
;
28305 resultobj
= SWIG_Py_Void();
28312 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28313 PyObject
*resultobj
= 0;
28314 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28317 PyObject
*swig_obj
[1] ;
28319 if (!args
) SWIG_fail
;
28320 swig_obj
[0] = args
;
28321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28322 if (!SWIG_IsOK(res1
)) {
28323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28325 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28328 (arg1
)->RemoveAll();
28329 wxPyEndAllowThreads(__tstate
);
28330 if (PyErr_Occurred()) SWIG_fail
;
28332 resultobj
= SWIG_Py_Void();
28339 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28340 PyObject
*resultobj
= 0;
28341 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28345 PyObject
*swig_obj
[1] ;
28347 if (!args
) SWIG_fail
;
28348 swig_obj
[0] = args
;
28349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28350 if (!SWIG_IsOK(res1
)) {
28351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28353 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28356 result
= (int)(arg1
)->GetLen();
28357 wxPyEndAllowThreads(__tstate
);
28358 if (PyErr_Occurred()) SWIG_fail
;
28360 resultobj
= SWIG_From_int(static_cast< int >(result
));
28367 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28368 PyObject
*resultobj
= 0;
28369 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28375 PyObject
* obj0
= 0 ;
28376 PyObject
* obj1
= 0 ;
28377 char * kwnames
[] = {
28378 (char *) "self",(char *) "id", NULL
28381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28383 if (!SWIG_IsOK(res1
)) {
28384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28386 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28387 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28388 if (!SWIG_IsOK(ecode2
)) {
28389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
28391 arg2
= static_cast< int >(val2
);
28393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28394 (arg1
)->SetId(arg2
);
28395 wxPyEndAllowThreads(__tstate
);
28396 if (PyErr_Occurred()) SWIG_fail
;
28398 resultobj
= SWIG_Py_Void();
28405 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28406 PyObject
*resultobj
= 0;
28407 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28413 PyObject
* obj0
= 0 ;
28414 PyObject
* obj1
= 0 ;
28415 char * kwnames
[] = {
28416 (char *) "self",(char *) "id", NULL
28419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28421 if (!SWIG_IsOK(res1
)) {
28422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28424 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28425 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28426 if (!SWIG_IsOK(ecode2
)) {
28427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
28429 arg2
= static_cast< int >(val2
);
28431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28432 (arg1
)->ClearId(arg2
);
28433 wxPyEndAllowThreads(__tstate
);
28434 if (PyErr_Occurred()) SWIG_fail
;
28436 resultobj
= SWIG_Py_Void();
28443 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28444 PyObject
*resultobj
= 0;
28445 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28451 PyObject
* obj0
= 0 ;
28452 PyObject
* obj1
= 0 ;
28453 char * kwnames
[] = {
28454 (char *) "self",(char *) "id", NULL
28457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28459 if (!SWIG_IsOK(res1
)) {
28460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28462 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28464 if (!SWIG_IsOK(ecode2
)) {
28465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
28467 arg2
= static_cast< int >(val2
);
28469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28470 (arg1
)->RemoveId(arg2
);
28471 wxPyEndAllowThreads(__tstate
);
28472 if (PyErr_Occurred()) SWIG_fail
;
28474 resultobj
= SWIG_Py_Void();
28481 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28482 PyObject
*resultobj
= 0;
28483 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28495 PyObject
* obj0
= 0 ;
28496 PyObject
* obj1
= 0 ;
28497 PyObject
* obj2
= 0 ;
28498 PyObject
* obj3
= 0 ;
28499 char * kwnames
[] = {
28500 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
28503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28505 if (!SWIG_IsOK(res1
)) {
28506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28508 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28509 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28510 if (!SWIG_IsOK(ecode2
)) {
28511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
28513 arg2
= static_cast< int >(val2
);
28514 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28515 if (!SWIG_IsOK(ecode3
)) {
28516 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
28518 arg3
= static_cast< int >(val3
);
28519 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28520 if (!SWIG_IsOK(ecode4
)) {
28521 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
28523 arg4
= static_cast< int >(val4
);
28525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28526 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
28527 wxPyEndAllowThreads(__tstate
);
28528 if (PyErr_Occurred()) SWIG_fail
;
28530 resultobj
= SWIG_Py_Void();
28537 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28538 PyObject
*resultobj
= 0;
28539 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28541 wxDC
*arg3
= (wxDC
*) 0 ;
28548 PyObject
* obj0
= 0 ;
28549 PyObject
* obj1
= 0 ;
28550 PyObject
* obj2
= 0 ;
28551 char * kwnames
[] = {
28552 (char *) "self",(char *) "id",(char *) "dc", NULL
28555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28557 if (!SWIG_IsOK(res1
)) {
28558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28560 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28561 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28562 if (!SWIG_IsOK(ecode2
)) {
28563 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
28565 arg2
= static_cast< int >(val2
);
28566 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
28567 if (!SWIG_IsOK(res3
)) {
28568 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
28570 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28573 (arg1
)->DrawIdToDC(arg2
,arg3
);
28574 wxPyEndAllowThreads(__tstate
);
28575 if (PyErr_Occurred()) SWIG_fail
;
28577 resultobj
= SWIG_Py_Void();
28584 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28585 PyObject
*resultobj
= 0;
28586 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28594 PyObject
* obj0
= 0 ;
28595 PyObject
* obj1
= 0 ;
28596 PyObject
* obj2
= 0 ;
28597 char * kwnames
[] = {
28598 (char *) "self",(char *) "id",(char *) "rect", NULL
28601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28603 if (!SWIG_IsOK(res1
)) {
28604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28606 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28607 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28608 if (!SWIG_IsOK(ecode2
)) {
28609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
28611 arg2
= static_cast< int >(val2
);
28614 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
28617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28618 (arg1
)->SetIdBounds(arg2
,*arg3
);
28619 wxPyEndAllowThreads(__tstate
);
28620 if (PyErr_Occurred()) SWIG_fail
;
28622 resultobj
= SWIG_Py_Void();
28629 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28630 PyObject
*resultobj
= 0;
28631 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28638 PyObject
* obj0
= 0 ;
28639 PyObject
* obj1
= 0 ;
28640 char * kwnames
[] = {
28641 (char *) "self",(char *) "id", NULL
28644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28646 if (!SWIG_IsOK(res1
)) {
28647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28649 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28650 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28651 if (!SWIG_IsOK(ecode2
)) {
28652 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
28654 arg2
= static_cast< int >(val2
);
28656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28657 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
28658 wxPyEndAllowThreads(__tstate
);
28659 if (PyErr_Occurred()) SWIG_fail
;
28661 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28668 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28669 PyObject
*resultobj
= 0;
28670 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28671 wxDC
*arg2
= (wxDC
*) 0 ;
28678 PyObject
* obj0
= 0 ;
28679 PyObject
* obj1
= 0 ;
28680 PyObject
* obj2
= 0 ;
28681 char * kwnames
[] = {
28682 (char *) "self",(char *) "dc",(char *) "rect", NULL
28685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28687 if (!SWIG_IsOK(res1
)) {
28688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28690 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28691 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28692 if (!SWIG_IsOK(res2
)) {
28693 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
28695 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28698 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
28701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28702 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
28703 wxPyEndAllowThreads(__tstate
);
28704 if (PyErr_Occurred()) SWIG_fail
;
28706 resultobj
= SWIG_Py_Void();
28713 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28714 PyObject
*resultobj
= 0;
28715 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28716 wxDC
*arg2
= (wxDC
*) 0 ;
28717 wxRegion
*arg3
= 0 ;
28724 PyObject
* obj0
= 0 ;
28725 PyObject
* obj1
= 0 ;
28726 PyObject
* obj2
= 0 ;
28727 char * kwnames
[] = {
28728 (char *) "self",(char *) "dc",(char *) "region", NULL
28731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28733 if (!SWIG_IsOK(res1
)) {
28734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28736 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28737 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28738 if (!SWIG_IsOK(res2
)) {
28739 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
28741 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28742 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
28743 if (!SWIG_IsOK(res3
)) {
28744 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
28747 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
28749 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
28751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28752 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
28753 wxPyEndAllowThreads(__tstate
);
28754 if (PyErr_Occurred()) SWIG_fail
;
28756 resultobj
= SWIG_Py_Void();
28763 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28764 PyObject
*resultobj
= 0;
28765 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28766 wxDC
*arg2
= (wxDC
*) 0 ;
28771 PyObject
* obj0
= 0 ;
28772 PyObject
* obj1
= 0 ;
28773 char * kwnames
[] = {
28774 (char *) "self",(char *) "dc", NULL
28777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28779 if (!SWIG_IsOK(res1
)) {
28780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28782 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28783 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28784 if (!SWIG_IsOK(res2
)) {
28785 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
28787 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28790 (arg1
)->DrawToDC(arg2
);
28791 wxPyEndAllowThreads(__tstate
);
28792 if (PyErr_Occurred()) SWIG_fail
;
28794 resultobj
= SWIG_Py_Void();
28801 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28802 PyObject
*resultobj
= 0;
28803 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28806 wxColour
*arg4
= 0 ;
28807 int arg5
= (int) wxFLOOD_SURFACE
;
28817 PyObject
* obj0
= 0 ;
28818 PyObject
* obj1
= 0 ;
28819 PyObject
* obj2
= 0 ;
28820 PyObject
* obj3
= 0 ;
28821 PyObject
* obj4
= 0 ;
28822 char * kwnames
[] = {
28823 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
28826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28828 if (!SWIG_IsOK(res1
)) {
28829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28831 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28832 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28833 if (!SWIG_IsOK(ecode2
)) {
28834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
28836 arg2
= static_cast< int >(val2
);
28837 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28838 if (!SWIG_IsOK(ecode3
)) {
28839 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
28841 arg3
= static_cast< int >(val3
);
28844 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
28847 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28848 if (!SWIG_IsOK(ecode5
)) {
28849 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
28851 arg5
= static_cast< int >(val5
);
28854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28855 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
28856 wxPyEndAllowThreads(__tstate
);
28857 if (PyErr_Occurred()) SWIG_fail
;
28859 resultobj
= SWIG_Py_Void();
28866 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28867 PyObject
*resultobj
= 0;
28868 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28869 wxPoint
*arg2
= 0 ;
28870 wxColour
*arg3
= 0 ;
28871 int arg4
= (int) wxFLOOD_SURFACE
;
28878 PyObject
* obj0
= 0 ;
28879 PyObject
* obj1
= 0 ;
28880 PyObject
* obj2
= 0 ;
28881 PyObject
* obj3
= 0 ;
28882 char * kwnames
[] = {
28883 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
28886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28888 if (!SWIG_IsOK(res1
)) {
28889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28891 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28894 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28898 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28901 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28902 if (!SWIG_IsOK(ecode4
)) {
28903 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
28905 arg4
= static_cast< int >(val4
);
28908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28909 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
28910 wxPyEndAllowThreads(__tstate
);
28911 if (PyErr_Occurred()) SWIG_fail
;
28913 resultobj
= SWIG_Py_Void();
28920 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28921 PyObject
*resultobj
= 0;
28922 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28937 PyObject
* obj0
= 0 ;
28938 PyObject
* obj1
= 0 ;
28939 PyObject
* obj2
= 0 ;
28940 PyObject
* obj3
= 0 ;
28941 PyObject
* obj4
= 0 ;
28942 char * kwnames
[] = {
28943 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
28946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28948 if (!SWIG_IsOK(res1
)) {
28949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28951 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28952 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28953 if (!SWIG_IsOK(ecode2
)) {
28954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
28956 arg2
= static_cast< int >(val2
);
28957 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28958 if (!SWIG_IsOK(ecode3
)) {
28959 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
28961 arg3
= static_cast< int >(val3
);
28962 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28963 if (!SWIG_IsOK(ecode4
)) {
28964 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
28966 arg4
= static_cast< int >(val4
);
28967 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28968 if (!SWIG_IsOK(ecode5
)) {
28969 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
28971 arg5
= static_cast< int >(val5
);
28973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28974 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
28975 wxPyEndAllowThreads(__tstate
);
28976 if (PyErr_Occurred()) SWIG_fail
;
28978 resultobj
= SWIG_Py_Void();
28985 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28986 PyObject
*resultobj
= 0;
28987 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28988 wxPoint
*arg2
= 0 ;
28989 wxPoint
*arg3
= 0 ;
28994 PyObject
* obj0
= 0 ;
28995 PyObject
* obj1
= 0 ;
28996 PyObject
* obj2
= 0 ;
28997 char * kwnames
[] = {
28998 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
29001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29003 if (!SWIG_IsOK(res1
)) {
29004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29006 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29009 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29013 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29017 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
29018 wxPyEndAllowThreads(__tstate
);
29019 if (PyErr_Occurred()) SWIG_fail
;
29021 resultobj
= SWIG_Py_Void();
29028 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29029 PyObject
*resultobj
= 0;
29030 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29039 PyObject
* obj0
= 0 ;
29040 PyObject
* obj1
= 0 ;
29041 PyObject
* obj2
= 0 ;
29042 char * kwnames
[] = {
29043 (char *) "self",(char *) "x",(char *) "y", NULL
29046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29048 if (!SWIG_IsOK(res1
)) {
29049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29051 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29052 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29053 if (!SWIG_IsOK(ecode2
)) {
29054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
29056 arg2
= static_cast< int >(val2
);
29057 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29058 if (!SWIG_IsOK(ecode3
)) {
29059 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
29061 arg3
= static_cast< int >(val3
);
29063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29064 (arg1
)->CrossHair(arg2
,arg3
);
29065 wxPyEndAllowThreads(__tstate
);
29066 if (PyErr_Occurred()) SWIG_fail
;
29068 resultobj
= SWIG_Py_Void();
29075 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29076 PyObject
*resultobj
= 0;
29077 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29078 wxPoint
*arg2
= 0 ;
29082 PyObject
* obj0
= 0 ;
29083 PyObject
* obj1
= 0 ;
29084 char * kwnames
[] = {
29085 (char *) "self",(char *) "pt", NULL
29088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29090 if (!SWIG_IsOK(res1
)) {
29091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29093 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29096 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29100 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
29101 wxPyEndAllowThreads(__tstate
);
29102 if (PyErr_Occurred()) SWIG_fail
;
29104 resultobj
= SWIG_Py_Void();
29111 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29112 PyObject
*resultobj
= 0;
29113 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29134 PyObject
* obj0
= 0 ;
29135 PyObject
* obj1
= 0 ;
29136 PyObject
* obj2
= 0 ;
29137 PyObject
* obj3
= 0 ;
29138 PyObject
* obj4
= 0 ;
29139 PyObject
* obj5
= 0 ;
29140 PyObject
* obj6
= 0 ;
29141 char * kwnames
[] = {
29142 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
29145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29147 if (!SWIG_IsOK(res1
)) {
29148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29150 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29152 if (!SWIG_IsOK(ecode2
)) {
29153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
29155 arg2
= static_cast< int >(val2
);
29156 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29157 if (!SWIG_IsOK(ecode3
)) {
29158 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
29160 arg3
= static_cast< int >(val3
);
29161 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29162 if (!SWIG_IsOK(ecode4
)) {
29163 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
29165 arg4
= static_cast< int >(val4
);
29166 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29167 if (!SWIG_IsOK(ecode5
)) {
29168 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
29170 arg5
= static_cast< int >(val5
);
29171 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
29172 if (!SWIG_IsOK(ecode6
)) {
29173 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
29175 arg6
= static_cast< int >(val6
);
29176 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
29177 if (!SWIG_IsOK(ecode7
)) {
29178 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
29180 arg7
= static_cast< int >(val7
);
29182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29183 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29184 wxPyEndAllowThreads(__tstate
);
29185 if (PyErr_Occurred()) SWIG_fail
;
29187 resultobj
= SWIG_Py_Void();
29194 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29195 PyObject
*resultobj
= 0;
29196 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29197 wxPoint
*arg2
= 0 ;
29198 wxPoint
*arg3
= 0 ;
29199 wxPoint
*arg4
= 0 ;
29205 PyObject
* obj0
= 0 ;
29206 PyObject
* obj1
= 0 ;
29207 PyObject
* obj2
= 0 ;
29208 PyObject
* obj3
= 0 ;
29209 char * kwnames
[] = {
29210 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
29213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29215 if (!SWIG_IsOK(res1
)) {
29216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29218 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29221 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29225 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29229 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29233 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
29234 wxPyEndAllowThreads(__tstate
);
29235 if (PyErr_Occurred()) SWIG_fail
;
29237 resultobj
= SWIG_Py_Void();
29244 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29245 PyObject
*resultobj
= 0;
29246 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29261 PyObject
* obj0
= 0 ;
29262 PyObject
* obj1
= 0 ;
29263 PyObject
* obj2
= 0 ;
29264 PyObject
* obj3
= 0 ;
29265 PyObject
* obj4
= 0 ;
29266 char * kwnames
[] = {
29267 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29272 if (!SWIG_IsOK(res1
)) {
29273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29275 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29276 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29277 if (!SWIG_IsOK(ecode2
)) {
29278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
29280 arg2
= static_cast< int >(val2
);
29281 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29282 if (!SWIG_IsOK(ecode3
)) {
29283 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
29285 arg3
= static_cast< int >(val3
);
29286 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29287 if (!SWIG_IsOK(ecode4
)) {
29288 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
29290 arg4
= static_cast< int >(val4
);
29291 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29292 if (!SWIG_IsOK(ecode5
)) {
29293 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
29295 arg5
= static_cast< int >(val5
);
29297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29298 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
29299 wxPyEndAllowThreads(__tstate
);
29300 if (PyErr_Occurred()) SWIG_fail
;
29302 resultobj
= SWIG_Py_Void();
29309 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29310 PyObject
*resultobj
= 0;
29311 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29316 PyObject
* obj0
= 0 ;
29317 PyObject
* obj1
= 0 ;
29318 char * kwnames
[] = {
29319 (char *) "self",(char *) "rect", NULL
29322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29324 if (!SWIG_IsOK(res1
)) {
29325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29327 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29330 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29334 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
29335 wxPyEndAllowThreads(__tstate
);
29336 if (PyErr_Occurred()) SWIG_fail
;
29338 resultobj
= SWIG_Py_Void();
29345 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29346 PyObject
*resultobj
= 0;
29347 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29368 PyObject
* obj0
= 0 ;
29369 PyObject
* obj1
= 0 ;
29370 PyObject
* obj2
= 0 ;
29371 PyObject
* obj3
= 0 ;
29372 PyObject
* obj4
= 0 ;
29373 PyObject
* obj5
= 0 ;
29374 PyObject
* obj6
= 0 ;
29375 char * kwnames
[] = {
29376 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
29379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29381 if (!SWIG_IsOK(res1
)) {
29382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29384 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29385 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29386 if (!SWIG_IsOK(ecode2
)) {
29387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
29389 arg2
= static_cast< int >(val2
);
29390 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29391 if (!SWIG_IsOK(ecode3
)) {
29392 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
29394 arg3
= static_cast< int >(val3
);
29395 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29396 if (!SWIG_IsOK(ecode4
)) {
29397 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
29399 arg4
= static_cast< int >(val4
);
29400 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29401 if (!SWIG_IsOK(ecode5
)) {
29402 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
29404 arg5
= static_cast< int >(val5
);
29405 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29406 if (!SWIG_IsOK(ecode6
)) {
29407 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
29409 arg6
= static_cast< double >(val6
);
29410 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
29411 if (!SWIG_IsOK(ecode7
)) {
29412 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
29414 arg7
= static_cast< double >(val7
);
29416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29417 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29418 wxPyEndAllowThreads(__tstate
);
29419 if (PyErr_Occurred()) SWIG_fail
;
29421 resultobj
= SWIG_Py_Void();
29428 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29429 PyObject
*resultobj
= 0;
29430 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29431 wxPoint
*arg2
= 0 ;
29443 PyObject
* obj0
= 0 ;
29444 PyObject
* obj1
= 0 ;
29445 PyObject
* obj2
= 0 ;
29446 PyObject
* obj3
= 0 ;
29447 PyObject
* obj4
= 0 ;
29448 char * kwnames
[] = {
29449 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
29452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29454 if (!SWIG_IsOK(res1
)) {
29455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29457 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29460 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29464 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
29466 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29467 if (!SWIG_IsOK(ecode4
)) {
29468 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
29470 arg4
= static_cast< double >(val4
);
29471 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29472 if (!SWIG_IsOK(ecode5
)) {
29473 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
29475 arg5
= static_cast< double >(val5
);
29477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29478 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
29479 wxPyEndAllowThreads(__tstate
);
29480 if (PyErr_Occurred()) SWIG_fail
;
29482 resultobj
= SWIG_Py_Void();
29489 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29490 PyObject
*resultobj
= 0;
29491 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29500 PyObject
* obj0
= 0 ;
29501 PyObject
* obj1
= 0 ;
29502 PyObject
* obj2
= 0 ;
29503 char * kwnames
[] = {
29504 (char *) "self",(char *) "x",(char *) "y", NULL
29507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29509 if (!SWIG_IsOK(res1
)) {
29510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29512 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29513 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29514 if (!SWIG_IsOK(ecode2
)) {
29515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
29517 arg2
= static_cast< int >(val2
);
29518 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29519 if (!SWIG_IsOK(ecode3
)) {
29520 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
29522 arg3
= static_cast< int >(val3
);
29524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29525 (arg1
)->DrawPoint(arg2
,arg3
);
29526 wxPyEndAllowThreads(__tstate
);
29527 if (PyErr_Occurred()) SWIG_fail
;
29529 resultobj
= SWIG_Py_Void();
29536 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29537 PyObject
*resultobj
= 0;
29538 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29539 wxPoint
*arg2
= 0 ;
29543 PyObject
* obj0
= 0 ;
29544 PyObject
* obj1
= 0 ;
29545 char * kwnames
[] = {
29546 (char *) "self",(char *) "pt", NULL
29549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29551 if (!SWIG_IsOK(res1
)) {
29552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29554 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29557 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29561 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
29562 wxPyEndAllowThreads(__tstate
);
29563 if (PyErr_Occurred()) SWIG_fail
;
29565 resultobj
= SWIG_Py_Void();
29572 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29573 PyObject
*resultobj
= 0;
29574 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29589 PyObject
* obj0
= 0 ;
29590 PyObject
* obj1
= 0 ;
29591 PyObject
* obj2
= 0 ;
29592 PyObject
* obj3
= 0 ;
29593 PyObject
* obj4
= 0 ;
29594 char * kwnames
[] = {
29595 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29603 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29604 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29605 if (!SWIG_IsOK(ecode2
)) {
29606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
29608 arg2
= static_cast< int >(val2
);
29609 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29610 if (!SWIG_IsOK(ecode3
)) {
29611 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
29613 arg3
= static_cast< int >(val3
);
29614 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29615 if (!SWIG_IsOK(ecode4
)) {
29616 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
29618 arg4
= static_cast< int >(val4
);
29619 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29620 if (!SWIG_IsOK(ecode5
)) {
29621 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
29623 arg5
= static_cast< int >(val5
);
29625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29626 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
29627 wxPyEndAllowThreads(__tstate
);
29628 if (PyErr_Occurred()) SWIG_fail
;
29630 resultobj
= SWIG_Py_Void();
29637 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29638 PyObject
*resultobj
= 0;
29639 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29644 PyObject
* obj0
= 0 ;
29645 PyObject
* obj1
= 0 ;
29646 char * kwnames
[] = {
29647 (char *) "self",(char *) "rect", NULL
29650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29652 if (!SWIG_IsOK(res1
)) {
29653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29655 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29658 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29662 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
29663 wxPyEndAllowThreads(__tstate
);
29664 if (PyErr_Occurred()) SWIG_fail
;
29666 resultobj
= SWIG_Py_Void();
29673 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29674 PyObject
*resultobj
= 0;
29675 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29676 wxPoint
*arg2
= 0 ;
29682 PyObject
* obj0
= 0 ;
29683 PyObject
* obj1
= 0 ;
29684 PyObject
* obj2
= 0 ;
29685 char * kwnames
[] = {
29686 (char *) "self",(char *) "pt",(char *) "sz", NULL
29689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29691 if (!SWIG_IsOK(res1
)) {
29692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29694 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29697 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29701 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
29704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29705 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
29706 wxPyEndAllowThreads(__tstate
);
29707 if (PyErr_Occurred()) SWIG_fail
;
29709 resultobj
= SWIG_Py_Void();
29716 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29717 PyObject
*resultobj
= 0;
29718 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29736 PyObject
* obj0
= 0 ;
29737 PyObject
* obj1
= 0 ;
29738 PyObject
* obj2
= 0 ;
29739 PyObject
* obj3
= 0 ;
29740 PyObject
* obj4
= 0 ;
29741 PyObject
* obj5
= 0 ;
29742 char * kwnames
[] = {
29743 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
29746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29748 if (!SWIG_IsOK(res1
)) {
29749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29751 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29752 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29753 if (!SWIG_IsOK(ecode2
)) {
29754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
29756 arg2
= static_cast< int >(val2
);
29757 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29758 if (!SWIG_IsOK(ecode3
)) {
29759 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
29761 arg3
= static_cast< int >(val3
);
29762 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29763 if (!SWIG_IsOK(ecode4
)) {
29764 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
29766 arg4
= static_cast< int >(val4
);
29767 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29768 if (!SWIG_IsOK(ecode5
)) {
29769 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
29771 arg5
= static_cast< int >(val5
);
29772 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29773 if (!SWIG_IsOK(ecode6
)) {
29774 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
29776 arg6
= static_cast< double >(val6
);
29778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29779 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
29780 wxPyEndAllowThreads(__tstate
);
29781 if (PyErr_Occurred()) SWIG_fail
;
29783 resultobj
= SWIG_Py_Void();
29790 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29791 PyObject
*resultobj
= 0;
29792 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29800 PyObject
* obj0
= 0 ;
29801 PyObject
* obj1
= 0 ;
29802 PyObject
* obj2
= 0 ;
29803 char * kwnames
[] = {
29804 (char *) "self",(char *) "r",(char *) "radius", NULL
29807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29809 if (!SWIG_IsOK(res1
)) {
29810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29812 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29815 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29817 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29818 if (!SWIG_IsOK(ecode3
)) {
29819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
29821 arg3
= static_cast< double >(val3
);
29823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29824 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
29825 wxPyEndAllowThreads(__tstate
);
29826 if (PyErr_Occurred()) SWIG_fail
;
29828 resultobj
= SWIG_Py_Void();
29835 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29836 PyObject
*resultobj
= 0;
29837 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29838 wxPoint
*arg2
= 0 ;
29847 PyObject
* obj0
= 0 ;
29848 PyObject
* obj1
= 0 ;
29849 PyObject
* obj2
= 0 ;
29850 PyObject
* obj3
= 0 ;
29851 char * kwnames
[] = {
29852 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
29855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29857 if (!SWIG_IsOK(res1
)) {
29858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29860 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29863 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29867 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
29869 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29870 if (!SWIG_IsOK(ecode4
)) {
29871 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
29873 arg4
= static_cast< double >(val4
);
29875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29876 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
29877 wxPyEndAllowThreads(__tstate
);
29878 if (PyErr_Occurred()) SWIG_fail
;
29880 resultobj
= SWIG_Py_Void();
29887 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29888 PyObject
*resultobj
= 0;
29889 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29901 PyObject
* obj0
= 0 ;
29902 PyObject
* obj1
= 0 ;
29903 PyObject
* obj2
= 0 ;
29904 PyObject
* obj3
= 0 ;
29905 char * kwnames
[] = {
29906 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
29909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29911 if (!SWIG_IsOK(res1
)) {
29912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29914 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29915 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29916 if (!SWIG_IsOK(ecode2
)) {
29917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
29919 arg2
= static_cast< int >(val2
);
29920 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29921 if (!SWIG_IsOK(ecode3
)) {
29922 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
29924 arg3
= static_cast< int >(val3
);
29925 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29926 if (!SWIG_IsOK(ecode4
)) {
29927 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
29929 arg4
= static_cast< int >(val4
);
29931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29932 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
29933 wxPyEndAllowThreads(__tstate
);
29934 if (PyErr_Occurred()) SWIG_fail
;
29936 resultobj
= SWIG_Py_Void();
29943 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29944 PyObject
*resultobj
= 0;
29945 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29946 wxPoint
*arg2
= 0 ;
29953 PyObject
* obj0
= 0 ;
29954 PyObject
* obj1
= 0 ;
29955 PyObject
* obj2
= 0 ;
29956 char * kwnames
[] = {
29957 (char *) "self",(char *) "pt",(char *) "radius", NULL
29960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29962 if (!SWIG_IsOK(res1
)) {
29963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29965 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29968 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29970 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29971 if (!SWIG_IsOK(ecode3
)) {
29972 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
29974 arg3
= static_cast< int >(val3
);
29976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29977 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
29978 wxPyEndAllowThreads(__tstate
);
29979 if (PyErr_Occurred()) SWIG_fail
;
29981 resultobj
= SWIG_Py_Void();
29988 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29989 PyObject
*resultobj
= 0;
29990 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30005 PyObject
* obj0
= 0 ;
30006 PyObject
* obj1
= 0 ;
30007 PyObject
* obj2
= 0 ;
30008 PyObject
* obj3
= 0 ;
30009 PyObject
* obj4
= 0 ;
30010 char * kwnames
[] = {
30011 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
30014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30016 if (!SWIG_IsOK(res1
)) {
30017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30019 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30020 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30021 if (!SWIG_IsOK(ecode2
)) {
30022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
30024 arg2
= static_cast< int >(val2
);
30025 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30026 if (!SWIG_IsOK(ecode3
)) {
30027 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
30029 arg3
= static_cast< int >(val3
);
30030 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30031 if (!SWIG_IsOK(ecode4
)) {
30032 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
30034 arg4
= static_cast< int >(val4
);
30035 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30036 if (!SWIG_IsOK(ecode5
)) {
30037 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
30039 arg5
= static_cast< int >(val5
);
30041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30042 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
30043 wxPyEndAllowThreads(__tstate
);
30044 if (PyErr_Occurred()) SWIG_fail
;
30046 resultobj
= SWIG_Py_Void();
30053 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30054 PyObject
*resultobj
= 0;
30055 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30060 PyObject
* obj0
= 0 ;
30061 PyObject
* obj1
= 0 ;
30062 char * kwnames
[] = {
30063 (char *) "self",(char *) "rect", NULL
30066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30068 if (!SWIG_IsOK(res1
)) {
30069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30071 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30074 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
30077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30078 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
30079 wxPyEndAllowThreads(__tstate
);
30080 if (PyErr_Occurred()) SWIG_fail
;
30082 resultobj
= SWIG_Py_Void();
30089 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30090 PyObject
*resultobj
= 0;
30091 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30092 wxPoint
*arg2
= 0 ;
30098 PyObject
* obj0
= 0 ;
30099 PyObject
* obj1
= 0 ;
30100 PyObject
* obj2
= 0 ;
30101 char * kwnames
[] = {
30102 (char *) "self",(char *) "pt",(char *) "sz", NULL
30105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30107 if (!SWIG_IsOK(res1
)) {
30108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30110 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30113 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30117 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
30120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30121 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
30122 wxPyEndAllowThreads(__tstate
);
30123 if (PyErr_Occurred()) SWIG_fail
;
30125 resultobj
= SWIG_Py_Void();
30132 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30133 PyObject
*resultobj
= 0;
30134 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30146 PyObject
* obj0
= 0 ;
30147 PyObject
* obj1
= 0 ;
30148 PyObject
* obj2
= 0 ;
30149 PyObject
* obj3
= 0 ;
30150 char * kwnames
[] = {
30151 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
30154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30156 if (!SWIG_IsOK(res1
)) {
30157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30159 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30160 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
30161 if (!SWIG_IsOK(res2
)) {
30162 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30165 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30167 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
30168 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30169 if (!SWIG_IsOK(ecode3
)) {
30170 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
30172 arg3
= static_cast< int >(val3
);
30173 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30174 if (!SWIG_IsOK(ecode4
)) {
30175 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
30177 arg4
= static_cast< int >(val4
);
30179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30180 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
30181 wxPyEndAllowThreads(__tstate
);
30182 if (PyErr_Occurred()) SWIG_fail
;
30184 resultobj
= SWIG_Py_Void();
30191 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30192 PyObject
*resultobj
= 0;
30193 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30195 wxPoint
*arg3
= 0 ;
30201 PyObject
* obj0
= 0 ;
30202 PyObject
* obj1
= 0 ;
30203 PyObject
* obj2
= 0 ;
30204 char * kwnames
[] = {
30205 (char *) "self",(char *) "icon",(char *) "pt", NULL
30208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30210 if (!SWIG_IsOK(res1
)) {
30211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30213 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30214 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
30215 if (!SWIG_IsOK(res2
)) {
30216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
30219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
30221 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
30224 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30228 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
30229 wxPyEndAllowThreads(__tstate
);
30230 if (PyErr_Occurred()) SWIG_fail
;
30232 resultobj
= SWIG_Py_Void();
30239 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30240 PyObject
*resultobj
= 0;
30241 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30242 wxBitmap
*arg2
= 0 ;
30245 bool arg5
= (bool) false ;
30256 PyObject
* obj0
= 0 ;
30257 PyObject
* obj1
= 0 ;
30258 PyObject
* obj2
= 0 ;
30259 PyObject
* obj3
= 0 ;
30260 PyObject
* obj4
= 0 ;
30261 char * kwnames
[] = {
30262 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
30265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30267 if (!SWIG_IsOK(res1
)) {
30268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30270 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30271 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30272 if (!SWIG_IsOK(res2
)) {
30273 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30276 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30278 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30279 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30280 if (!SWIG_IsOK(ecode3
)) {
30281 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
30283 arg3
= static_cast< int >(val3
);
30284 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30285 if (!SWIG_IsOK(ecode4
)) {
30286 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
30288 arg4
= static_cast< int >(val4
);
30290 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
30291 if (!SWIG_IsOK(ecode5
)) {
30292 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
30294 arg5
= static_cast< bool >(val5
);
30297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30298 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
30299 wxPyEndAllowThreads(__tstate
);
30300 if (PyErr_Occurred()) SWIG_fail
;
30302 resultobj
= SWIG_Py_Void();
30309 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30310 PyObject
*resultobj
= 0;
30311 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30312 wxBitmap
*arg2
= 0 ;
30313 wxPoint
*arg3
= 0 ;
30314 bool arg4
= (bool) false ;
30322 PyObject
* obj0
= 0 ;
30323 PyObject
* obj1
= 0 ;
30324 PyObject
* obj2
= 0 ;
30325 PyObject
* obj3
= 0 ;
30326 char * kwnames
[] = {
30327 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
30330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30332 if (!SWIG_IsOK(res1
)) {
30333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30335 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30336 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30337 if (!SWIG_IsOK(res2
)) {
30338 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30341 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30343 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30346 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30349 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30350 if (!SWIG_IsOK(ecode4
)) {
30351 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
30353 arg4
= static_cast< bool >(val4
);
30356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30357 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
30358 wxPyEndAllowThreads(__tstate
);
30359 if (PyErr_Occurred()) SWIG_fail
;
30361 resultobj
= SWIG_Py_Void();
30368 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30369 PyObject
*resultobj
= 0;
30370 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30371 wxString
*arg2
= 0 ;
30376 bool temp2
= false ;
30381 PyObject
* obj0
= 0 ;
30382 PyObject
* obj1
= 0 ;
30383 PyObject
* obj2
= 0 ;
30384 PyObject
* obj3
= 0 ;
30385 char * kwnames
[] = {
30386 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
30389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30391 if (!SWIG_IsOK(res1
)) {
30392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30394 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30396 arg2
= wxString_in_helper(obj1
);
30397 if (arg2
== NULL
) SWIG_fail
;
30400 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30401 if (!SWIG_IsOK(ecode3
)) {
30402 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
30404 arg3
= static_cast< int >(val3
);
30405 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30406 if (!SWIG_IsOK(ecode4
)) {
30407 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
30409 arg4
= static_cast< int >(val4
);
30411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30412 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
30413 wxPyEndAllowThreads(__tstate
);
30414 if (PyErr_Occurred()) SWIG_fail
;
30416 resultobj
= SWIG_Py_Void();
30431 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30432 PyObject
*resultobj
= 0;
30433 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30434 wxString
*arg2
= 0 ;
30435 wxPoint
*arg3
= 0 ;
30438 bool temp2
= false ;
30440 PyObject
* obj0
= 0 ;
30441 PyObject
* obj1
= 0 ;
30442 PyObject
* obj2
= 0 ;
30443 char * kwnames
[] = {
30444 (char *) "self",(char *) "text",(char *) "pt", NULL
30447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30449 if (!SWIG_IsOK(res1
)) {
30450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30452 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30454 arg2
= wxString_in_helper(obj1
);
30455 if (arg2
== NULL
) SWIG_fail
;
30460 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30464 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
30465 wxPyEndAllowThreads(__tstate
);
30466 if (PyErr_Occurred()) SWIG_fail
;
30468 resultobj
= SWIG_Py_Void();
30483 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30484 PyObject
*resultobj
= 0;
30485 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30486 wxString
*arg2
= 0 ;
30492 bool temp2
= false ;
30499 PyObject
* obj0
= 0 ;
30500 PyObject
* obj1
= 0 ;
30501 PyObject
* obj2
= 0 ;
30502 PyObject
* obj3
= 0 ;
30503 PyObject
* obj4
= 0 ;
30504 char * kwnames
[] = {
30505 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
30508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30510 if (!SWIG_IsOK(res1
)) {
30511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30513 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30515 arg2
= wxString_in_helper(obj1
);
30516 if (arg2
== NULL
) SWIG_fail
;
30519 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30520 if (!SWIG_IsOK(ecode3
)) {
30521 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
30523 arg3
= static_cast< int >(val3
);
30524 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30525 if (!SWIG_IsOK(ecode4
)) {
30526 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
30528 arg4
= static_cast< int >(val4
);
30529 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30530 if (!SWIG_IsOK(ecode5
)) {
30531 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
30533 arg5
= static_cast< double >(val5
);
30535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30536 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
30537 wxPyEndAllowThreads(__tstate
);
30538 if (PyErr_Occurred()) SWIG_fail
;
30540 resultobj
= SWIG_Py_Void();
30555 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30556 PyObject
*resultobj
= 0;
30557 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30558 wxString
*arg2
= 0 ;
30559 wxPoint
*arg3
= 0 ;
30563 bool temp2
= false ;
30567 PyObject
* obj0
= 0 ;
30568 PyObject
* obj1
= 0 ;
30569 PyObject
* obj2
= 0 ;
30570 PyObject
* obj3
= 0 ;
30571 char * kwnames
[] = {
30572 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
30575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30577 if (!SWIG_IsOK(res1
)) {
30578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30580 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30582 arg2
= wxString_in_helper(obj1
);
30583 if (arg2
== NULL
) SWIG_fail
;
30588 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30590 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30591 if (!SWIG_IsOK(ecode4
)) {
30592 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
30594 arg4
= static_cast< double >(val4
);
30596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30597 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
30598 wxPyEndAllowThreads(__tstate
);
30599 if (PyErr_Occurred()) SWIG_fail
;
30601 resultobj
= SWIG_Py_Void();
30616 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30617 PyObject
*resultobj
= 0;
30618 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30620 wxPoint
*arg3
= (wxPoint
*) 0 ;
30621 int arg4
= (int) 0 ;
30622 int arg5
= (int) 0 ;
30629 PyObject
* obj0
= 0 ;
30630 PyObject
* obj1
= 0 ;
30631 PyObject
* obj2
= 0 ;
30632 PyObject
* obj3
= 0 ;
30633 char * kwnames
[] = {
30634 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
30637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30639 if (!SWIG_IsOK(res1
)) {
30640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30642 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30644 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
30645 if (arg3
== NULL
) SWIG_fail
;
30648 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
30649 if (!SWIG_IsOK(ecode4
)) {
30650 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
30652 arg4
= static_cast< int >(val4
);
30655 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
30656 if (!SWIG_IsOK(ecode5
)) {
30657 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
30659 arg5
= static_cast< int >(val5
);
30662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30663 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
30664 wxPyEndAllowThreads(__tstate
);
30665 if (PyErr_Occurred()) SWIG_fail
;
30667 resultobj
= SWIG_Py_Void();
30669 if (arg3
) delete [] arg3
;
30674 if (arg3
) delete [] arg3
;
30680 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30681 PyObject
*resultobj
= 0;
30682 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30684 wxPoint
*arg3
= (wxPoint
*) 0 ;
30685 int arg4
= (int) 0 ;
30686 int arg5
= (int) 0 ;
30687 int arg6
= (int) wxODDEVEN_RULE
;
30696 PyObject
* obj0
= 0 ;
30697 PyObject
* obj1
= 0 ;
30698 PyObject
* obj2
= 0 ;
30699 PyObject
* obj3
= 0 ;
30700 PyObject
* obj4
= 0 ;
30701 char * kwnames
[] = {
30702 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
30705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30707 if (!SWIG_IsOK(res1
)) {
30708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30710 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30712 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
30713 if (arg3
== NULL
) SWIG_fail
;
30716 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
30717 if (!SWIG_IsOK(ecode4
)) {
30718 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
30720 arg4
= static_cast< int >(val4
);
30723 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
30724 if (!SWIG_IsOK(ecode5
)) {
30725 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
30727 arg5
= static_cast< int >(val5
);
30730 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
30731 if (!SWIG_IsOK(ecode6
)) {
30732 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
30734 arg6
= static_cast< int >(val6
);
30737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30738 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
30739 wxPyEndAllowThreads(__tstate
);
30740 if (PyErr_Occurred()) SWIG_fail
;
30742 resultobj
= SWIG_Py_Void();
30744 if (arg3
) delete [] arg3
;
30749 if (arg3
) delete [] arg3
;
30755 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30756 PyObject
*resultobj
= 0;
30757 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30758 wxString
*arg2
= 0 ;
30760 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
30761 int arg5
= (int) -1 ;
30764 bool temp2
= false ;
30770 PyObject
* obj0
= 0 ;
30771 PyObject
* obj1
= 0 ;
30772 PyObject
* obj2
= 0 ;
30773 PyObject
* obj3
= 0 ;
30774 PyObject
* obj4
= 0 ;
30775 char * kwnames
[] = {
30776 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
30779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30781 if (!SWIG_IsOK(res1
)) {
30782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30784 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30786 arg2
= wxString_in_helper(obj1
);
30787 if (arg2
== NULL
) SWIG_fail
;
30792 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
30795 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30796 if (!SWIG_IsOK(ecode4
)) {
30797 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
30799 arg4
= static_cast< int >(val4
);
30802 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30803 if (!SWIG_IsOK(ecode5
)) {
30804 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
30806 arg5
= static_cast< int >(val5
);
30809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30810 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
30811 wxPyEndAllowThreads(__tstate
);
30812 if (PyErr_Occurred()) SWIG_fail
;
30814 resultobj
= SWIG_Py_Void();
30829 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30830 PyObject
*resultobj
= 0;
30831 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30832 wxString
*arg2
= 0 ;
30833 wxBitmap
*arg3
= 0 ;
30835 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
30836 int arg6
= (int) -1 ;
30839 bool temp2
= false ;
30847 PyObject
* obj0
= 0 ;
30848 PyObject
* obj1
= 0 ;
30849 PyObject
* obj2
= 0 ;
30850 PyObject
* obj3
= 0 ;
30851 PyObject
* obj4
= 0 ;
30852 PyObject
* obj5
= 0 ;
30853 char * kwnames
[] = {
30854 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
30857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30859 if (!SWIG_IsOK(res1
)) {
30860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30862 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30864 arg2
= wxString_in_helper(obj1
);
30865 if (arg2
== NULL
) SWIG_fail
;
30868 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30869 if (!SWIG_IsOK(res3
)) {
30870 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30873 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30875 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
30878 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30881 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30882 if (!SWIG_IsOK(ecode5
)) {
30883 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
30885 arg5
= static_cast< int >(val5
);
30888 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30889 if (!SWIG_IsOK(ecode6
)) {
30890 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
30892 arg6
= static_cast< int >(val6
);
30895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30896 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
30897 wxPyEndAllowThreads(__tstate
);
30898 if (PyErr_Occurred()) SWIG_fail
;
30900 resultobj
= SWIG_Py_Void();
30915 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30916 PyObject
*resultobj
= 0;
30917 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30919 wxPoint
*arg3
= (wxPoint
*) 0 ;
30922 PyObject
* obj0
= 0 ;
30923 PyObject
* obj1
= 0 ;
30924 char * kwnames
[] = {
30925 (char *) "self",(char *) "points", NULL
30928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30930 if (!SWIG_IsOK(res1
)) {
30931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30933 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30935 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
30936 if (arg3
== NULL
) SWIG_fail
;
30939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30940 (arg1
)->DrawSpline(arg2
,arg3
);
30941 wxPyEndAllowThreads(__tstate
);
30942 if (PyErr_Occurred()) SWIG_fail
;
30944 resultobj
= SWIG_Py_Void();
30946 if (arg3
) delete [] arg3
;
30951 if (arg3
) delete [] arg3
;
30957 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30958 PyObject
*resultobj
= 0;
30959 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30962 PyObject
*swig_obj
[1] ;
30964 if (!args
) SWIG_fail
;
30965 swig_obj
[0] = args
;
30966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30967 if (!SWIG_IsOK(res1
)) {
30968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30970 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30974 wxPyEndAllowThreads(__tstate
);
30975 if (PyErr_Occurred()) SWIG_fail
;
30977 resultobj
= SWIG_Py_Void();
30984 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30985 PyObject
*resultobj
= 0;
30986 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30992 PyObject
* obj0
= 0 ;
30993 PyObject
* obj1
= 0 ;
30994 char * kwnames
[] = {
30995 (char *) "self",(char *) "font", NULL
30998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31000 if (!SWIG_IsOK(res1
)) {
31001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31003 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31004 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
31005 if (!SWIG_IsOK(res2
)) {
31006 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31009 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31011 arg2
= reinterpret_cast< wxFont
* >(argp2
);
31013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31014 (arg1
)->SetFont((wxFont
const &)*arg2
);
31015 wxPyEndAllowThreads(__tstate
);
31016 if (PyErr_Occurred()) SWIG_fail
;
31018 resultobj
= SWIG_Py_Void();
31025 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31026 PyObject
*resultobj
= 0;
31027 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31033 PyObject
* obj0
= 0 ;
31034 PyObject
* obj1
= 0 ;
31035 char * kwnames
[] = {
31036 (char *) "self",(char *) "pen", NULL
31039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31041 if (!SWIG_IsOK(res1
)) {
31042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31044 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31045 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
31046 if (!SWIG_IsOK(res2
)) {
31047 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
31050 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
31052 arg2
= reinterpret_cast< wxPen
* >(argp2
);
31054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31055 (arg1
)->SetPen((wxPen
const &)*arg2
);
31056 wxPyEndAllowThreads(__tstate
);
31057 if (PyErr_Occurred()) SWIG_fail
;
31059 resultobj
= SWIG_Py_Void();
31066 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31067 PyObject
*resultobj
= 0;
31068 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31069 wxBrush
*arg2
= 0 ;
31074 PyObject
* obj0
= 0 ;
31075 PyObject
* obj1
= 0 ;
31076 char * kwnames
[] = {
31077 (char *) "self",(char *) "brush", NULL
31080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31082 if (!SWIG_IsOK(res1
)) {
31083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31085 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31086 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
31087 if (!SWIG_IsOK(res2
)) {
31088 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
31091 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
31093 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
31095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31096 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
31097 wxPyEndAllowThreads(__tstate
);
31098 if (PyErr_Occurred()) SWIG_fail
;
31100 resultobj
= SWIG_Py_Void();
31107 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31108 PyObject
*resultobj
= 0;
31109 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31110 wxBrush
*arg2
= 0 ;
31115 PyObject
* obj0
= 0 ;
31116 PyObject
* obj1
= 0 ;
31117 char * kwnames
[] = {
31118 (char *) "self",(char *) "brush", NULL
31121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31123 if (!SWIG_IsOK(res1
)) {
31124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31126 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31127 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
31128 if (!SWIG_IsOK(res2
)) {
31129 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
31132 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
31134 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
31136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31137 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
31138 wxPyEndAllowThreads(__tstate
);
31139 if (PyErr_Occurred()) SWIG_fail
;
31141 resultobj
= SWIG_Py_Void();
31148 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31149 PyObject
*resultobj
= 0;
31150 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31156 PyObject
* obj0
= 0 ;
31157 PyObject
* obj1
= 0 ;
31158 char * kwnames
[] = {
31159 (char *) "self",(char *) "mode", NULL
31162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31164 if (!SWIG_IsOK(res1
)) {
31165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31167 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31168 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31169 if (!SWIG_IsOK(ecode2
)) {
31170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
31172 arg2
= static_cast< int >(val2
);
31174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31175 (arg1
)->SetBackgroundMode(arg2
);
31176 wxPyEndAllowThreads(__tstate
);
31177 if (PyErr_Occurred()) SWIG_fail
;
31179 resultobj
= SWIG_Py_Void();
31186 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31187 PyObject
*resultobj
= 0;
31188 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31189 wxPalette
*arg2
= 0 ;
31194 PyObject
* obj0
= 0 ;
31195 PyObject
* obj1
= 0 ;
31196 char * kwnames
[] = {
31197 (char *) "self",(char *) "palette", NULL
31200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31202 if (!SWIG_IsOK(res1
)) {
31203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31205 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31206 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
31207 if (!SWIG_IsOK(res2
)) {
31208 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
31211 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
31213 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
31215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31216 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
31217 wxPyEndAllowThreads(__tstate
);
31218 if (PyErr_Occurred()) SWIG_fail
;
31220 resultobj
= SWIG_Py_Void();
31227 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31228 PyObject
*resultobj
= 0;
31229 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31230 wxColour
*arg2
= 0 ;
31234 PyObject
* obj0
= 0 ;
31235 PyObject
* obj1
= 0 ;
31236 char * kwnames
[] = {
31237 (char *) "self",(char *) "colour", NULL
31240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31242 if (!SWIG_IsOK(res1
)) {
31243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31245 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31248 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31252 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
31253 wxPyEndAllowThreads(__tstate
);
31254 if (PyErr_Occurred()) SWIG_fail
;
31256 resultobj
= SWIG_Py_Void();
31263 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31264 PyObject
*resultobj
= 0;
31265 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31266 wxColour
*arg2
= 0 ;
31270 PyObject
* obj0
= 0 ;
31271 PyObject
* obj1
= 0 ;
31272 char * kwnames
[] = {
31273 (char *) "self",(char *) "colour", NULL
31276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31278 if (!SWIG_IsOK(res1
)) {
31279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31281 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31284 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31288 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
31289 wxPyEndAllowThreads(__tstate
);
31290 if (PyErr_Occurred()) SWIG_fail
;
31292 resultobj
= SWIG_Py_Void();
31299 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31300 PyObject
*resultobj
= 0;
31301 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31307 PyObject
* obj0
= 0 ;
31308 PyObject
* obj1
= 0 ;
31309 char * kwnames
[] = {
31310 (char *) "self",(char *) "function", NULL
31313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31315 if (!SWIG_IsOK(res1
)) {
31316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31318 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31319 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31320 if (!SWIG_IsOK(ecode2
)) {
31321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
31323 arg2
= static_cast< int >(val2
);
31325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31326 (arg1
)->SetLogicalFunction(arg2
);
31327 wxPyEndAllowThreads(__tstate
);
31328 if (PyErr_Occurred()) SWIG_fail
;
31330 resultobj
= SWIG_Py_Void();
31337 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31339 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31340 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
31341 return SWIG_Py_Void();
31344 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31345 return SWIG_Python_InitShadowInstance(args
);
31348 static PyMethodDef SwigMethods
[] = {
31349 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
31350 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
31351 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
31352 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
31353 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
31354 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31355 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31356 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31357 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
31358 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
31359 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
31360 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
31361 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
31362 { (char *)"Colour_Ok", (PyCFunction
)_wrap_Colour_Ok
, METH_O
, NULL
},
31363 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31364 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31365 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31366 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31367 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
31368 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31369 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31370 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31371 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
31372 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
31373 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
31374 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31375 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
31376 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31377 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31378 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
31379 { (char *)"Palette_Ok", (PyCFunction
)_wrap_Palette_Ok
, METH_O
, NULL
},
31380 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
31381 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
31382 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31383 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
31384 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
31385 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
31386 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
31387 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
31388 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
31389 { (char *)"Pen_Ok", (PyCFunction
)_wrap_Pen_Ok
, METH_O
, NULL
},
31390 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31391 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31392 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31393 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31394 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31395 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31396 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
31397 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31398 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31399 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31400 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
31401 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
31402 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31403 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31404 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
31405 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31406 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31407 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31408 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
31409 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
31410 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
31411 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
31412 { (char *)"Brush_Ok", (PyCFunction
)_wrap_Brush_Ok
, METH_O
, NULL
},
31413 { (char *)"Brush_MacGetTheme", (PyCFunction
)_wrap_Brush_MacGetTheme
, METH_O
, NULL
},
31414 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31415 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
31416 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
31417 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31418 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
31419 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31420 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31421 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31422 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31423 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31424 { (char *)"Bitmap_Ok", (PyCFunction
)_wrap_Bitmap_Ok
, METH_O
, NULL
},
31425 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
31426 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
31427 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
31428 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
31429 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
31430 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
31431 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31432 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31433 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31434 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31435 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31436 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
31437 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31438 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31439 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31440 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31441 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31442 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31443 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31444 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
31445 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
31446 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31447 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31448 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31449 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
31450 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
31451 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
31452 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
31453 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
31454 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
31455 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
31456 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
31457 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
31458 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
31459 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
31460 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
31461 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
31462 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
31463 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
31464 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31465 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
31466 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
31467 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31468 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31469 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31470 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31471 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31472 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
31473 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
31474 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
31475 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
31476 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
31477 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
31478 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
31479 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
31480 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
31481 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
31482 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
31483 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
31484 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31485 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
31486 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
31487 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31488 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31489 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31490 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31491 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31492 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
31493 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
31494 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
31495 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31496 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
31497 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
31498 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
31499 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31500 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
31501 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
31502 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31503 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31504 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31505 { (char *)"Icon_Ok", (PyCFunction
)_wrap_Icon_Ok
, METH_O
, NULL
},
31506 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
31507 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
31508 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
31509 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31510 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31511 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31512 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31513 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
31514 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
31515 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31516 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
31517 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
31518 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31519 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
31520 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31521 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
31522 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
31523 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
31524 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
31525 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31526 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31527 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
31528 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31529 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31530 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31531 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
31532 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
31533 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31534 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
31535 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31536 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31537 { (char *)"Cursor_Ok", (PyCFunction
)_wrap_Cursor_Ok
, METH_O
, NULL
},
31538 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
31539 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
31540 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31541 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31542 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31543 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31544 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
31545 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
31546 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31547 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31548 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31549 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31550 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31551 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
31552 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31553 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31554 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31555 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
31556 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31557 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31558 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31559 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31560 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31561 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31562 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31563 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31564 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31565 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
31566 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31567 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31568 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
31569 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
31570 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31571 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
31572 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
31573 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
31574 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
31575 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
31576 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
31577 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
31578 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
31579 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
31580 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
31581 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
31582 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
31583 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
31584 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
31585 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
31586 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
31587 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
31588 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31589 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
31590 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
31591 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
31592 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
31593 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
31594 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
31595 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
31596 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31597 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31598 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31599 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31600 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31601 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31602 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31603 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31604 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
31605 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
31606 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31607 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
31608 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
31609 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
31610 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
31611 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
31612 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
31613 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
31614 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
31615 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
31616 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31617 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
31618 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
31619 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
31620 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31621 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31622 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
31623 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
31624 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
31625 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31626 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31627 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
31628 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31629 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31630 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31631 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31632 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31633 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
31634 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31635 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31636 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31637 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31638 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
31639 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
31640 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31641 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
31642 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31643 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31644 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31645 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31646 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31647 { (char *)"Font_Ok", (PyCFunction
)_wrap_Font_Ok
, METH_O
, NULL
},
31648 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31649 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31650 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
31651 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
31652 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
31653 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
31654 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
31655 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
31656 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
31657 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
31658 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
31659 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
31660 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
31661 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
31662 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
31663 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31665 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31666 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31667 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31668 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31669 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31670 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31671 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31673 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31674 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
31675 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
31676 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
31677 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
31679 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
31680 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
31682 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
31683 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
31684 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
31685 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31688 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
31689 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
31690 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31691 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
31692 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
31693 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
31694 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
31695 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
31696 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
31697 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
31698 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
31699 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
31700 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
31702 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31703 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
31705 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
31706 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
31707 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
31708 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
31709 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
31710 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
31711 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
31712 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31715 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31716 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31717 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31718 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31719 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31720 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31721 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
31722 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
31723 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
31724 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31725 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
31726 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31727 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31728 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31729 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
31730 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
31731 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
31732 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
31733 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
31734 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
31735 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31739 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
31741 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
31742 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
31743 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31744 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31745 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31746 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31747 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31749 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31750 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31752 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31756 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31757 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31759 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31763 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31764 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31765 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31775 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31776 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31777 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31778 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31779 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31780 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31781 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31782 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31783 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31784 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31785 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31787 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31789 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31790 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31791 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
31792 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
31794 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
31795 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
31796 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31797 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31798 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31799 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31800 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
31803 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
31804 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
31805 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
31806 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
31807 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31808 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
31812 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
31813 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
31814 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
31815 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31823 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
31824 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
31825 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
31826 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
31827 { (char *)"DC_Ok", (PyCFunction
)_wrap_DC_Ok
, METH_O
, NULL
},
31828 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
31829 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
31830 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
31831 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
31832 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
31833 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
31834 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
31835 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31837 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
31838 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31839 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
31840 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31841 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
31842 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
31844 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
31845 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
31848 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
31849 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31851 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31852 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
31853 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31854 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
31855 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
31858 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
31859 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
31860 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
31861 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
31862 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
31863 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31864 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31866 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31869 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
31870 { (char *)"new_MemoryDC", (PyCFunction
)_wrap_new_MemoryDC
, METH_NOARGS
, NULL
},
31871 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31872 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31873 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
31874 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
31875 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
31876 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
31877 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
31878 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
31879 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
31880 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
31882 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
31883 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
31884 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
31887 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
31888 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
31889 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31890 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
31891 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
31892 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
31894 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
31895 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31896 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
31897 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
31898 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31899 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
31900 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
31901 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31902 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
31903 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
31906 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
31907 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
31908 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
31910 { (char *)"MetaFile_Ok", (PyCFunction
)_wrap_MetaFile_Ok
, METH_O
, NULL
},
31911 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31912 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
31913 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
31914 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
31915 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
31916 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
31917 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
31919 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
31920 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
31921 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
31923 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
31924 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
31926 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31929 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31932 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31933 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
31934 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31935 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
31936 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
31938 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
31939 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
31940 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
31941 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
31942 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
31943 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
31949 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
31950 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
31951 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
31952 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
31953 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
31954 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31956 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
31958 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
31962 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31964 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31965 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
31966 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
31967 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
31968 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31970 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31971 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31972 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
31973 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
31974 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
31975 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
31976 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
31977 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
31978 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
31979 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
31980 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
31981 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
31982 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
31983 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
31984 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31985 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31987 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31988 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31991 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
31993 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
31994 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31995 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
31996 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
31997 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
31998 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
31999 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
32000 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
32001 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
32002 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
32003 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
32004 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
32005 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
32006 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
32007 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
32008 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
32009 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
32010 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
32011 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
32012 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
32013 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
32014 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
32015 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
32016 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
32017 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
32018 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
32019 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32020 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
32021 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32022 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
32023 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
32024 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
32025 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
32026 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32027 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32028 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32032 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32033 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32034 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32036 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32037 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32038 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
32039 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
32040 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
32041 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
32043 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
32044 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
32045 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
32046 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
32047 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
32048 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
32049 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
32050 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32051 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32055 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32057 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32058 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32061 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32062 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32063 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32065 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32066 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32068 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32075 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32077 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32081 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32083 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32084 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32085 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32089 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32090 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32092 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32095 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32096 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32098 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
32099 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32100 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32102 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32104 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32105 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32106 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32107 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32108 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
32109 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
32110 { NULL
, NULL
, 0, NULL
}
32114 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32116 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
32117 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
32119 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
32120 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
32122 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
32123 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
32125 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
32126 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
32128 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
32129 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
32131 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
32132 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
32134 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
32135 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
32137 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
32138 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
32140 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
32141 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
32143 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
32144 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
32146 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
32147 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
32149 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
32150 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
32152 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
32153 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
32155 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
32156 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
32158 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
32159 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
32161 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
32162 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
32164 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
32165 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
32167 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
32168 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
32170 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
32171 return (void *)((wxDC
*) ((wxClientDC
*) x
));
32173 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
32174 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
32176 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
32177 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
32179 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
32180 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
32182 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
32183 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
32185 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
32186 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
32188 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
32189 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
32191 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
32192 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
32194 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32195 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32197 static void *_p_wxPenTo_p_wxObject(void *x
) {
32198 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
32200 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
32201 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
32203 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32204 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32206 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32207 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32209 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32210 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32212 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32213 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32215 static void *_p_wxIconTo_p_wxObject(void *x
) {
32216 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
32218 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32219 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32221 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32222 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32224 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32225 return (void *)((wxObject
*) ((wxSizer
*) x
));
32227 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32228 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32230 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32231 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32233 static void *_p_wxEventTo_p_wxObject(void *x
) {
32234 return (void *)((wxObject
*) ((wxEvent
*) x
));
32236 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32237 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32239 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32240 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32242 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32243 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32245 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
32246 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
32248 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
32249 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32251 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32252 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32254 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32255 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32257 static void *_p_wxDCTo_p_wxObject(void *x
) {
32258 return (void *)((wxObject
*) ((wxDC
*) x
));
32260 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32261 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32263 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32264 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32266 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32267 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32269 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32270 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32272 static void *_p_wxControlTo_p_wxObject(void *x
) {
32273 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32275 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32276 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32278 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
32279 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
32281 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32282 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32284 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
32285 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
32287 static void *_p_wxRegionTo_p_wxObject(void *x
) {
32288 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
32290 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32291 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32293 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
32294 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
32296 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
32297 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
32299 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
32300 return (void *)((wxObject
*) ((wxEffects
*) x
));
32302 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32303 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32305 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32306 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32308 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
32309 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
32311 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32312 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32314 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32315 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32317 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32318 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32320 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32321 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32323 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32324 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32326 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32327 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32329 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32330 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32332 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32333 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32335 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32336 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32338 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32339 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32341 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32342 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32344 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32345 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32347 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32348 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32350 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32351 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32353 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32354 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32356 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32357 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32359 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32360 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32362 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32363 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32365 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32366 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32368 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32369 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32371 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
32372 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
32374 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32375 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32377 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32378 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32380 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32381 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32383 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32384 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32386 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
32387 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32389 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
32390 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
32392 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
32393 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
32395 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
32396 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
32398 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
32399 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
32401 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32402 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32404 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32405 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32407 static void *_p_wxImageTo_p_wxObject(void *x
) {
32408 return (void *)((wxObject
*) ((wxImage
*) x
));
32410 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32411 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32413 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
32414 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
32416 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
32417 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
32419 static void *_p_wxImageListTo_p_wxObject(void *x
) {
32420 return (void *)((wxObject
*) ((wxImageList
*) x
));
32422 static void *_p_wxCursorTo_p_wxObject(void *x
) {
32423 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
32425 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
32426 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
32428 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
32429 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
32431 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32432 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32434 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32435 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32437 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32438 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32440 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32441 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32443 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32444 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32446 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32447 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32449 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
32450 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
32452 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32453 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32455 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
32456 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
32458 static void *_p_wxMaskTo_p_wxObject(void *x
) {
32459 return (void *)((wxObject
*) ((wxMask
*) x
));
32461 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32462 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32464 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32465 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32467 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32468 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32470 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32471 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32473 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32474 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32476 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32477 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32479 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32480 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32482 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32483 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32485 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32486 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32488 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32489 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32491 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32492 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32494 static void *_p_wxFontTo_p_wxObject(void *x
) {
32495 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
32497 static void *_p_wxBrushTo_p_wxObject(void *x
) {
32498 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
32500 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
32501 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
32503 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32504 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32506 static void *_p_wxColourTo_p_wxObject(void *x
) {
32507 return (void *)((wxObject
*) ((wxColour
*) x
));
32509 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32510 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32512 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32513 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32515 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32516 return (void *)((wxWindow
*) ((wxControl
*) x
));
32518 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32519 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32521 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32522 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32524 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
32525 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
32527 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
32528 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
32530 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
32531 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
32532 static swig_type_info _swigt__p_double
= {"_p_double", "double *", 0, 0, (void*)0, 0};
32533 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};
32534 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
32535 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32536 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32537 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32538 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
32539 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
32540 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32541 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
32542 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
32543 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
32544 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
32545 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
32546 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
32547 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32548 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
32549 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
32550 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32551 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
32552 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32553 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
32554 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
32555 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32556 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
32557 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
32558 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
32559 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
32560 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
32561 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32562 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32563 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
32564 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
32565 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
32566 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
32567 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
32568 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
32569 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
32570 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
32571 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
32572 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
32573 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
32574 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
32575 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
32576 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
32577 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32578 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32579 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32580 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32581 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32582 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32583 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32584 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32585 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
32586 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32587 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32588 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
32589 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
32590 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32591 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32592 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32593 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32594 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32595 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32596 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32597 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32598 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32599 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32600 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
32601 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32602 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
32603 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
32604 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32605 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
32606 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32607 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32608 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32609 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32610 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32611 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32612 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32613 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32614 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32615 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32616 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32617 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32618 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32619 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32620 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32621 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32622 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32623 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32624 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32625 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
32626 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32627 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32628 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32629 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32630 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32631 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
32632 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
32633 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32634 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
32635 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32636 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32637 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32638 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
32639 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
32640 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32641 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32642 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32643 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32644 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32645 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32646 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32647 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
32648 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32649 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32650 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32651 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32652 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32653 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32654 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
32655 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
32656 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32657 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
32658 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
32659 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
32660 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32661 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
32662 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32663 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
32664 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
32665 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
32666 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
32667 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32668 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32669 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
32670 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
32671 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
32672 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
32673 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32674 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
32675 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
32676 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32677 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32678 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
32680 static swig_type_info
*swig_type_initial
[] = {
32684 &_swigt__p_form_ops_t
,
32686 &_swigt__p_unsigned_char
,
32687 &_swigt__p_unsigned_int
,
32688 &_swigt__p_unsigned_long
,
32689 &_swigt__p_wxANIHandler
,
32690 &_swigt__p_wxAcceleratorTable
,
32691 &_swigt__p_wxActivateEvent
,
32692 &_swigt__p_wxAlphaPixelData
,
32693 &_swigt__p_wxAlphaPixelData_Accessor
,
32694 &_swigt__p_wxBMPHandler
,
32695 &_swigt__p_wxBitmap
,
32696 &_swigt__p_wxBoxSizer
,
32697 &_swigt__p_wxBrush
,
32698 &_swigt__p_wxBrushList
,
32699 &_swigt__p_wxBufferedDC
,
32700 &_swigt__p_wxBufferedPaintDC
,
32701 &_swigt__p_wxCURHandler
,
32703 &_swigt__p_wxChildFocusEvent
,
32704 &_swigt__p_wxClientDC
,
32705 &_swigt__p_wxClipboardTextEvent
,
32706 &_swigt__p_wxCloseEvent
,
32707 &_swigt__p_wxColour
,
32708 &_swigt__p_wxColourDatabase
,
32709 &_swigt__p_wxCommandEvent
,
32710 &_swigt__p_wxContextMenuEvent
,
32711 &_swigt__p_wxControl
,
32712 &_swigt__p_wxControlWithItems
,
32713 &_swigt__p_wxCursor
,
32716 &_swigt__p_wxDateEvent
,
32717 &_swigt__p_wxDisplayChangedEvent
,
32718 &_swigt__p_wxDropFilesEvent
,
32719 &_swigt__p_wxDuplexMode
,
32720 &_swigt__p_wxEffects
,
32721 &_swigt__p_wxEncodingConverter
,
32722 &_swigt__p_wxEraseEvent
,
32723 &_swigt__p_wxEvent
,
32724 &_swigt__p_wxEvtHandler
,
32725 &_swigt__p_wxFSFile
,
32726 &_swigt__p_wxFileSystem
,
32727 &_swigt__p_wxFlexGridSizer
,
32728 &_swigt__p_wxFocusEvent
,
32730 &_swigt__p_wxFontList
,
32731 &_swigt__p_wxFontMapper
,
32732 &_swigt__p_wxGBSizerItem
,
32733 &_swigt__p_wxGDIObjListBase
,
32734 &_swigt__p_wxGDIObject
,
32735 &_swigt__p_wxGIFHandler
,
32736 &_swigt__p_wxGridBagSizer
,
32737 &_swigt__p_wxGridSizer
,
32738 &_swigt__p_wxHeaderButtonParams
,
32739 &_swigt__p_wxICOHandler
,
32741 &_swigt__p_wxIconBundle
,
32742 &_swigt__p_wxIconLocation
,
32743 &_swigt__p_wxIconizeEvent
,
32744 &_swigt__p_wxIdleEvent
,
32745 &_swigt__p_wxImage
,
32746 &_swigt__p_wxImageHandler
,
32747 &_swigt__p_wxImageList
,
32748 &_swigt__p_wxIndividualLayoutConstraint
,
32749 &_swigt__p_wxInitDialogEvent
,
32750 &_swigt__p_wxJPEGHandler
,
32751 &_swigt__p_wxKeyEvent
,
32752 &_swigt__p_wxLanguageInfo
,
32753 &_swigt__p_wxLayoutConstraints
,
32754 &_swigt__p_wxLocale
,
32756 &_swigt__p_wxMaximizeEvent
,
32757 &_swigt__p_wxMemoryDC
,
32759 &_swigt__p_wxMenuBar
,
32760 &_swigt__p_wxMenuEvent
,
32761 &_swigt__p_wxMenuItem
,
32762 &_swigt__p_wxMetaFile
,
32763 &_swigt__p_wxMetaFileDC
,
32764 &_swigt__p_wxMirrorDC
,
32765 &_swigt__p_wxMouseCaptureChangedEvent
,
32766 &_swigt__p_wxMouseCaptureLostEvent
,
32767 &_swigt__p_wxMouseEvent
,
32768 &_swigt__p_wxMoveEvent
,
32769 &_swigt__p_wxNativeEncodingInfo
,
32770 &_swigt__p_wxNativeFontInfo
,
32771 &_swigt__p_wxNativePixelData
,
32772 &_swigt__p_wxNativePixelData_Accessor
,
32773 &_swigt__p_wxNavigationKeyEvent
,
32774 &_swigt__p_wxNcPaintEvent
,
32775 &_swigt__p_wxNotifyEvent
,
32776 &_swigt__p_wxObject
,
32777 &_swigt__p_wxPCXHandler
,
32778 &_swigt__p_wxPNGHandler
,
32779 &_swigt__p_wxPNMHandler
,
32780 &_swigt__p_wxPaintDC
,
32781 &_swigt__p_wxPaintEvent
,
32782 &_swigt__p_wxPalette
,
32783 &_swigt__p_wxPaletteChangedEvent
,
32784 &_swigt__p_wxPaperSize
,
32786 &_swigt__p_wxPenList
,
32787 &_swigt__p_wxPixelDataBase
,
32788 &_swigt__p_wxPoint
,
32789 &_swigt__p_wxPostScriptDC
,
32790 &_swigt__p_wxPrintData
,
32791 &_swigt__p_wxPrinterDC
,
32792 &_swigt__p_wxPseudoDC
,
32793 &_swigt__p_wxPyApp
,
32794 &_swigt__p_wxPyCommandEvent
,
32795 &_swigt__p_wxPyEvent
,
32796 &_swigt__p_wxPyFontEnumerator
,
32797 &_swigt__p_wxPyImageHandler
,
32798 &_swigt__p_wxPyLocale
,
32799 &_swigt__p_wxPySizer
,
32800 &_swigt__p_wxPyValidator
,
32801 &_swigt__p_wxQueryNewPaletteEvent
,
32803 &_swigt__p_wxRegion
,
32804 &_swigt__p_wxRegionIterator
,
32805 &_swigt__p_wxRendererNative
,
32806 &_swigt__p_wxRendererVersion
,
32807 &_swigt__p_wxScreenDC
,
32808 &_swigt__p_wxScrollEvent
,
32809 &_swigt__p_wxScrollWinEvent
,
32810 &_swigt__p_wxSetCursorEvent
,
32811 &_swigt__p_wxShowEvent
,
32813 &_swigt__p_wxSizeEvent
,
32814 &_swigt__p_wxSizer
,
32815 &_swigt__p_wxSizerItem
,
32816 &_swigt__p_wxSplitterRenderParams
,
32817 &_swigt__p_wxStaticBoxSizer
,
32818 &_swigt__p_wxStdDialogButtonSizer
,
32819 &_swigt__p_wxStockGDI
,
32820 &_swigt__p_wxString
,
32821 &_swigt__p_wxSysColourChangedEvent
,
32822 &_swigt__p_wxTIFFHandler
,
32823 &_swigt__p_wxUpdateUIEvent
,
32824 &_swigt__p_wxValidator
,
32825 &_swigt__p_wxWindow
,
32826 &_swigt__p_wxWindowCreateEvent
,
32827 &_swigt__p_wxWindowDC
,
32828 &_swigt__p_wxWindowDestroyEvent
,
32829 &_swigt__p_wxXPMHandler
,
32832 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
32833 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
32834 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
32835 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
32836 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
32837 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
32838 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
32839 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
32840 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
32841 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
32842 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
32843 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
32844 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
32845 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}};
32846 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
32847 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
32848 static swig_cast_info _swigc__p_wxClientDC
[] = { {&_swigt__p_wxClientDC
, 0, 0, 0},{0, 0, 0, 0}};
32849 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
32850 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
32851 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
32852 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}};
32853 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
32854 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
32855 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
32856 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
32857 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
32858 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
32859 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
32860 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}};
32861 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}};
32862 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
32863 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
32864 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
32865 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
32866 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
32867 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
32868 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
32869 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}};
32870 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
32871 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}};
32872 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
32873 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
32874 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
32875 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
32876 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
32877 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
32878 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
32879 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
32880 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32881 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32882 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
32883 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
32884 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32885 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32886 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32887 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
32888 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
32889 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
32890 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
32891 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32892 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32893 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32894 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
32895 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32896 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32897 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32898 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32899 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32900 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32901 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
32902 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
32903 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
32904 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
32905 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32906 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32907 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
32908 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
32909 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32910 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
32911 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32912 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
32913 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32914 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32915 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32916 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
32917 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32918 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
32919 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
32920 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
32921 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
32922 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32923 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32924 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32925 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32926 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
32927 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32928 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32929 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
32930 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32931 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32932 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
32933 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
32934 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
32935 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
32936 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32937 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32938 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32939 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
32940 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
32941 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32942 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32943 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
32944 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32945 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32946 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32947 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32948 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32949 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
32950 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32951 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32952 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
32953 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
32954 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
32955 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}};
32956 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
32957 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
32958 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
32959 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
32960 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
32961 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}};
32962 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
32963 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
32964 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
32965 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
32966 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
32967 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
32968 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
32969 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
32970 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
32971 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
32972 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
32973 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
32974 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
32975 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
32976 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
32977 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
32978 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
32979 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}};
32980 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0},{0, 0, 0, 0}};
32982 static swig_cast_info
*swig_cast_initial
[] = {
32986 _swigc__p_form_ops_t
,
32988 _swigc__p_unsigned_char
,
32989 _swigc__p_unsigned_int
,
32990 _swigc__p_unsigned_long
,
32991 _swigc__p_wxANIHandler
,
32992 _swigc__p_wxAcceleratorTable
,
32993 _swigc__p_wxActivateEvent
,
32994 _swigc__p_wxAlphaPixelData
,
32995 _swigc__p_wxAlphaPixelData_Accessor
,
32996 _swigc__p_wxBMPHandler
,
32997 _swigc__p_wxBitmap
,
32998 _swigc__p_wxBoxSizer
,
33000 _swigc__p_wxBrushList
,
33001 _swigc__p_wxBufferedDC
,
33002 _swigc__p_wxBufferedPaintDC
,
33003 _swigc__p_wxCURHandler
,
33005 _swigc__p_wxChildFocusEvent
,
33006 _swigc__p_wxClientDC
,
33007 _swigc__p_wxClipboardTextEvent
,
33008 _swigc__p_wxCloseEvent
,
33009 _swigc__p_wxColour
,
33010 _swigc__p_wxColourDatabase
,
33011 _swigc__p_wxCommandEvent
,
33012 _swigc__p_wxContextMenuEvent
,
33013 _swigc__p_wxControl
,
33014 _swigc__p_wxControlWithItems
,
33015 _swigc__p_wxCursor
,
33018 _swigc__p_wxDateEvent
,
33019 _swigc__p_wxDisplayChangedEvent
,
33020 _swigc__p_wxDropFilesEvent
,
33021 _swigc__p_wxDuplexMode
,
33022 _swigc__p_wxEffects
,
33023 _swigc__p_wxEncodingConverter
,
33024 _swigc__p_wxEraseEvent
,
33026 _swigc__p_wxEvtHandler
,
33027 _swigc__p_wxFSFile
,
33028 _swigc__p_wxFileSystem
,
33029 _swigc__p_wxFlexGridSizer
,
33030 _swigc__p_wxFocusEvent
,
33032 _swigc__p_wxFontList
,
33033 _swigc__p_wxFontMapper
,
33034 _swigc__p_wxGBSizerItem
,
33035 _swigc__p_wxGDIObjListBase
,
33036 _swigc__p_wxGDIObject
,
33037 _swigc__p_wxGIFHandler
,
33038 _swigc__p_wxGridBagSizer
,
33039 _swigc__p_wxGridSizer
,
33040 _swigc__p_wxHeaderButtonParams
,
33041 _swigc__p_wxICOHandler
,
33043 _swigc__p_wxIconBundle
,
33044 _swigc__p_wxIconLocation
,
33045 _swigc__p_wxIconizeEvent
,
33046 _swigc__p_wxIdleEvent
,
33048 _swigc__p_wxImageHandler
,
33049 _swigc__p_wxImageList
,
33050 _swigc__p_wxIndividualLayoutConstraint
,
33051 _swigc__p_wxInitDialogEvent
,
33052 _swigc__p_wxJPEGHandler
,
33053 _swigc__p_wxKeyEvent
,
33054 _swigc__p_wxLanguageInfo
,
33055 _swigc__p_wxLayoutConstraints
,
33056 _swigc__p_wxLocale
,
33058 _swigc__p_wxMaximizeEvent
,
33059 _swigc__p_wxMemoryDC
,
33061 _swigc__p_wxMenuBar
,
33062 _swigc__p_wxMenuEvent
,
33063 _swigc__p_wxMenuItem
,
33064 _swigc__p_wxMetaFile
,
33065 _swigc__p_wxMetaFileDC
,
33066 _swigc__p_wxMirrorDC
,
33067 _swigc__p_wxMouseCaptureChangedEvent
,
33068 _swigc__p_wxMouseCaptureLostEvent
,
33069 _swigc__p_wxMouseEvent
,
33070 _swigc__p_wxMoveEvent
,
33071 _swigc__p_wxNativeEncodingInfo
,
33072 _swigc__p_wxNativeFontInfo
,
33073 _swigc__p_wxNativePixelData
,
33074 _swigc__p_wxNativePixelData_Accessor
,
33075 _swigc__p_wxNavigationKeyEvent
,
33076 _swigc__p_wxNcPaintEvent
,
33077 _swigc__p_wxNotifyEvent
,
33078 _swigc__p_wxObject
,
33079 _swigc__p_wxPCXHandler
,
33080 _swigc__p_wxPNGHandler
,
33081 _swigc__p_wxPNMHandler
,
33082 _swigc__p_wxPaintDC
,
33083 _swigc__p_wxPaintEvent
,
33084 _swigc__p_wxPalette
,
33085 _swigc__p_wxPaletteChangedEvent
,
33086 _swigc__p_wxPaperSize
,
33088 _swigc__p_wxPenList
,
33089 _swigc__p_wxPixelDataBase
,
33091 _swigc__p_wxPostScriptDC
,
33092 _swigc__p_wxPrintData
,
33093 _swigc__p_wxPrinterDC
,
33094 _swigc__p_wxPseudoDC
,
33096 _swigc__p_wxPyCommandEvent
,
33097 _swigc__p_wxPyEvent
,
33098 _swigc__p_wxPyFontEnumerator
,
33099 _swigc__p_wxPyImageHandler
,
33100 _swigc__p_wxPyLocale
,
33101 _swigc__p_wxPySizer
,
33102 _swigc__p_wxPyValidator
,
33103 _swigc__p_wxQueryNewPaletteEvent
,
33105 _swigc__p_wxRegion
,
33106 _swigc__p_wxRegionIterator
,
33107 _swigc__p_wxRendererNative
,
33108 _swigc__p_wxRendererVersion
,
33109 _swigc__p_wxScreenDC
,
33110 _swigc__p_wxScrollEvent
,
33111 _swigc__p_wxScrollWinEvent
,
33112 _swigc__p_wxSetCursorEvent
,
33113 _swigc__p_wxShowEvent
,
33115 _swigc__p_wxSizeEvent
,
33117 _swigc__p_wxSizerItem
,
33118 _swigc__p_wxSplitterRenderParams
,
33119 _swigc__p_wxStaticBoxSizer
,
33120 _swigc__p_wxStdDialogButtonSizer
,
33121 _swigc__p_wxStockGDI
,
33122 _swigc__p_wxString
,
33123 _swigc__p_wxSysColourChangedEvent
,
33124 _swigc__p_wxTIFFHandler
,
33125 _swigc__p_wxUpdateUIEvent
,
33126 _swigc__p_wxValidator
,
33127 _swigc__p_wxWindow
,
33128 _swigc__p_wxWindowCreateEvent
,
33129 _swigc__p_wxWindowDC
,
33130 _swigc__p_wxWindowDestroyEvent
,
33131 _swigc__p_wxXPMHandler
,
33135 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33137 static swig_const_info swig_const_table
[] = {
33138 {0, 0, 0, 0.0, 0, 0}};
33143 /* -----------------------------------------------------------------------------
33144 * Type initialization:
33145 * This problem is tough by the requirement that no dynamic
33146 * memory is used. Also, since swig_type_info structures store pointers to
33147 * swig_cast_info structures and swig_cast_info structures store pointers back
33148 * to swig_type_info structures, we need some lookup code at initialization.
33149 * The idea is that swig generates all the structures that are needed.
33150 * The runtime then collects these partially filled structures.
33151 * The SWIG_InitializeModule function takes these initial arrays out of
33152 * swig_module, and does all the lookup, filling in the swig_module.types
33153 * array with the correct data and linking the correct swig_cast_info
33154 * structures together.
33156 * The generated swig_type_info structures are assigned staticly to an initial
33157 * array. We just loop though that array, and handle each type individually.
33158 * First we lookup if this type has been already loaded, and if so, use the
33159 * loaded structure instead of the generated one. Then we have to fill in the
33160 * cast linked list. The cast data is initially stored in something like a
33161 * two-dimensional array. Each row corresponds to a type (there are the same
33162 * number of rows as there are in the swig_type_initial array). Each entry in
33163 * a column is one of the swig_cast_info structures for that type.
33164 * The cast_initial array is actually an array of arrays, because each row has
33165 * a variable number of columns. So to actually build the cast linked list,
33166 * we find the array of casts associated with the type, and loop through it
33167 * adding the casts to the list. The one last trick we need to do is making
33168 * sure the type pointer in the swig_cast_info struct is correct.
33170 * First off, we lookup the cast->type name to see if it is already loaded.
33171 * There are three cases to handle:
33172 * 1) If the cast->type has already been loaded AND the type we are adding
33173 * casting info to has not been loaded (it is in this module), THEN we
33174 * replace the cast->type pointer with the type pointer that has already
33176 * 2) If BOTH types (the one we are adding casting info to, and the
33177 * cast->type) are loaded, THEN the cast info has already been loaded by
33178 * the previous module so we just ignore it.
33179 * 3) Finally, if cast->type has not already been loaded, then we add that
33180 * swig_cast_info to the linked list (because the cast->type) pointer will
33182 * ----------------------------------------------------------------------------- */
33192 #define SWIGRUNTIME_DEBUG
33196 SWIG_InitializeModule(void *clientdata
) {
33198 swig_module_info
*module_head
;
33199 static int init_run
= 0;
33201 clientdata
= clientdata
;
33203 if (init_run
) return;
33206 /* Initialize the swig_module */
33207 swig_module
.type_initial
= swig_type_initial
;
33208 swig_module
.cast_initial
= swig_cast_initial
;
33210 /* Try and load any already created modules */
33211 module_head
= SWIG_GetModule(clientdata
);
33213 swig_module
.next
= module_head
->next
;
33214 module_head
->next
= &swig_module
;
33216 /* This is the first module loaded */
33217 swig_module
.next
= &swig_module
;
33218 SWIG_SetModule(clientdata
, &swig_module
);
33221 /* Now work on filling in swig_module.types */
33222 #ifdef SWIGRUNTIME_DEBUG
33223 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
33225 for (i
= 0; i
< swig_module
.size
; ++i
) {
33226 swig_type_info
*type
= 0;
33227 swig_type_info
*ret
;
33228 swig_cast_info
*cast
;
33230 #ifdef SWIGRUNTIME_DEBUG
33231 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33234 /* if there is another module already loaded */
33235 if (swig_module
.next
!= &swig_module
) {
33236 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
33239 /* Overwrite clientdata field */
33240 #ifdef SWIGRUNTIME_DEBUG
33241 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
33243 if (swig_module
.type_initial
[i
]->clientdata
) {
33244 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
33245 #ifdef SWIGRUNTIME_DEBUG
33246 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
33250 type
= swig_module
.type_initial
[i
];
33253 /* Insert casting types */
33254 cast
= swig_module
.cast_initial
[i
];
33255 while (cast
->type
) {
33256 /* Don't need to add information already in the list */
33258 #ifdef SWIGRUNTIME_DEBUG
33259 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
33261 if (swig_module
.next
!= &swig_module
) {
33262 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
33263 #ifdef SWIGRUNTIME_DEBUG
33264 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
33268 if (type
== swig_module
.type_initial
[i
]) {
33269 #ifdef SWIGRUNTIME_DEBUG
33270 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
33275 /* Check for casting already in the list */
33276 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
33277 #ifdef SWIGRUNTIME_DEBUG
33278 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
33280 if (!ocast
) ret
= 0;
33285 #ifdef SWIGRUNTIME_DEBUG
33286 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
33289 type
->cast
->prev
= cast
;
33290 cast
->next
= type
->cast
;
33296 /* Set entry in modules->types array equal to the type */
33297 swig_module
.types
[i
] = type
;
33299 swig_module
.types
[i
] = 0;
33301 #ifdef SWIGRUNTIME_DEBUG
33302 printf("**** SWIG_InitializeModule: Cast List ******\n");
33303 for (i
= 0; i
< swig_module
.size
; ++i
) {
33305 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
33306 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33307 while (cast
->type
) {
33308 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
33312 printf("---- Total casts: %d\n",j
);
33314 printf("**** SWIG_InitializeModule: Cast List ******\n");
33318 /* This function will propagate the clientdata field of type to
33319 * any new swig_type_info structures that have been added into the list
33320 * of equivalent types. It is like calling
33321 * SWIG_TypeClientData(type, clientdata) a second time.
33324 SWIG_PropagateClientData(void) {
33326 swig_cast_info
*equiv
;
33327 static int init_run
= 0;
33329 if (init_run
) return;
33332 for (i
= 0; i
< swig_module
.size
; i
++) {
33333 if (swig_module
.types
[i
]->clientdata
) {
33334 equiv
= swig_module
.types
[i
]->cast
;
33336 if (!equiv
->converter
) {
33337 if (equiv
->type
&& !equiv
->type
->clientdata
)
33338 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
33340 equiv
= equiv
->next
;
33360 /* Python-specific SWIG API */
33361 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33362 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33363 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33365 /* -----------------------------------------------------------------------------
33366 * global variable support code.
33367 * ----------------------------------------------------------------------------- */
33369 typedef struct swig_globalvar
{
33370 char *name
; /* Name of global variable */
33371 PyObject
*(*get_attr
)(void); /* Return the current value */
33372 int (*set_attr
)(PyObject
*); /* Set the value */
33373 struct swig_globalvar
*next
;
33376 typedef struct swig_varlinkobject
{
33378 swig_globalvar
*vars
;
33379 } swig_varlinkobject
;
33381 SWIGINTERN PyObject
*
33382 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
33383 return PyString_FromString("<Swig global variables>");
33386 SWIGINTERN PyObject
*
33387 swig_varlink_str(swig_varlinkobject
*v
) {
33388 PyObject
*str
= PyString_FromString("(");
33389 swig_globalvar
*var
;
33390 for (var
= v
->vars
; var
; var
=var
->next
) {
33391 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
33392 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
33394 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
33399 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
33400 PyObject
*str
= swig_varlink_str(v
);
33401 fprintf(fp
,"Swig global variables ");
33402 fprintf(fp
,"%s\n", PyString_AsString(str
));
33408 swig_varlink_dealloc(swig_varlinkobject
*v
) {
33409 swig_globalvar
*var
= v
->vars
;
33411 swig_globalvar
*n
= var
->next
;
33418 SWIGINTERN PyObject
*
33419 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33420 PyObject
*res
= NULL
;
33421 swig_globalvar
*var
= v
->vars
;
33423 if (strcmp(var
->name
,n
) == 0) {
33424 res
= (*var
->get_attr
)();
33429 if (res
== NULL
&& !PyErr_Occurred()) {
33430 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33436 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33438 swig_globalvar
*var
= v
->vars
;
33440 if (strcmp(var
->name
,n
) == 0) {
33441 res
= (*var
->set_attr
)(p
);
33446 if (res
== 1 && !PyErr_Occurred()) {
33447 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33452 SWIGINTERN PyTypeObject
*
33453 swig_varlink_type(void) {
33454 static char varlink__doc__
[] = "Swig var link object";
33455 static PyTypeObject varlink_type
;
33456 static int type_init
= 0;
33458 const PyTypeObject tmp
33460 PyObject_HEAD_INIT(NULL
)
33461 0, /* Number of items in variable part (ob_size) */
33462 (char *)"swigvarlink", /* Type name (tp_name) */
33463 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33464 0, /* Itemsize (tp_itemsize) */
33465 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
33466 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33467 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33468 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33469 0, /* tp_compare */
33470 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33471 0, /* tp_as_number */
33472 0, /* tp_as_sequence */
33473 0, /* tp_as_mapping */
33476 (reprfunc
)swig_varlink_str
, /* tp_str */
33477 0, /* tp_getattro */
33478 0, /* tp_setattro */
33479 0, /* tp_as_buffer */
33481 varlink__doc__
, /* tp_doc */
33482 0, /* tp_traverse */
33484 0, /* tp_richcompare */
33485 0, /* tp_weaklistoffset */
33486 #if PY_VERSION_HEX >= 0x02020000
33487 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33489 #if PY_VERSION_HEX >= 0x02030000
33492 #ifdef COUNT_ALLOCS
33493 0,0,0,0 /* tp_alloc -> tp_next */
33496 varlink_type
= tmp
;
33497 varlink_type
.ob_type
= &PyType_Type
;
33500 return &varlink_type
;
33503 /* Create a variable linking object for use later */
33504 SWIGINTERN PyObject
*
33505 SWIG_Python_newvarlink(void) {
33506 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
33510 return ((PyObject
*) result
);
33514 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33515 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
33516 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33518 size_t size
= strlen(name
)+1;
33519 gv
->name
= (char *)malloc(size
);
33521 strncpy(gv
->name
,name
,size
);
33522 gv
->get_attr
= get_attr
;
33523 gv
->set_attr
= set_attr
;
33524 gv
->next
= v
->vars
;
33530 SWIGINTERN PyObject
*
33532 static PyObject
*_SWIG_globals
= 0;
33533 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
33534 return _SWIG_globals
;
33537 /* -----------------------------------------------------------------------------
33538 * constants/methods manipulation
33539 * ----------------------------------------------------------------------------- */
33541 /* Install Constants */
33543 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33546 for (i
= 0; constants
[i
].type
; ++i
) {
33547 switch(constants
[i
].type
) {
33548 case SWIG_PY_POINTER
:
33549 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33551 case SWIG_PY_BINARY
:
33552 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33559 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
33565 /* -----------------------------------------------------------------------------*/
33566 /* Fix SwigMethods to carry the callback ptrs when needed */
33567 /* -----------------------------------------------------------------------------*/
33570 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33571 swig_const_info
*const_table
,
33572 swig_type_info
**types
,
33573 swig_type_info
**types_initial
) {
33575 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33576 const char *c
= methods
[i
].ml_doc
;
33577 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33579 swig_const_info
*ci
= 0;
33580 const char *name
= c
+ 10;
33581 for (j
= 0; const_table
[j
].type
; ++j
) {
33582 if (strncmp(const_table
[j
].name
, name
,
33583 strlen(const_table
[j
].name
)) == 0) {
33584 ci
= &(const_table
[j
]);
33589 size_t shift
= (ci
->ptype
) - types
;
33590 swig_type_info
*ty
= types_initial
[shift
];
33591 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33592 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33593 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33596 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
33598 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33600 strncpy(buff
, "swig_ptr: ", 10);
33602 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33603 methods
[i
].ml_doc
= ndoc
;
33615 /* -----------------------------------------------------------------------------*
33616 * Partial Init method
33617 * -----------------------------------------------------------------------------*/
33622 SWIGEXPORT
void SWIG_init(void) {
33625 /* Fix SwigMethods to carry the callback ptrs when needed */
33626 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
33628 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33629 d
= PyModule_GetDict(m
);
33631 SWIG_InitializeModule(0);
33632 SWIG_InstallConstants(d
,swig_const_table
);
33635 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
33636 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
33637 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
33638 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
33639 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
33640 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
33641 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
33642 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
33643 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
33644 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
33645 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
33646 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
33647 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
33648 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
33649 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
33650 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
33651 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
33652 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
33653 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
33654 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
33655 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
33656 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
33657 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
33658 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
33659 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
33660 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
33661 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
33662 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
33663 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
33664 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
33665 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
33666 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
33667 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
33668 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
33669 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
33670 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
33671 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
33672 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
33673 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
33674 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
33675 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
33676 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
33677 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
33678 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
33679 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
33680 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
33681 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
33682 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
33683 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
33684 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
33685 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
33686 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
33687 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
33688 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
33689 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
33690 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
33691 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
33692 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
33693 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
33694 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
33695 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
33696 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
33697 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
33698 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
33699 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
33700 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
33701 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
33702 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
33703 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
33704 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
33705 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
33706 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
33707 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
33708 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
33709 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
33710 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
33711 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
33712 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
33713 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
33714 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
33715 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
33716 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
33717 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
33718 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
33719 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
33720 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
33721 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
33722 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
33723 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
33724 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
33725 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
33726 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
33727 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
33728 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
33729 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
33730 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
33731 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
33732 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
33733 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
33734 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
33735 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
33736 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
33737 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
33738 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
33739 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
33740 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
33741 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
33742 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
33743 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
33744 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
33745 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
33746 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
33747 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
33748 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
33749 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
33750 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
33751 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
33752 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
33753 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
33754 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
33755 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
33756 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
33757 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
33758 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
33759 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
33760 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
33761 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
33762 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
33763 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
33764 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
33765 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
33766 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
33768 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
33770 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
33771 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
33772 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
33773 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
33774 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
33775 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
33776 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
33777 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
33778 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
33779 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
33780 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
33781 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
33782 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
33783 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
33784 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
33785 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
33786 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
33787 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
33788 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
33789 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
33790 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
33791 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
33792 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
33793 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
33794 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
33795 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
33796 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
33797 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
33798 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
33799 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
33800 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
33801 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
33802 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
33803 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
33804 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
33805 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
33806 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
33807 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
33808 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
33809 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
33810 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
33811 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
33812 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
33813 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
33814 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
33815 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
33816 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
33817 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
33818 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
33819 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
33820 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
33821 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
33822 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
33823 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
33824 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
33825 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
33826 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
33827 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
33828 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
33829 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
33830 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
33831 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
33832 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
33833 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
33834 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
33835 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
33836 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
33837 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
33838 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
33839 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
33840 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
33841 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
33842 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
33843 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
33844 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
33845 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
33846 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
33847 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
33848 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
33849 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
33850 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
33851 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
33852 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
33853 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
33854 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
33855 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
33856 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
33857 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
33858 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
33859 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
33860 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
33861 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
33862 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
33863 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
33864 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
33865 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
33866 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
33867 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
33868 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
33869 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
33870 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
33871 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
33872 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
33873 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
33874 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
33875 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
33876 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
33877 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
33878 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
33879 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
33880 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
33881 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
33882 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
33883 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
33884 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
33885 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
33886 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
33887 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
33888 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
33889 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
33890 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
33891 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
33892 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
33893 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
33894 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
33895 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
33896 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
33897 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
33898 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
33899 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
33900 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
33901 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
33902 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
33903 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
33904 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
33905 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
33906 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
33907 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
33908 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
33909 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
33910 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
33911 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
33912 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
33913 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
33914 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
33915 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
33916 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
33917 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
33918 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
33919 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
33920 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
33921 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
33922 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
33923 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
33924 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
33925 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
33926 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
33927 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
33928 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
33929 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
33930 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
33931 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
33932 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
33933 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
33934 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
33935 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
33936 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
33937 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
33938 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
33939 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
33940 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
33941 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
33942 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
33943 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
33944 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
33945 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
33946 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
33947 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
33948 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
33949 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
33950 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
33951 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
33952 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
33953 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
33954 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
33955 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
33956 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
33957 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
33958 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
33959 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
33960 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
33961 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
33962 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
33963 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
33964 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
33965 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
33966 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
33967 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
33968 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
33969 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
33970 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
33971 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
33972 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
33973 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
33974 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
33975 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
33976 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
33977 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
33978 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
33979 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
33980 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
33981 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
33982 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
33983 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
33984 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
33985 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
33986 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
33987 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
33988 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
33989 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
33990 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
33991 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
33992 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
33993 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
33994 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
33995 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
33996 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
33997 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
33998 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
33999 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
34000 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
34001 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
34002 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
34003 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
34004 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
34005 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
34006 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
34007 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
34008 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
34009 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
34010 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
34011 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
34012 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
34013 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
34014 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
34015 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
34016 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
34017 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
34018 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
34019 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
34020 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
34021 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
34022 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
34023 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
34024 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
34025 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
34026 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
34027 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
34028 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
34029 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
34030 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
34031 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
34032 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
34033 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
34034 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
34035 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
34036 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
34037 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
34038 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
34039 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
34040 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
34041 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
34042 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
34043 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
34044 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
34045 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
34046 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
34047 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
34048 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
34049 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
34050 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
34051 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
34052 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
34053 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
34054 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
34055 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
34056 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
34057 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
34058 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
34059 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
34060 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
34061 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
34062 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
34063 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
34064 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
34065 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
34066 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
34067 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
34068 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
34069 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
34070 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
34071 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
34072 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
34073 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
34074 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
34075 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
34076 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
34077 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
34078 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
34079 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
34080 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
34081 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
34082 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
34083 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
34084 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
34085 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
34086 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
34088 // Work around a chicken/egg problem in drawlist.cpp
34089 wxPyDrawList_SetAPIPtr();