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_wxAutoBufferedPaintDC swig_types[13]
2480 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481 #define SWIGTYPE_p_wxBitmap swig_types[15]
2482 #define SWIGTYPE_p_wxBoxSizer swig_types[16]
2483 #define SWIGTYPE_p_wxBrush swig_types[17]
2484 #define SWIGTYPE_p_wxBrushList swig_types[18]
2485 #define SWIGTYPE_p_wxBufferedDC swig_types[19]
2486 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[20]
2487 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2488 #define SWIGTYPE_p_wxChar swig_types[22]
2489 #define SWIGTYPE_p_wxChildFocusEvent swig_types[23]
2490 #define SWIGTYPE_p_wxClientDC swig_types[24]
2491 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[25]
2492 #define SWIGTYPE_p_wxCloseEvent swig_types[26]
2493 #define SWIGTYPE_p_wxColor swig_types[27]
2494 #define SWIGTYPE_p_wxColour swig_types[28]
2495 #define SWIGTYPE_p_wxColourDatabase swig_types[29]
2496 #define SWIGTYPE_p_wxCommandEvent swig_types[30]
2497 #define SWIGTYPE_p_wxContextMenuEvent swig_types[31]
2498 #define SWIGTYPE_p_wxControl swig_types[32]
2499 #define SWIGTYPE_p_wxControlWithItems swig_types[33]
2500 #define SWIGTYPE_p_wxCursor swig_types[34]
2501 #define SWIGTYPE_p_wxDC swig_types[35]
2502 #define SWIGTYPE_p_wxDCOverlay swig_types[36]
2503 #define SWIGTYPE_p_wxDash swig_types[37]
2504 #define SWIGTYPE_p_wxDateEvent swig_types[38]
2505 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[39]
2506 #define SWIGTYPE_p_wxDropFilesEvent swig_types[40]
2507 #define SWIGTYPE_p_wxDuplexMode swig_types[41]
2508 #define SWIGTYPE_p_wxEffects swig_types[42]
2509 #define SWIGTYPE_p_wxEncodingConverter swig_types[43]
2510 #define SWIGTYPE_p_wxEraseEvent swig_types[44]
2511 #define SWIGTYPE_p_wxEvent swig_types[45]
2512 #define SWIGTYPE_p_wxEvtHandler swig_types[46]
2513 #define SWIGTYPE_p_wxFSFile swig_types[47]
2514 #define SWIGTYPE_p_wxFileSystem swig_types[48]
2515 #define SWIGTYPE_p_wxFlexGridSizer swig_types[49]
2516 #define SWIGTYPE_p_wxFocusEvent swig_types[50]
2517 #define SWIGTYPE_p_wxFont swig_types[51]
2518 #define SWIGTYPE_p_wxFontList swig_types[52]
2519 #define SWIGTYPE_p_wxFontMapper swig_types[53]
2520 #define SWIGTYPE_p_wxGBSizerItem swig_types[54]
2521 #define SWIGTYPE_p_wxGCDC swig_types[55]
2522 #define SWIGTYPE_p_wxGDIObjListBase swig_types[56]
2523 #define SWIGTYPE_p_wxGDIObject swig_types[57]
2524 #define SWIGTYPE_p_wxGIFHandler swig_types[58]
2525 #define SWIGTYPE_p_wxGraphicsContext swig_types[59]
2526 #define SWIGTYPE_p_wxGraphicsPath swig_types[60]
2527 #define SWIGTYPE_p_wxGridBagSizer swig_types[61]
2528 #define SWIGTYPE_p_wxGridSizer swig_types[62]
2529 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[63]
2530 #define SWIGTYPE_p_wxICOHandler swig_types[64]
2531 #define SWIGTYPE_p_wxIcon swig_types[65]
2532 #define SWIGTYPE_p_wxIconBundle swig_types[66]
2533 #define SWIGTYPE_p_wxIconLocation swig_types[67]
2534 #define SWIGTYPE_p_wxIconizeEvent swig_types[68]
2535 #define SWIGTYPE_p_wxIdleEvent swig_types[69]
2536 #define SWIGTYPE_p_wxImage swig_types[70]
2537 #define SWIGTYPE_p_wxImageHandler swig_types[71]
2538 #define SWIGTYPE_p_wxImageList swig_types[72]
2539 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[73]
2540 #define SWIGTYPE_p_wxInitDialogEvent swig_types[74]
2541 #define SWIGTYPE_p_wxJPEGHandler swig_types[75]
2542 #define SWIGTYPE_p_wxKeyEvent swig_types[76]
2543 #define SWIGTYPE_p_wxLanguageInfo swig_types[77]
2544 #define SWIGTYPE_p_wxLayoutConstraints swig_types[78]
2545 #define SWIGTYPE_p_wxLocale swig_types[79]
2546 #define SWIGTYPE_p_wxMask swig_types[80]
2547 #define SWIGTYPE_p_wxMaximizeEvent swig_types[81]
2548 #define SWIGTYPE_p_wxMemoryDC swig_types[82]
2549 #define SWIGTYPE_p_wxMenu swig_types[83]
2550 #define SWIGTYPE_p_wxMenuBar swig_types[84]
2551 #define SWIGTYPE_p_wxMenuEvent swig_types[85]
2552 #define SWIGTYPE_p_wxMenuItem swig_types[86]
2553 #define SWIGTYPE_p_wxMetaFile swig_types[87]
2554 #define SWIGTYPE_p_wxMetaFileDC swig_types[88]
2555 #define SWIGTYPE_p_wxMirrorDC swig_types[89]
2556 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[90]
2557 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[91]
2558 #define SWIGTYPE_p_wxMouseEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMoveEvent swig_types[93]
2560 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[94]
2561 #define SWIGTYPE_p_wxNativeFontInfo swig_types[95]
2562 #define SWIGTYPE_p_wxNativePixelData swig_types[96]
2563 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[97]
2564 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[98]
2565 #define SWIGTYPE_p_wxNcPaintEvent swig_types[99]
2566 #define SWIGTYPE_p_wxNotifyEvent swig_types[100]
2567 #define SWIGTYPE_p_wxObject swig_types[101]
2568 #define SWIGTYPE_p_wxOverlay swig_types[102]
2569 #define SWIGTYPE_p_wxPCXHandler swig_types[103]
2570 #define SWIGTYPE_p_wxPNGHandler swig_types[104]
2571 #define SWIGTYPE_p_wxPNMHandler swig_types[105]
2572 #define SWIGTYPE_p_wxPaintDC swig_types[106]
2573 #define SWIGTYPE_p_wxPaintEvent swig_types[107]
2574 #define SWIGTYPE_p_wxPalette swig_types[108]
2575 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[109]
2576 #define SWIGTYPE_p_wxPaperSize swig_types[110]
2577 #define SWIGTYPE_p_wxPen swig_types[111]
2578 #define SWIGTYPE_p_wxPenList swig_types[112]
2579 #define SWIGTYPE_p_wxPixelDataBase swig_types[113]
2580 #define SWIGTYPE_p_wxPoint swig_types[114]
2581 #define SWIGTYPE_p_wxPoint2D swig_types[115]
2582 #define SWIGTYPE_p_wxPostScriptDC swig_types[116]
2583 #define SWIGTYPE_p_wxPrintData swig_types[117]
2584 #define SWIGTYPE_p_wxPrinterDC swig_types[118]
2585 #define SWIGTYPE_p_wxPseudoDC swig_types[119]
2586 #define SWIGTYPE_p_wxPyApp swig_types[120]
2587 #define SWIGTYPE_p_wxPyCommandEvent swig_types[121]
2588 #define SWIGTYPE_p_wxPyEvent swig_types[122]
2589 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[123]
2590 #define SWIGTYPE_p_wxPyImageHandler swig_types[124]
2591 #define SWIGTYPE_p_wxPyLocale swig_types[125]
2592 #define SWIGTYPE_p_wxPySizer swig_types[126]
2593 #define SWIGTYPE_p_wxPyValidator swig_types[127]
2594 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[128]
2595 #define SWIGTYPE_p_wxRect swig_types[129]
2596 #define SWIGTYPE_p_wxRegion swig_types[130]
2597 #define SWIGTYPE_p_wxRegionIterator swig_types[131]
2598 #define SWIGTYPE_p_wxRendererNative swig_types[132]
2599 #define SWIGTYPE_p_wxRendererVersion swig_types[133]
2600 #define SWIGTYPE_p_wxScreenDC swig_types[134]
2601 #define SWIGTYPE_p_wxScrollEvent swig_types[135]
2602 #define SWIGTYPE_p_wxScrollWinEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSetCursorEvent swig_types[137]
2604 #define SWIGTYPE_p_wxShowEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSize swig_types[139]
2606 #define SWIGTYPE_p_wxSizeEvent swig_types[140]
2607 #define SWIGTYPE_p_wxSizer swig_types[141]
2608 #define SWIGTYPE_p_wxSizerItem swig_types[142]
2609 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[143]
2610 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[144]
2611 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[145]
2612 #define SWIGTYPE_p_wxStockGDI swig_types[146]
2613 #define SWIGTYPE_p_wxString swig_types[147]
2614 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[148]
2615 #define SWIGTYPE_p_wxTIFFHandler swig_types[149]
2616 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[150]
2617 #define SWIGTYPE_p_wxValidator swig_types[151]
2618 #define SWIGTYPE_p_wxWindow swig_types[152]
2619 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[153]
2620 #define SWIGTYPE_p_wxWindowDC swig_types[154]
2621 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[155]
2622 #define SWIGTYPE_p_wxXPMHandler swig_types[156]
2623 static swig_type_info
*swig_types
[158];
2624 static swig_module_info swig_module
= {swig_types
, 157, 0, 0, 0, 0};
2625 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2626 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2628 /* -------- TYPES TABLE (END) -------- */
2630 #if (PY_VERSION_HEX <= 0x02000000)
2631 # if !defined(SWIG_PYTHON_CLASSIC)
2632 # error "This python version requires to use swig with the '-classic' option"
2635 #if (PY_VERSION_HEX <= 0x02020000)
2636 # error "This python version requires to use swig with the '-nomodern' option"
2638 #if (PY_VERSION_HEX <= 0x02020000)
2639 # error "This python version requires to use swig with the '-nomodernargs' option"
2642 # error "This python version requires to use swig with the '-nofastunpack' option"
2645 /*-----------------------------------------------
2646 @(target):= _gdi_.so
2647 ------------------------------------------------*/
2648 #define SWIG_init init_gdi_
2650 #define SWIG_name "_gdi_"
2652 #define SWIGVERSION 0x010329
2655 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2656 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2659 #include <stdexcept>
2663 class PyObject_ptr
{
2668 PyObject_ptr() :_obj(0)
2672 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2677 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2679 if (initial_ref
) Py_XINCREF(_obj
);
2682 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2684 Py_XINCREF(item
._obj
);
2695 operator PyObject
*() const
2700 PyObject
*operator->() const
2709 struct PyObject_var
: PyObject_ptr
{
2710 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2712 PyObject_var
& operator = (PyObject
* obj
)
2722 #include "wx/wxPython/wxPython.h"
2723 #include "wx/wxPython/pyclasses.h"
2726 static const wxString
wxPyEmptyString(wxEmptyString
);
2728 #define SWIG_From_long PyInt_FromLong
2731 SWIGINTERNINLINE PyObject
*
2732 SWIG_From_int (int value
)
2734 return SWIG_From_long (value
);
2740 # define LLONG_MIN LONG_LONG_MIN
2743 # define LLONG_MAX LONG_LONG_MAX
2746 # define ULLONG_MAX ULONG_LONG_MAX
2751 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2753 if (PyNumber_Check(obj
)) {
2754 if (val
) *val
= PyInt_AsLong(obj
);
2757 return SWIG_TypeError
;
2762 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2765 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2766 return SWIG_TypeError
;
2769 *val
= (unsigned long)v
;
2775 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2778 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2779 if (SWIG_IsOK(res
)) {
2780 if ((v
> UCHAR_MAX
)) {
2781 return SWIG_OverflowError
;
2783 if (val
) *val
= static_cast< unsigned char >(v
);
2790 SWIGINTERNINLINE PyObject
*
2791 SWIG_From_unsigned_SS_long (unsigned long value
)
2793 return (value
> LONG_MAX
) ?
2794 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2798 SWIGINTERNINLINE PyObject
*
2799 SWIG_From_unsigned_SS_char (unsigned char value
)
2801 return SWIG_From_unsigned_SS_long (value
);
2804 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2805 wxColour temp
, *obj
= &temp
;
2806 if ( other
== Py_None
) return false;
2807 if ( ! wxColour_helper(other
, &obj
) ) {
2811 return self
->operator==(*obj
);
2813 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2814 wxColour temp
, *obj
= &temp
;
2815 if ( other
== Py_None
) return true;
2816 if ( ! wxColour_helper(other
, &obj
)) {
2820 return self
->operator!=(*obj
);
2824 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2826 if (obj
== Py_True
) {
2827 if (val
) *val
= true;
2829 } else if (obj
== Py_False
) {
2830 if (val
) *val
= false;
2834 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2835 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2840 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2841 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2845 int alpha
= wxALPHA_OPAQUE
;
2848 green
= self
->Green();
2849 blue
= self
->Blue();
2850 alpha
= self
->Alpha();
2852 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2853 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2854 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2856 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2859 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2860 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2864 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2867 int res
= SWIG_AsVal_long (obj
, &v
);
2868 if (SWIG_IsOK(res
)) {
2869 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2870 return SWIG_OverflowError
;
2872 if (val
) *val
= static_cast< int >(v
);
2878 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2880 int count
= self
->GetDashes(&dashes
);
2881 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2882 PyObject
* retval
= PyList_New(0);
2883 for (int x
=0; x
<count
; x
++) {
2884 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2885 PyList_Append(retval
, pyint
);
2888 wxPyEndBlockThreads(blocked
);
2891 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2892 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2893 int size
= PyList_Size(pyDashes
);
2894 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2896 // black magic warning! The array of wxDashes needs to exist as
2897 // long as the pen does because wxPen does not copy the array. So
2898 // stick a copy in a Python string object and attach it to _self,
2899 // and then call SetDashes with a pointer to that array. Then
2900 // when the Python pen object is destroyed the array will be
2902 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2903 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2905 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2907 Py_DECREF(strDashes
);
2908 wxPyEndBlockThreads(blocked
);
2910 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2911 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2913 SWIGINTERNINLINE PyObject
*
2914 SWIG_From_short (short value
)
2916 return SWIG_From_long (value
);
2921 SWIG_AsVal_short (PyObject
* obj
, short *val
)
2924 int res
= SWIG_AsVal_long (obj
, &v
);
2925 if (SWIG_IsOK(res
)) {
2926 if ((v
< SHRT_MIN
|| v
> SHRT_MAX
)) {
2927 return SWIG_OverflowError
;
2929 if (val
) *val
= static_cast< short >(v
);
2936 #include <wx/rawbmp.h>
2939 #include <wx/image.h>
2941 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2942 char** cArray
= NULL
;
2945 if (!PyList_Check(listOfStrings
)) {
2946 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2949 count
= PyList_Size(listOfStrings
);
2950 cArray
= new char*[count
];
2952 for(int x
=0; x
<count
; x
++) {
2953 // TODO: Need some validation and error checking here
2954 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2960 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2961 char** cArray
= NULL
;
2964 cArray
= ConvertListOfStrings(listOfStrings
);
2967 bmp
= new wxBitmap(cArray
);
2971 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2974 PyString_AsStringAndSize(bits
, &buf
, &length
);
2975 return new wxBitmap(buf
, width
, height
, depth
);
2977 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2978 wxSize
size(self
->GetWidth(), self
->GetHeight());
2981 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2982 wxMask
*mask
= new wxMask(*self
, colour
);
2983 self
->SetMask(mask
);
2985 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2986 self
->SetWidth(size
.x
);
2987 self
->SetHeight(size
.y
);
2989 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2990 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2992 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2993 // appears to me that the other platforms are already doing it, so I'll just
2994 // automatically do it for wxMSW here.
2996 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2997 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2999 #define wxPy_premultiply(p, a) (p)
3000 #define wxPy_unpremultiply(p, a) (p)
3004 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3005 buffer data
, int DATASIZE
,
3006 buffer alpha
, int ALPHASIZE
)
3008 if (DATASIZE
!= width
*height
*3) {
3009 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3013 if (ALPHASIZE
!= width
*height
) {
3014 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3018 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3019 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3021 // raise an exception...
3022 wxPyErr_SetString(PyExc_RuntimeError
,
3023 "Failed to gain raw access to bitmap data.");
3028 wxAlphaPixelData::Iterator
p(pixData
);
3029 for (int y
=0; y
<height
; y
++) {
3030 wxAlphaPixelData::Iterator rowStart
= p
;
3031 for (int x
=0; x
<width
; x
++) {
3032 byte a
= *(alpha
++);
3033 p
.Red() = wxPy_premultiply(*(data
++), a
);
3034 p
.Green() = wxPy_premultiply(*(data
++), a
);
3035 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3040 p
.OffsetY(pixData
, 1);
3045 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3047 if (DATASIZE
!= width
*height
*3) {
3048 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3052 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3053 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3055 // raise an exception...
3056 wxPyErr_SetString(PyExc_RuntimeError
,
3057 "Failed to gain raw access to bitmap data.");
3061 wxNativePixelData::Iterator
p(pixData
);
3062 for (int y
=0; y
<height
; y
++) {
3063 wxNativePixelData::Iterator rowStart
= p
;
3064 for (int x
=0; x
<width
; x
++) {
3065 p
.Red() = *(data
++);
3066 p
.Green() = *(data
++);
3067 p
.Blue() = *(data
++);
3071 p
.OffsetY(pixData
, 1);
3077 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3079 if (DATASIZE
!= width
*height
*4) {
3080 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3084 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3085 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3087 // raise an exception...
3088 wxPyErr_SetString(PyExc_RuntimeError
,
3089 "Failed to gain raw access to bitmap data.");
3094 wxAlphaPixelData::Iterator
p(pixData
);
3095 for (int y
=0; y
<height
; y
++) {
3096 wxAlphaPixelData::Iterator rowStart
= p
;
3097 for (int x
=0; x
<width
; x
++) {
3099 p
.Red() = wxPy_premultiply(*(data
++), a
);
3100 p
.Green() = wxPy_premultiply(*(data
++), a
);
3101 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3102 p
.Alpha() = a
; data
++;
3106 p
.OffsetY(pixData
, 1);
3112 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3114 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3115 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3116 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3118 self
->Green() = green
;
3119 self
->Blue() = blue
;
3121 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3122 PyObject
* rv
= PyTuple_New(3);
3123 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3124 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3125 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3129 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3131 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3132 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3133 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3134 self
->Red() = wxPy_premultiply(red
, alpha
);
3135 self
->Green() = wxPy_premultiply(green
, alpha
);
3136 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3137 self
->Alpha() = alpha
;
3139 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3140 PyObject
* rv
= PyTuple_New(4);
3141 int red
= self
->Red();
3142 int green
= self
->Green();
3143 int blue
= self
->Blue();
3144 int alpha
= self
->Alpha();
3146 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3147 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3148 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3149 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3152 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3153 if ( !colour
.IsOk() )
3154 return new wxMask(bitmap
, *wxBLACK
);
3156 return new wxMask(bitmap
, colour
);
3159 #include <wx/iconbndl.h>
3161 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3162 wxIcon
* icon
= new wxIcon();
3163 icon
->CopyFromBitmap(bmp
);
3166 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3167 char** cArray
= NULL
;
3170 cArray
= ConvertListOfStrings(listOfStrings
);
3173 icon
= new wxIcon(cArray
);
3177 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3181 return new wxIconLocation(*filename
);
3184 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3191 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3198 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3200 wxImage
img(cursorName
, type
);
3201 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3202 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3203 return new wxCursor(img
);
3205 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3210 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3213 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3214 return self
->operator bool();
3217 #include <wx/fontutil.h>
3218 #include <wx/fontmap.h>
3219 #include <wx/fontenum.h>
3221 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3222 return self
->ToString();
3225 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3226 static wxNativeEncodingInfo info
;
3227 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3234 SWIGINTERNINLINE PyObject
*
3235 SWIG_From_size_t (size_t value
)
3237 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3241 SWIGINTERNINLINE
int
3242 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3245 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3246 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3250 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3251 wxFontEncoding alt_enc
;
3252 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3253 return PyInt_FromLong(alt_enc
);
3259 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3260 wxNativeFontInfo nfi
;
3261 nfi
.FromString(info
);
3262 return new wxFont(nfi
);
3264 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3265 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3267 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3268 return wxFontBase::New(pixelSize
, family
,
3269 style
, weight
, underlined
,
3272 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3273 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3275 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3276 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3278 class wxPyFontEnumerator
: public wxFontEnumerator
{
3280 wxPyFontEnumerator() {}
3281 ~wxPyFontEnumerator() {}
3283 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3284 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3289 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3290 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3293 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3295 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3296 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3297 ret
= wxArrayString2PyList_helper(arr
);
3298 wxPyEndBlockThreads(blocked
);
3301 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3303 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3304 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3305 ret
= wxArrayString2PyList_helper(arr
);
3306 wxPyEndBlockThreads(blocked
);
3312 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3315 loc
= new wxLocale();
3317 loc
= new wxLocale(language
, flags
);
3318 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3319 // for the floating point conversions and such to work right.
3320 #if PY_VERSION_HEX < 0x02040000
3321 setlocale(LC_NUMERIC
, "C");
3325 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3326 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3327 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3328 // for the floating point conversions and such to work right.
3329 #if PY_VERSION_HEX < 0x02040000
3330 setlocale(LC_NUMERIC
, "C");
3334 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3335 bool rc
= self
->Init(language
, flags
);
3336 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3337 // for the floating point conversions and such to work right.
3338 #if PY_VERSION_HEX < 0x02040000
3339 setlocale(LC_NUMERIC
, "C");
3344 class wxPyLocale
: public wxLocale
3349 wxPyLocale(const wxChar
*szName
, // name (for messages)
3350 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3351 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3352 bool bLoadDefault
= true, // preload wxstd.mo?
3353 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3355 wxPyLocale(int language
, // wxLanguage id or custom language
3356 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3360 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3361 const wxChar
*szDomain
= NULL
) const;
3362 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3363 const wxChar
*szOrigString2
, size_t n
,
3364 const wxChar
*szDomain
= NULL
) const;
3366 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3367 const wxChar
*szDomain
= NULL
) const;
3368 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3369 const wxChar
*szOrigString2
, size_t n
,
3370 const wxChar
*szDomain
= NULL
) const;
3374 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3377 wxPyLocale::wxPyLocale() : wxLocale()
3381 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3382 const wxChar
*szShort
, // dir prefix (for msg files)
3383 const wxChar
*szLocale
, // locale (for setlocale)
3384 bool bLoadDefault
, // preload wxstd.mo?
3385 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3386 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3390 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3391 int flags
) : wxLocale(language
, flags
)
3395 wxPyLocale::~wxPyLocale()
3399 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3400 const wxChar
*szDomain
) const
3402 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3403 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3406 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3407 const wxChar
*szOrigString2
, size_t n
,
3408 const wxChar
*szDomain
) const
3410 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3411 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3414 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3415 const wxChar
*szDomain
) const
3418 static wxString str
;
3419 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.
3420 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3421 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3422 PyObject
* param1
= wx2PyString(szOrigString
);
3423 PyObject
* param2
= wx2PyString(szDomain
);
3424 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3428 str
= Py2wxString(ret
);
3432 wxPyEndBlockThreads(blocked
);
3433 return (found
? (wxChar
*)str
.c_str() : NULL
);
3436 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3437 const wxChar
*szOrigString2
, size_t n
,
3438 const wxChar
*szDomain
) const
3441 static wxString str
;
3442 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.
3443 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3444 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3445 PyObject
* param1
= wx2PyString(szOrigString
);
3446 PyObject
* param2
= wx2PyString(szOrigString2
);
3447 PyObject
* param4
= wx2PyString(szDomain
);
3448 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3453 str
= Py2wxString(ret
);
3457 wxPyEndBlockThreads(blocked
);
3458 return (found
? (wxChar
*)str
.c_str() : NULL
);
3461 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3464 loc
= new wxPyLocale();
3466 loc
= new wxPyLocale(language
, flags
);
3467 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3468 // for the floating point conversions and such to work right.
3469 #if PY_VERSION_HEX < 0x02040000
3470 setlocale(LC_NUMERIC
, "C");
3475 #include "wx/wxPython/pydrawxxx.h"
3477 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3479 self
->GetPixel(x
, y
, &col
);
3482 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3484 self
->GetPixel(pt
, &col
);
3489 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3491 if (PyNumber_Check(obj
)) {
3492 if (val
) *val
= PyFloat_AsDouble(obj
);
3495 return SWIG_TypeError
;
3498 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3500 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3503 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3505 self
->GetClippingBox(rect
);
3508 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3510 self
->GetPartialTextExtents(text
, widths
);
3514 #define SWIG_From_double PyFloat_FromDouble
3516 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3517 self
->SetLogicalOrigin(point
.x
, point
.y
);
3519 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3520 self
->SetDeviceOrigin(point
.x
, point
.y
);
3522 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3523 self
->CalcBoundingBox(point
.x
, point
.y
);
3525 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3526 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3528 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3529 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3531 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3532 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3534 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3535 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3537 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3538 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3540 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3541 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3544 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3552 #include <wx/dcbuffer.h>
3555 #include <wx/dcps.h>
3558 #include <wx/metafile.h>
3561 #include <wx/graphics.h>
3564 #if !wxUSE_GRAPHICS_CONTEXT
3565 // C++ stub classes for platforms that don't have wxGraphicsContext yet.
3567 class wxGraphicsPath
3571 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3572 PyErr_SetString(PyExc_NotImplementedError
,
3573 "wxGraphicsPath is not available on this platform.");
3574 wxPyEndBlockThreads(blocked
);
3576 virtual ~wxGraphicsPath() {}
3578 void MoveToPoint( wxDouble
, wxDouble
) {}
3579 void AddLineToPoint( wxDouble
, wxDouble
) {}
3580 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3581 void CloseSubpath() {}
3582 void GetCurrentPoint( wxDouble
&, wxDouble
&) {}
3583 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3585 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3586 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3587 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3588 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3590 wxPoint2DDouble
GetCurrentPoint() { return wxPoint2DDouble(0,0); }
3591 void MoveToPoint( const wxPoint2DDouble
& ) {}
3592 void AddLineToPoint( const wxPoint2DDouble
&) {}
3593 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3594 void AddArc( const wxPoint2DDouble
&, wxDouble
, wxDouble
, wxDouble
, bool) {}
3598 class wxGraphicsContext
3601 wxGraphicsContext() {
3602 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3603 PyErr_SetString(PyExc_NotImplementedError
,
3604 "wxGraphicsContext is not available on this platform.");
3605 wxPyEndBlockThreads(blocked
);
3607 virtual ~wxGraphicsContext() {}
3609 static wxGraphicsContext
* Create( const wxWindowDC
&) {
3610 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3611 PyErr_SetString(PyExc_NotImplementedError
,
3612 "wxGraphicsPath is not available on this platform.");
3613 wxPyEndBlockThreads(blocked
);
3617 wxGraphicsPath
* CreatePath() { return NULL
; }
3620 void Clip( const wxRegion
& ) {}
3621 void Translate( wxDouble
, wxDouble
) {}
3622 void Scale( wxDouble
, wxDouble
) {}
3623 void Rotate( wxDouble
) {}
3624 void SetPen( const wxPen
& ) {}
3625 void SetBrush( const wxBrush
& ) {}
3626 void SetLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3627 const wxColour
&, const wxColour
&) {}
3628 void SetRadialGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3629 const wxColour
&, const wxColour
&) {}
3630 void SetFont( const wxFont
& ) {}
3631 void SetTextColor( const wxColour
& ) {}
3632 void StrokePath( const wxGraphicsPath
* ) {}
3633 void FillPath( const wxGraphicsPath
*, int ) {}
3634 void DrawPath( const wxGraphicsPath
*, int ) {}
3635 void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3636 void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3637 void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3638 wxDouble
*, wxDouble
* ) const {}
3639 void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3640 void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3641 void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3642 void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3643 void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3644 void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3645 void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3646 void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3647 void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3648 void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3652 class wxGCDC
: public wxWindowDC
3655 wxGCDC(const wxWindowDC
&) {
3656 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3657 PyErr_SetString(PyExc_NotImplementedError
,
3658 "wxGCDC is not available on this platform.");
3659 wxPyEndBlockThreads(blocked
);
3663 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3664 PyErr_SetString(PyExc_NotImplementedError
,
3665 "wxGCDC is not available on this platform.");
3666 wxPyEndBlockThreads(blocked
);
3669 virtual ~wxGCDC() {}
3671 wxGraphicsContext
* GetGraphicContext() { return NULL
; }
3676 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3677 wxArrayDouble widths
;
3678 self
->GetPartialTextExtents(text
, widths
);
3681 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3682 size_t c1
, c2
, count
;
3683 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3684 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3686 if ( beginP
!= NULL
&& endP
!= NULL
)
3688 count
= wxMin(c1
, c2
);
3689 self
->StrokeLines(count
, beginP
, endP
);
3696 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3697 self
->AddColour(name
, wxColour(red
, green
, blue
));
3700 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3701 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3702 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3703 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3706 #include <wx/effects.h>
3709 #include "wx/renderer.h"
3712 SWIGINTERNINLINE PyObject
*
3713 SWIG_From_bool (bool value
)
3715 return PyBool_FromLong(value
? 1 : 0);
3719 #include "wx/wxPython/pseudodc.h"
3721 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3723 self
->GetIdBounds(id
, rect
);
3729 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3730 PyObject
*resultobj
= 0;
3731 wxGDIObject
*result
= 0 ;
3733 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3735 if (!wxPyCheckForApp()) SWIG_fail
;
3736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3737 result
= (wxGDIObject
*)new wxGDIObject();
3738 wxPyEndAllowThreads(__tstate
);
3739 if (PyErr_Occurred()) SWIG_fail
;
3741 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3748 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3749 PyObject
*resultobj
= 0;
3750 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3753 PyObject
*swig_obj
[1] ;
3755 if (!args
) SWIG_fail
;
3757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3758 if (!SWIG_IsOK(res1
)) {
3759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3761 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3766 wxPyEndAllowThreads(__tstate
);
3767 if (PyErr_Occurred()) SWIG_fail
;
3769 resultobj
= SWIG_Py_Void();
3776 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3777 PyObject
*resultobj
= 0;
3778 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3782 PyObject
*swig_obj
[1] ;
3784 if (!args
) SWIG_fail
;
3786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3787 if (!SWIG_IsOK(res1
)) {
3788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3790 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3793 result
= (bool)(arg1
)->IsNull();
3794 wxPyEndAllowThreads(__tstate
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3806 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3808 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3809 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3810 return SWIG_Py_Void();
3813 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3814 return SWIG_Python_InitShadowInstance(args
);
3817 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3818 PyObject
*resultobj
= 0;
3819 byte arg1
= (byte
) 0 ;
3820 byte arg2
= (byte
) 0 ;
3821 byte arg3
= (byte
) 0 ;
3822 byte arg4
= (byte
) wxALPHA_OPAQUE
;
3823 wxColour
*result
= 0 ;
3824 unsigned char val1
;
3826 unsigned char val2
;
3828 unsigned char val3
;
3830 unsigned char val4
;
3832 PyObject
* obj0
= 0 ;
3833 PyObject
* obj1
= 0 ;
3834 PyObject
* obj2
= 0 ;
3835 PyObject
* obj3
= 0 ;
3836 char * kwnames
[] = {
3837 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
3840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3842 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3843 if (!SWIG_IsOK(ecode1
)) {
3844 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3846 arg1
= static_cast< byte
>(val1
);
3849 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3850 if (!SWIG_IsOK(ecode2
)) {
3851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3853 arg2
= static_cast< byte
>(val2
);
3856 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3857 if (!SWIG_IsOK(ecode3
)) {
3858 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3860 arg3
= static_cast< byte
>(val3
);
3863 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3864 if (!SWIG_IsOK(ecode4
)) {
3865 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
3867 arg4
= static_cast< byte
>(val4
);
3870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3871 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
3872 wxPyEndAllowThreads(__tstate
);
3873 if (PyErr_Occurred()) SWIG_fail
;
3875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3882 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3883 PyObject
*resultobj
= 0;
3884 wxString
*arg1
= 0 ;
3885 wxColour
*result
= 0 ;
3886 bool temp1
= false ;
3887 PyObject
* obj0
= 0 ;
3888 char * kwnames
[] = {
3889 (char *) "colorName", NULL
3892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3894 arg1
= wxString_in_helper(obj0
);
3895 if (arg1
== NULL
) SWIG_fail
;
3899 if (!wxPyCheckForApp()) SWIG_fail
;
3900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3901 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3902 wxPyEndAllowThreads(__tstate
);
3903 if (PyErr_Occurred()) SWIG_fail
;
3905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3920 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3921 PyObject
*resultobj
= 0;
3922 unsigned long arg1
;
3923 wxColour
*result
= 0 ;
3924 unsigned long val1
;
3926 PyObject
* obj0
= 0 ;
3927 char * kwnames
[] = {
3928 (char *) "colRGB", NULL
3931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3932 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3933 if (!SWIG_IsOK(ecode1
)) {
3934 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3936 arg1
= static_cast< unsigned long >(val1
);
3938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3939 result
= (wxColour
*)new wxColour(arg1
);
3940 wxPyEndAllowThreads(__tstate
);
3941 if (PyErr_Occurred()) SWIG_fail
;
3943 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3950 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3951 PyObject
*resultobj
= 0;
3952 wxColour
*arg1
= (wxColour
*) 0 ;
3955 PyObject
*swig_obj
[1] ;
3957 if (!args
) SWIG_fail
;
3959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3960 if (!SWIG_IsOK(res1
)) {
3961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3963 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3968 wxPyEndAllowThreads(__tstate
);
3969 if (PyErr_Occurred()) SWIG_fail
;
3971 resultobj
= SWIG_Py_Void();
3978 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3979 PyObject
*resultobj
= 0;
3980 wxColour
*arg1
= (wxColour
*) 0 ;
3984 PyObject
*swig_obj
[1] ;
3986 if (!args
) SWIG_fail
;
3988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3989 if (!SWIG_IsOK(res1
)) {
3990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3992 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3995 result
= (byte
)(arg1
)->Red();
3996 wxPyEndAllowThreads(__tstate
);
3997 if (PyErr_Occurred()) SWIG_fail
;
3999 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4006 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4007 PyObject
*resultobj
= 0;
4008 wxColour
*arg1
= (wxColour
*) 0 ;
4012 PyObject
*swig_obj
[1] ;
4014 if (!args
) SWIG_fail
;
4016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4017 if (!SWIG_IsOK(res1
)) {
4018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4020 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4023 result
= (byte
)(arg1
)->Green();
4024 wxPyEndAllowThreads(__tstate
);
4025 if (PyErr_Occurred()) SWIG_fail
;
4027 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4034 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4035 PyObject
*resultobj
= 0;
4036 wxColour
*arg1
= (wxColour
*) 0 ;
4040 PyObject
*swig_obj
[1] ;
4042 if (!args
) SWIG_fail
;
4044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4045 if (!SWIG_IsOK(res1
)) {
4046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4048 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4051 result
= (byte
)(arg1
)->Blue();
4052 wxPyEndAllowThreads(__tstate
);
4053 if (PyErr_Occurred()) SWIG_fail
;
4055 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4062 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4063 PyObject
*resultobj
= 0;
4064 wxColour
*arg1
= (wxColour
*) 0 ;
4068 PyObject
*swig_obj
[1] ;
4070 if (!args
) SWIG_fail
;
4072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4073 if (!SWIG_IsOK(res1
)) {
4074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4076 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4079 result
= (byte
)(arg1
)->Alpha();
4080 wxPyEndAllowThreads(__tstate
);
4081 if (PyErr_Occurred()) SWIG_fail
;
4083 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4090 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4091 PyObject
*resultobj
= 0;
4092 wxColour
*arg1
= (wxColour
*) 0 ;
4096 PyObject
*swig_obj
[1] ;
4098 if (!args
) SWIG_fail
;
4100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4101 if (!SWIG_IsOK(res1
)) {
4102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4104 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4107 result
= (bool)(arg1
)->IsOk();
4108 wxPyEndAllowThreads(__tstate
);
4109 if (PyErr_Occurred()) SWIG_fail
;
4112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4120 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4121 PyObject
*resultobj
= 0;
4122 wxColour
*arg1
= (wxColour
*) 0 ;
4126 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4129 unsigned char val2
;
4131 unsigned char val3
;
4133 unsigned char val4
;
4135 unsigned char val5
;
4137 PyObject
* obj0
= 0 ;
4138 PyObject
* obj1
= 0 ;
4139 PyObject
* obj2
= 0 ;
4140 PyObject
* obj3
= 0 ;
4141 PyObject
* obj4
= 0 ;
4142 char * kwnames
[] = {
4143 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4148 if (!SWIG_IsOK(res1
)) {
4149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4151 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4152 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4153 if (!SWIG_IsOK(ecode2
)) {
4154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4156 arg2
= static_cast< byte
>(val2
);
4157 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4158 if (!SWIG_IsOK(ecode3
)) {
4159 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4161 arg3
= static_cast< byte
>(val3
);
4162 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4163 if (!SWIG_IsOK(ecode4
)) {
4164 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4166 arg4
= static_cast< byte
>(val4
);
4168 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4169 if (!SWIG_IsOK(ecode5
)) {
4170 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4172 arg5
= static_cast< byte
>(val5
);
4175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4176 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4177 wxPyEndAllowThreads(__tstate
);
4178 if (PyErr_Occurred()) SWIG_fail
;
4180 resultobj
= SWIG_Py_Void();
4187 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4188 PyObject
*resultobj
= 0;
4189 wxColour
*arg1
= (wxColour
*) 0 ;
4190 unsigned long arg2
;
4193 unsigned long val2
;
4195 PyObject
* obj0
= 0 ;
4196 PyObject
* obj1
= 0 ;
4197 char * kwnames
[] = {
4198 (char *) "self",(char *) "colRGB", NULL
4201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4203 if (!SWIG_IsOK(res1
)) {
4204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4206 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4207 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4208 if (!SWIG_IsOK(ecode2
)) {
4209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4211 arg2
= static_cast< unsigned long >(val2
);
4213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4215 wxPyEndAllowThreads(__tstate
);
4216 if (PyErr_Occurred()) SWIG_fail
;
4218 resultobj
= SWIG_Py_Void();
4225 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4226 PyObject
*resultobj
= 0;
4227 wxColour
*arg1
= (wxColour
*) 0 ;
4228 wxString
*arg2
= 0 ;
4231 bool temp2
= false ;
4232 PyObject
* obj0
= 0 ;
4233 PyObject
* obj1
= 0 ;
4234 char * kwnames
[] = {
4235 (char *) "self",(char *) "colourName", NULL
4238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4240 if (!SWIG_IsOK(res1
)) {
4241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4243 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4245 arg2
= wxString_in_helper(obj1
);
4246 if (arg2
== NULL
) SWIG_fail
;
4250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4251 (arg1
)->Set((wxString
const &)*arg2
);
4252 wxPyEndAllowThreads(__tstate
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4255 resultobj
= SWIG_Py_Void();
4270 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4271 PyObject
*resultobj
= 0;
4272 wxColour
*arg1
= (wxColour
*) 0 ;
4273 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4279 PyObject
* obj0
= 0 ;
4280 PyObject
* obj1
= 0 ;
4281 char * kwnames
[] = {
4282 (char *) "self",(char *) "flags", NULL
4285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4287 if (!SWIG_IsOK(res1
)) {
4288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4290 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4292 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4293 if (!SWIG_IsOK(ecode2
)) {
4294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4296 arg2
= static_cast< long >(val2
);
4299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4300 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4301 wxPyEndAllowThreads(__tstate
);
4302 if (PyErr_Occurred()) SWIG_fail
;
4306 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4308 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4317 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4318 PyObject
*resultobj
= 0;
4319 wxColour
*arg1
= (wxColour
*) 0 ;
4323 PyObject
*swig_obj
[1] ;
4325 if (!args
) SWIG_fail
;
4327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4328 if (!SWIG_IsOK(res1
)) {
4329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4331 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4334 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4335 wxPyEndAllowThreads(__tstate
);
4336 if (PyErr_Occurred()) SWIG_fail
;
4338 resultobj
= SWIG_From_long(static_cast< long >(result
));
4345 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
*resultobj
= 0;
4347 wxColour
*arg1
= (wxColour
*) 0 ;
4348 PyObject
*arg2
= (PyObject
*) 0 ;
4352 PyObject
* obj0
= 0 ;
4353 PyObject
* obj1
= 0 ;
4354 char * kwnames
[] = {
4355 (char *) "self",(char *) "other", NULL
4358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4360 if (!SWIG_IsOK(res1
)) {
4361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4363 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4366 result
= (bool)wxColour___eq__(arg1
,arg2
);
4367 if (PyErr_Occurred()) SWIG_fail
;
4370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4378 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4379 PyObject
*resultobj
= 0;
4380 wxColour
*arg1
= (wxColour
*) 0 ;
4381 PyObject
*arg2
= (PyObject
*) 0 ;
4385 PyObject
* obj0
= 0 ;
4386 PyObject
* obj1
= 0 ;
4387 char * kwnames
[] = {
4388 (char *) "self",(char *) "other", NULL
4391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4393 if (!SWIG_IsOK(res1
)) {
4394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4396 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4399 result
= (bool)wxColour___ne__(arg1
,arg2
);
4400 if (PyErr_Occurred()) SWIG_fail
;
4403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4411 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4412 PyObject
*resultobj
= 0;
4413 wxColour
*arg1
= (wxColour
*) 0 ;
4414 bool arg2
= (bool) false ;
4415 PyObject
*result
= 0 ;
4420 PyObject
* obj0
= 0 ;
4421 PyObject
* obj1
= 0 ;
4422 char * kwnames
[] = {
4423 (char *) "self",(char *) "includeAlpha", NULL
4426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4428 if (!SWIG_IsOK(res1
)) {
4429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4431 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4433 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4434 if (!SWIG_IsOK(ecode2
)) {
4435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4437 arg2
= static_cast< bool >(val2
);
4440 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4441 if (PyErr_Occurred()) SWIG_fail
;
4450 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4451 PyObject
*resultobj
= 0;
4452 wxColour
*arg1
= (wxColour
*) 0 ;
4453 unsigned long result
;
4456 PyObject
*swig_obj
[1] ;
4458 if (!args
) SWIG_fail
;
4460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4461 if (!SWIG_IsOK(res1
)) {
4462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4464 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4466 result
= (unsigned long)wxColour_GetRGB(arg1
);
4467 if (PyErr_Occurred()) SWIG_fail
;
4469 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4476 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4478 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4479 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4480 return SWIG_Py_Void();
4483 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4484 return SWIG_Python_InitShadowInstance(args
);
4487 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
*resultobj
= 0;
4490 unsigned char *arg2
= (unsigned char *) 0 ;
4491 unsigned char *arg3
= (unsigned char *) 0 ;
4492 unsigned char *arg4
= (unsigned char *) 0 ;
4493 wxPalette
*result
= 0 ;
4502 PyObject
* obj0
= 0 ;
4503 PyObject
* obj1
= 0 ;
4504 PyObject
* obj2
= 0 ;
4505 PyObject
* obj3
= 0 ;
4506 char * kwnames
[] = {
4507 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4511 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4512 if (!SWIG_IsOK(ecode1
)) {
4513 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4515 arg1
= static_cast< int >(val1
);
4516 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4517 if (!SWIG_IsOK(res2
)) {
4518 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4520 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4521 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4522 if (!SWIG_IsOK(res3
)) {
4523 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4525 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4526 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4527 if (!SWIG_IsOK(res4
)) {
4528 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4530 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4532 if (!wxPyCheckForApp()) SWIG_fail
;
4533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4534 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4535 wxPyEndAllowThreads(__tstate
);
4536 if (PyErr_Occurred()) SWIG_fail
;
4538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4545 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4546 PyObject
*resultobj
= 0;
4547 wxPalette
*arg1
= (wxPalette
*) 0 ;
4550 PyObject
*swig_obj
[1] ;
4552 if (!args
) SWIG_fail
;
4554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4555 if (!SWIG_IsOK(res1
)) {
4556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4558 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4563 wxPyEndAllowThreads(__tstate
);
4564 if (PyErr_Occurred()) SWIG_fail
;
4566 resultobj
= SWIG_Py_Void();
4573 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4574 PyObject
*resultobj
= 0;
4575 wxPalette
*arg1
= (wxPalette
*) 0 ;
4582 unsigned char val2
;
4584 unsigned char val3
;
4586 unsigned char val4
;
4588 PyObject
* obj0
= 0 ;
4589 PyObject
* obj1
= 0 ;
4590 PyObject
* obj2
= 0 ;
4591 PyObject
* obj3
= 0 ;
4592 char * kwnames
[] = {
4593 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4598 if (!SWIG_IsOK(res1
)) {
4599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4601 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4602 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4603 if (!SWIG_IsOK(ecode2
)) {
4604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4606 arg2
= static_cast< byte
>(val2
);
4607 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4608 if (!SWIG_IsOK(ecode3
)) {
4609 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4611 arg3
= static_cast< byte
>(val3
);
4612 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4613 if (!SWIG_IsOK(ecode4
)) {
4614 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4616 arg4
= static_cast< byte
>(val4
);
4618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4619 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4620 wxPyEndAllowThreads(__tstate
);
4621 if (PyErr_Occurred()) SWIG_fail
;
4623 resultobj
= SWIG_From_int(static_cast< int >(result
));
4630 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4631 PyObject
*resultobj
= 0;
4632 wxPalette
*arg1
= (wxPalette
*) 0 ;
4634 byte
*arg3
= (byte
*) 0 ;
4635 byte
*arg4
= (byte
*) 0 ;
4636 byte
*arg5
= (byte
*) 0 ;
4643 int res3
= SWIG_TMPOBJ
;
4645 int res4
= SWIG_TMPOBJ
;
4647 int res5
= SWIG_TMPOBJ
;
4648 PyObject
* obj0
= 0 ;
4649 PyObject
* obj1
= 0 ;
4650 char * kwnames
[] = {
4651 (char *) "self",(char *) "pixel", NULL
4657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4659 if (!SWIG_IsOK(res1
)) {
4660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4662 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4663 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4664 if (!SWIG_IsOK(ecode2
)) {
4665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4667 arg2
= static_cast< int >(val2
);
4669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4670 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4671 wxPyEndAllowThreads(__tstate
);
4672 if (PyErr_Occurred()) SWIG_fail
;
4675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4677 if (SWIG_IsTmpObj(res3
)) {
4678 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4680 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4681 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4683 if (SWIG_IsTmpObj(res4
)) {
4684 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4686 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4687 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4689 if (SWIG_IsTmpObj(res5
)) {
4690 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4692 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4693 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4701 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4702 PyObject
*resultobj
= 0;
4703 wxPalette
*arg1
= (wxPalette
*) 0 ;
4707 PyObject
*swig_obj
[1] ;
4709 if (!args
) SWIG_fail
;
4711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4712 if (!SWIG_IsOK(res1
)) {
4713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4715 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4718 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4719 wxPyEndAllowThreads(__tstate
);
4720 if (PyErr_Occurred()) SWIG_fail
;
4722 resultobj
= SWIG_From_int(static_cast< int >(result
));
4729 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4730 PyObject
*resultobj
= 0;
4731 wxPalette
*arg1
= (wxPalette
*) 0 ;
4735 PyObject
*swig_obj
[1] ;
4737 if (!args
) SWIG_fail
;
4739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4740 if (!SWIG_IsOK(res1
)) {
4741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
4743 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4746 result
= (bool)(arg1
)->IsOk();
4747 wxPyEndAllowThreads(__tstate
);
4748 if (PyErr_Occurred()) SWIG_fail
;
4751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4759 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4761 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4762 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4763 return SWIG_Py_Void();
4766 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4767 return SWIG_Python_InitShadowInstance(args
);
4770 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4771 PyObject
*resultobj
= 0;
4772 wxColour
*arg1
= 0 ;
4773 int arg2
= (int) 1 ;
4774 int arg3
= (int) wxSOLID
;
4781 PyObject
* obj0
= 0 ;
4782 PyObject
* obj1
= 0 ;
4783 PyObject
* obj2
= 0 ;
4784 char * kwnames
[] = {
4785 (char *) "colour",(char *) "width",(char *) "style", NULL
4788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4791 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4794 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4795 if (!SWIG_IsOK(ecode2
)) {
4796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4798 arg2
= static_cast< int >(val2
);
4801 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4802 if (!SWIG_IsOK(ecode3
)) {
4803 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4805 arg3
= static_cast< int >(val3
);
4808 if (!wxPyCheckForApp()) SWIG_fail
;
4809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4810 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4811 wxPyEndAllowThreads(__tstate
);
4812 if (PyErr_Occurred()) SWIG_fail
;
4814 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4821 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4822 PyObject
*resultobj
= 0;
4823 wxPen
*arg1
= (wxPen
*) 0 ;
4826 PyObject
*swig_obj
[1] ;
4828 if (!args
) SWIG_fail
;
4830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4831 if (!SWIG_IsOK(res1
)) {
4832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4834 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4839 wxPyEndAllowThreads(__tstate
);
4840 if (PyErr_Occurred()) SWIG_fail
;
4842 resultobj
= SWIG_Py_Void();
4849 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4850 PyObject
*resultobj
= 0;
4851 wxPen
*arg1
= (wxPen
*) 0 ;
4855 PyObject
*swig_obj
[1] ;
4857 if (!args
) SWIG_fail
;
4859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4860 if (!SWIG_IsOK(res1
)) {
4861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4863 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4866 result
= (int)(arg1
)->GetCap();
4867 wxPyEndAllowThreads(__tstate
);
4868 if (PyErr_Occurred()) SWIG_fail
;
4870 resultobj
= SWIG_From_int(static_cast< int >(result
));
4877 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4878 PyObject
*resultobj
= 0;
4879 wxPen
*arg1
= (wxPen
*) 0 ;
4883 PyObject
*swig_obj
[1] ;
4885 if (!args
) SWIG_fail
;
4887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4888 if (!SWIG_IsOK(res1
)) {
4889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4891 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4894 result
= (arg1
)->GetColour();
4895 wxPyEndAllowThreads(__tstate
);
4896 if (PyErr_Occurred()) SWIG_fail
;
4898 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4905 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4906 PyObject
*resultobj
= 0;
4907 wxPen
*arg1
= (wxPen
*) 0 ;
4911 PyObject
*swig_obj
[1] ;
4913 if (!args
) SWIG_fail
;
4915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4916 if (!SWIG_IsOK(res1
)) {
4917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4919 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4922 result
= (int)(arg1
)->GetJoin();
4923 wxPyEndAllowThreads(__tstate
);
4924 if (PyErr_Occurred()) SWIG_fail
;
4926 resultobj
= SWIG_From_int(static_cast< int >(result
));
4933 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4934 PyObject
*resultobj
= 0;
4935 wxPen
*arg1
= (wxPen
*) 0 ;
4939 PyObject
*swig_obj
[1] ;
4941 if (!args
) SWIG_fail
;
4943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4944 if (!SWIG_IsOK(res1
)) {
4945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4947 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4950 result
= (int)(arg1
)->GetStyle();
4951 wxPyEndAllowThreads(__tstate
);
4952 if (PyErr_Occurred()) SWIG_fail
;
4954 resultobj
= SWIG_From_int(static_cast< int >(result
));
4961 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4962 PyObject
*resultobj
= 0;
4963 wxPen
*arg1
= (wxPen
*) 0 ;
4967 PyObject
*swig_obj
[1] ;
4969 if (!args
) SWIG_fail
;
4971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4972 if (!SWIG_IsOK(res1
)) {
4973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4975 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4978 result
= (int)(arg1
)->GetWidth();
4979 wxPyEndAllowThreads(__tstate
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4982 resultobj
= SWIG_From_int(static_cast< int >(result
));
4989 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4990 PyObject
*resultobj
= 0;
4991 wxPen
*arg1
= (wxPen
*) 0 ;
4995 PyObject
*swig_obj
[1] ;
4997 if (!args
) SWIG_fail
;
4999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5000 if (!SWIG_IsOK(res1
)) {
5001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5003 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5006 result
= (bool)(arg1
)->IsOk();
5007 wxPyEndAllowThreads(__tstate
);
5008 if (PyErr_Occurred()) SWIG_fail
;
5011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5019 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5020 PyObject
*resultobj
= 0;
5021 wxPen
*arg1
= (wxPen
*) 0 ;
5027 PyObject
* obj0
= 0 ;
5028 PyObject
* obj1
= 0 ;
5029 char * kwnames
[] = {
5030 (char *) "self",(char *) "cap_style", NULL
5033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5035 if (!SWIG_IsOK(res1
)) {
5036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5038 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5039 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5040 if (!SWIG_IsOK(ecode2
)) {
5041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5043 arg2
= static_cast< int >(val2
);
5045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5046 (arg1
)->SetCap(arg2
);
5047 wxPyEndAllowThreads(__tstate
);
5048 if (PyErr_Occurred()) SWIG_fail
;
5050 resultobj
= SWIG_Py_Void();
5057 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5058 PyObject
*resultobj
= 0;
5059 wxPen
*arg1
= (wxPen
*) 0 ;
5060 wxColour
*arg2
= 0 ;
5064 PyObject
* obj0
= 0 ;
5065 PyObject
* obj1
= 0 ;
5066 char * kwnames
[] = {
5067 (char *) "self",(char *) "colour", NULL
5070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5072 if (!SWIG_IsOK(res1
)) {
5073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5075 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5078 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5082 (arg1
)->SetColour(*arg2
);
5083 wxPyEndAllowThreads(__tstate
);
5084 if (PyErr_Occurred()) SWIG_fail
;
5086 resultobj
= SWIG_Py_Void();
5093 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5094 PyObject
*resultobj
= 0;
5095 wxPen
*arg1
= (wxPen
*) 0 ;
5101 PyObject
* obj0
= 0 ;
5102 PyObject
* obj1
= 0 ;
5103 char * kwnames
[] = {
5104 (char *) "self",(char *) "join_style", NULL
5107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5109 if (!SWIG_IsOK(res1
)) {
5110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5112 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5113 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5114 if (!SWIG_IsOK(ecode2
)) {
5115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5117 arg2
= static_cast< int >(val2
);
5119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5120 (arg1
)->SetJoin(arg2
);
5121 wxPyEndAllowThreads(__tstate
);
5122 if (PyErr_Occurred()) SWIG_fail
;
5124 resultobj
= SWIG_Py_Void();
5131 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5132 PyObject
*resultobj
= 0;
5133 wxPen
*arg1
= (wxPen
*) 0 ;
5139 PyObject
* obj0
= 0 ;
5140 PyObject
* obj1
= 0 ;
5141 char * kwnames
[] = {
5142 (char *) "self",(char *) "style", NULL
5145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5147 if (!SWIG_IsOK(res1
)) {
5148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5150 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5152 if (!SWIG_IsOK(ecode2
)) {
5153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5155 arg2
= static_cast< int >(val2
);
5157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5158 (arg1
)->SetStyle(arg2
);
5159 wxPyEndAllowThreads(__tstate
);
5160 if (PyErr_Occurred()) SWIG_fail
;
5162 resultobj
= SWIG_Py_Void();
5169 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5170 PyObject
*resultobj
= 0;
5171 wxPen
*arg1
= (wxPen
*) 0 ;
5177 PyObject
* obj0
= 0 ;
5178 PyObject
* obj1
= 0 ;
5179 char * kwnames
[] = {
5180 (char *) "self",(char *) "width", NULL
5183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5185 if (!SWIG_IsOK(res1
)) {
5186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5188 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5189 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5190 if (!SWIG_IsOK(ecode2
)) {
5191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5193 arg2
= static_cast< int >(val2
);
5195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5196 (arg1
)->SetWidth(arg2
);
5197 wxPyEndAllowThreads(__tstate
);
5198 if (PyErr_Occurred()) SWIG_fail
;
5200 resultobj
= SWIG_Py_Void();
5207 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5208 PyObject
*resultobj
= 0;
5209 wxPen
*arg1
= (wxPen
*) 0 ;
5211 wxDash
*arg3
= (wxDash
*) 0 ;
5214 PyObject
* obj0
= 0 ;
5215 PyObject
* obj1
= 0 ;
5216 char * kwnames
[] = {
5217 (char *) "self",(char *) "dashes", NULL
5220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5222 if (!SWIG_IsOK(res1
)) {
5223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5225 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5227 arg2
= PyList_Size(obj1
);
5228 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5229 if (arg3
== NULL
) SWIG_fail
;
5232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5233 (arg1
)->SetDashes(arg2
,arg3
);
5234 wxPyEndAllowThreads(__tstate
);
5235 if (PyErr_Occurred()) SWIG_fail
;
5237 resultobj
= SWIG_Py_Void();
5239 if (arg3
) delete [] arg3
;
5244 if (arg3
) delete [] arg3
;
5250 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5251 PyObject
*resultobj
= 0;
5252 wxPen
*arg1
= (wxPen
*) 0 ;
5253 PyObject
*result
= 0 ;
5256 PyObject
*swig_obj
[1] ;
5258 if (!args
) SWIG_fail
;
5260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5261 if (!SWIG_IsOK(res1
)) {
5262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5264 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5267 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5268 wxPyEndAllowThreads(__tstate
);
5269 if (PyErr_Occurred()) SWIG_fail
;
5278 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5279 PyObject
*resultobj
= 0;
5280 wxPen
*arg1
= (wxPen
*) 0 ;
5281 PyObject
*arg2
= (PyObject
*) 0 ;
5282 PyObject
*arg3
= (PyObject
*) 0 ;
5285 PyObject
* obj0
= 0 ;
5286 PyObject
* obj1
= 0 ;
5287 PyObject
* obj2
= 0 ;
5288 char * kwnames
[] = {
5289 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5294 if (!SWIG_IsOK(res1
)) {
5295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5297 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5302 wxPen__SetDashes(arg1
,arg2
,arg3
);
5303 wxPyEndAllowThreads(__tstate
);
5304 if (PyErr_Occurred()) SWIG_fail
;
5306 resultobj
= SWIG_Py_Void();
5313 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5314 PyObject
*resultobj
= 0;
5315 wxPen
*arg1
= (wxPen
*) 0 ;
5316 wxPen
*arg2
= (wxPen
*) 0 ;
5322 PyObject
* obj0
= 0 ;
5323 PyObject
* obj1
= 0 ;
5324 char * kwnames
[] = {
5325 (char *) "self",(char *) "other", NULL
5328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5330 if (!SWIG_IsOK(res1
)) {
5331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5333 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5334 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5335 if (!SWIG_IsOK(res2
)) {
5336 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5338 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5341 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5342 wxPyEndAllowThreads(__tstate
);
5343 if (PyErr_Occurred()) SWIG_fail
;
5346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5354 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5355 PyObject
*resultobj
= 0;
5356 wxPen
*arg1
= (wxPen
*) 0 ;
5357 wxPen
*arg2
= (wxPen
*) 0 ;
5363 PyObject
* obj0
= 0 ;
5364 PyObject
* obj1
= 0 ;
5365 char * kwnames
[] = {
5366 (char *) "self",(char *) "other", NULL
5369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5371 if (!SWIG_IsOK(res1
)) {
5372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5374 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5375 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5376 if (!SWIG_IsOK(res2
)) {
5377 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5379 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5382 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5383 wxPyEndAllowThreads(__tstate
);
5384 if (PyErr_Occurred()) SWIG_fail
;
5387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5395 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5397 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5398 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5399 return SWIG_Py_Void();
5402 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5403 return SWIG_Python_InitShadowInstance(args
);
5406 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5407 PyObject
*resultobj
= 0;
5408 wxColour
*arg1
= 0 ;
5409 int arg2
= (int) wxSOLID
;
5410 wxBrush
*result
= 0 ;
5414 PyObject
* obj0
= 0 ;
5415 PyObject
* obj1
= 0 ;
5416 char * kwnames
[] = {
5417 (char *) "colour",(char *) "style", NULL
5420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5423 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5426 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5427 if (!SWIG_IsOK(ecode2
)) {
5428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5430 arg2
= static_cast< int >(val2
);
5433 if (!wxPyCheckForApp()) SWIG_fail
;
5434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5435 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5436 wxPyEndAllowThreads(__tstate
);
5437 if (PyErr_Occurred()) SWIG_fail
;
5439 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5446 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5447 PyObject
*resultobj
= 0;
5448 wxBitmap
*arg1
= 0 ;
5449 wxBrush
*result
= 0 ;
5452 PyObject
* obj0
= 0 ;
5453 char * kwnames
[] = {
5454 (char *) "stippleBitmap", NULL
5457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5458 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5459 if (!SWIG_IsOK(res1
)) {
5460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5463 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5465 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5467 if (!wxPyCheckForApp()) SWIG_fail
;
5468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5469 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5470 wxPyEndAllowThreads(__tstate
);
5471 if (PyErr_Occurred()) SWIG_fail
;
5473 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5480 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5481 PyObject
*resultobj
= 0;
5482 wxBrush
*arg1
= (wxBrush
*) 0 ;
5485 PyObject
*swig_obj
[1] ;
5487 if (!args
) SWIG_fail
;
5489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5490 if (!SWIG_IsOK(res1
)) {
5491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5493 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5498 wxPyEndAllowThreads(__tstate
);
5499 if (PyErr_Occurred()) SWIG_fail
;
5501 resultobj
= SWIG_Py_Void();
5508 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5509 PyObject
*resultobj
= 0;
5510 wxBrush
*arg1
= (wxBrush
*) 0 ;
5511 wxColour
*arg2
= 0 ;
5515 PyObject
* obj0
= 0 ;
5516 PyObject
* obj1
= 0 ;
5517 char * kwnames
[] = {
5518 (char *) "self",(char *) "col", NULL
5521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5523 if (!SWIG_IsOK(res1
)) {
5524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5526 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5529 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5533 (arg1
)->SetColour((wxColour
const &)*arg2
);
5534 wxPyEndAllowThreads(__tstate
);
5535 if (PyErr_Occurred()) SWIG_fail
;
5537 resultobj
= SWIG_Py_Void();
5544 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5545 PyObject
*resultobj
= 0;
5546 wxBrush
*arg1
= (wxBrush
*) 0 ;
5552 PyObject
* obj0
= 0 ;
5553 PyObject
* obj1
= 0 ;
5554 char * kwnames
[] = {
5555 (char *) "self",(char *) "style", NULL
5558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5560 if (!SWIG_IsOK(res1
)) {
5561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5563 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5564 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5565 if (!SWIG_IsOK(ecode2
)) {
5566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5568 arg2
= static_cast< int >(val2
);
5570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5571 (arg1
)->SetStyle(arg2
);
5572 wxPyEndAllowThreads(__tstate
);
5573 if (PyErr_Occurred()) SWIG_fail
;
5575 resultobj
= SWIG_Py_Void();
5582 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5583 PyObject
*resultobj
= 0;
5584 wxBrush
*arg1
= (wxBrush
*) 0 ;
5585 wxBitmap
*arg2
= 0 ;
5590 PyObject
* obj0
= 0 ;
5591 PyObject
* obj1
= 0 ;
5592 char * kwnames
[] = {
5593 (char *) "self",(char *) "stipple", NULL
5596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5598 if (!SWIG_IsOK(res1
)) {
5599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5601 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5602 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5603 if (!SWIG_IsOK(res2
)) {
5604 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5607 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5609 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5612 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5613 wxPyEndAllowThreads(__tstate
);
5614 if (PyErr_Occurred()) SWIG_fail
;
5616 resultobj
= SWIG_Py_Void();
5623 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5624 PyObject
*resultobj
= 0;
5625 wxBrush
*arg1
= (wxBrush
*) 0 ;
5629 PyObject
*swig_obj
[1] ;
5631 if (!args
) SWIG_fail
;
5633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5634 if (!SWIG_IsOK(res1
)) {
5635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5637 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5640 result
= ((wxBrush
const *)arg1
)->GetColour();
5641 wxPyEndAllowThreads(__tstate
);
5642 if (PyErr_Occurred()) SWIG_fail
;
5644 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5651 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5652 PyObject
*resultobj
= 0;
5653 wxBrush
*arg1
= (wxBrush
*) 0 ;
5657 PyObject
*swig_obj
[1] ;
5659 if (!args
) SWIG_fail
;
5661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5662 if (!SWIG_IsOK(res1
)) {
5663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5665 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5668 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5669 wxPyEndAllowThreads(__tstate
);
5670 if (PyErr_Occurred()) SWIG_fail
;
5672 resultobj
= SWIG_From_int(static_cast< int >(result
));
5679 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5680 PyObject
*resultobj
= 0;
5681 wxBrush
*arg1
= (wxBrush
*) 0 ;
5682 wxBitmap
*result
= 0 ;
5685 PyObject
*swig_obj
[1] ;
5687 if (!args
) SWIG_fail
;
5689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5690 if (!SWIG_IsOK(res1
)) {
5691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5693 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5696 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5697 wxPyEndAllowThreads(__tstate
);
5698 if (PyErr_Occurred()) SWIG_fail
;
5700 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5707 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5708 PyObject
*resultobj
= 0;
5709 wxBrush
*arg1
= (wxBrush
*) 0 ;
5713 PyObject
*swig_obj
[1] ;
5715 if (!args
) SWIG_fail
;
5717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5718 if (!SWIG_IsOK(res1
)) {
5719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5721 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5724 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5725 wxPyEndAllowThreads(__tstate
);
5726 if (PyErr_Occurred()) SWIG_fail
;
5729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5737 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5738 PyObject
*resultobj
= 0;
5739 wxBrush
*arg1
= (wxBrush
*) 0 ;
5743 PyObject
*swig_obj
[1] ;
5745 if (!args
) SWIG_fail
;
5747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5748 if (!SWIG_IsOK(res1
)) {
5749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
5751 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5754 result
= (bool)(arg1
)->IsOk();
5755 wxPyEndAllowThreads(__tstate
);
5756 if (PyErr_Occurred()) SWIG_fail
;
5759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5767 SWIGINTERN PyObject
*_wrap_Brush_MacGetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5768 PyObject
*resultobj
= 0;
5769 wxBrush
*arg1
= (wxBrush
*) 0 ;
5773 PyObject
*swig_obj
[1] ;
5775 if (!args
) SWIG_fail
;
5777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5778 if (!SWIG_IsOK(res1
)) {
5779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacGetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
5781 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5784 result
= (short)(arg1
)->MacGetTheme();
5785 wxPyEndAllowThreads(__tstate
);
5786 if (PyErr_Occurred()) SWIG_fail
;
5788 resultobj
= SWIG_From_short(static_cast< short >(result
));
5795 SWIGINTERN PyObject
*_wrap_Brush_MacSetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5796 PyObject
*resultobj
= 0;
5797 wxBrush
*arg1
= (wxBrush
*) 0 ;
5803 PyObject
* obj0
= 0 ;
5804 PyObject
* obj1
= 0 ;
5805 char * kwnames
[] = {
5806 (char *) "self",(char *) "macThemeBrush", NULL
5809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5811 if (!SWIG_IsOK(res1
)) {
5812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacSetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
5814 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5815 ecode2
= SWIG_AsVal_short(obj1
, &val2
);
5816 if (!SWIG_IsOK(ecode2
)) {
5817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_MacSetTheme" "', expected argument " "2"" of type '" "short""'");
5819 arg2
= static_cast< short >(val2
);
5821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5822 (arg1
)->MacSetTheme(arg2
);
5823 wxPyEndAllowThreads(__tstate
);
5824 if (PyErr_Occurred()) SWIG_fail
;
5826 resultobj
= SWIG_Py_Void();
5833 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5835 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5836 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5837 return SWIG_Py_Void();
5840 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5841 return SWIG_Python_InitShadowInstance(args
);
5844 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5845 PyObject
*resultobj
= 0;
5846 wxString
*arg1
= 0 ;
5847 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5848 wxBitmap
*result
= 0 ;
5849 bool temp1
= false ;
5852 PyObject
* obj0
= 0 ;
5853 PyObject
* obj1
= 0 ;
5854 char * kwnames
[] = {
5855 (char *) "name",(char *) "type", NULL
5858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5860 arg1
= wxString_in_helper(obj0
);
5861 if (arg1
== NULL
) SWIG_fail
;
5865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5866 if (!SWIG_IsOK(ecode2
)) {
5867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5869 arg2
= static_cast< wxBitmapType
>(val2
);
5872 if (!wxPyCheckForApp()) SWIG_fail
;
5873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5874 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5875 wxPyEndAllowThreads(__tstate
);
5876 if (PyErr_Occurred()) SWIG_fail
;
5878 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5893 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5894 PyObject
*resultobj
= 0;
5895 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5898 PyObject
*swig_obj
[1] ;
5900 if (!args
) SWIG_fail
;
5902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5903 if (!SWIG_IsOK(res1
)) {
5904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5906 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5910 if (PyErr_Occurred()) SWIG_fail
;
5912 resultobj
= SWIG_Py_Void();
5919 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5920 PyObject
*resultobj
= 0;
5923 int arg3
= (int) -1 ;
5924 wxBitmap
*result
= 0 ;
5931 PyObject
* obj0
= 0 ;
5932 PyObject
* obj1
= 0 ;
5933 PyObject
* obj2
= 0 ;
5934 char * kwnames
[] = {
5935 (char *) "width",(char *) "height",(char *) "depth", NULL
5938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5939 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5940 if (!SWIG_IsOK(ecode1
)) {
5941 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5943 arg1
= static_cast< int >(val1
);
5944 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5945 if (!SWIG_IsOK(ecode2
)) {
5946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5948 arg2
= static_cast< int >(val2
);
5950 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5951 if (!SWIG_IsOK(ecode3
)) {
5952 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5954 arg3
= static_cast< int >(val3
);
5957 if (!wxPyCheckForApp()) SWIG_fail
;
5958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5959 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5960 wxPyEndAllowThreads(__tstate
);
5961 if (PyErr_Occurred()) SWIG_fail
;
5963 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5970 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5971 PyObject
*resultobj
= 0;
5973 wxBitmap
*result
= 0 ;
5976 PyObject
* obj0
= 0 ;
5977 char * kwnames
[] = {
5978 (char *) "icon", NULL
5981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5982 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5983 if (!SWIG_IsOK(res1
)) {
5984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5987 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5989 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
5991 if (!wxPyCheckForApp()) SWIG_fail
;
5992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5993 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
5994 wxPyEndAllowThreads(__tstate
);
5995 if (PyErr_Occurred()) SWIG_fail
;
5997 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6004 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6005 PyObject
*resultobj
= 0;
6007 int arg2
= (int) -1 ;
6008 wxBitmap
*result
= 0 ;
6013 PyObject
* obj0
= 0 ;
6014 PyObject
* obj1
= 0 ;
6015 char * kwnames
[] = {
6016 (char *) "image",(char *) "depth", NULL
6019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6020 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6021 if (!SWIG_IsOK(res1
)) {
6022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6025 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6027 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6029 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6030 if (!SWIG_IsOK(ecode2
)) {
6031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6033 arg2
= static_cast< int >(val2
);
6036 if (!wxPyCheckForApp()) SWIG_fail
;
6037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6038 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6039 wxPyEndAllowThreads(__tstate
);
6040 if (PyErr_Occurred()) SWIG_fail
;
6042 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6049 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6050 PyObject
*resultobj
= 0;
6051 PyObject
*arg1
= (PyObject
*) 0 ;
6052 wxBitmap
*result
= 0 ;
6053 PyObject
* obj0
= 0 ;
6054 char * kwnames
[] = {
6055 (char *) "listOfStrings", NULL
6058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6061 if (!wxPyCheckForApp()) SWIG_fail
;
6062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6063 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6064 wxPyEndAllowThreads(__tstate
);
6065 if (PyErr_Occurred()) SWIG_fail
;
6067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6074 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6075 PyObject
*resultobj
= 0;
6076 PyObject
*arg1
= (PyObject
*) 0 ;
6079 int arg4
= (int) 1 ;
6080 wxBitmap
*result
= 0 ;
6087 PyObject
* obj0
= 0 ;
6088 PyObject
* obj1
= 0 ;
6089 PyObject
* obj2
= 0 ;
6090 PyObject
* obj3
= 0 ;
6091 char * kwnames
[] = {
6092 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6097 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6098 if (!SWIG_IsOK(ecode2
)) {
6099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6101 arg2
= static_cast< int >(val2
);
6102 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6103 if (!SWIG_IsOK(ecode3
)) {
6104 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6106 arg3
= static_cast< int >(val3
);
6108 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6109 if (!SWIG_IsOK(ecode4
)) {
6110 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6112 arg4
= static_cast< int >(val4
);
6115 if (!wxPyCheckForApp()) SWIG_fail
;
6116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6117 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6118 wxPyEndAllowThreads(__tstate
);
6119 if (PyErr_Occurred()) SWIG_fail
;
6121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6128 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6129 PyObject
*resultobj
= 0;
6130 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6134 PyObject
*swig_obj
[1] ;
6136 if (!args
) SWIG_fail
;
6138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6139 if (!SWIG_IsOK(res1
)) {
6140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6142 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6144 result
= (bool)(arg1
)->IsOk();
6145 if (PyErr_Occurred()) SWIG_fail
;
6148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6156 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6157 PyObject
*resultobj
= 0;
6158 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6162 PyObject
*swig_obj
[1] ;
6164 if (!args
) SWIG_fail
;
6166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6167 if (!SWIG_IsOK(res1
)) {
6168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6170 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6172 result
= (int)(arg1
)->GetWidth();
6173 if (PyErr_Occurred()) SWIG_fail
;
6175 resultobj
= SWIG_From_int(static_cast< int >(result
));
6182 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6183 PyObject
*resultobj
= 0;
6184 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6188 PyObject
*swig_obj
[1] ;
6190 if (!args
) SWIG_fail
;
6192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6193 if (!SWIG_IsOK(res1
)) {
6194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6196 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6198 result
= (int)(arg1
)->GetHeight();
6199 if (PyErr_Occurred()) SWIG_fail
;
6201 resultobj
= SWIG_From_int(static_cast< int >(result
));
6208 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6209 PyObject
*resultobj
= 0;
6210 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6214 PyObject
*swig_obj
[1] ;
6216 if (!args
) SWIG_fail
;
6218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6219 if (!SWIG_IsOK(res1
)) {
6220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6222 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6224 result
= (int)(arg1
)->GetDepth();
6225 if (PyErr_Occurred()) SWIG_fail
;
6227 resultobj
= SWIG_From_int(static_cast< int >(result
));
6234 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6235 PyObject
*resultobj
= 0;
6236 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6240 PyObject
*swig_obj
[1] ;
6242 if (!args
) SWIG_fail
;
6244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6245 if (!SWIG_IsOK(res1
)) {
6246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6248 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6250 result
= wxBitmap_GetSize(arg1
);
6251 if (PyErr_Occurred()) SWIG_fail
;
6253 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6260 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6261 PyObject
*resultobj
= 0;
6262 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6263 SwigValueWrapper
<wxImage
> result
;
6266 PyObject
*swig_obj
[1] ;
6268 if (!args
) SWIG_fail
;
6270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6271 if (!SWIG_IsOK(res1
)) {
6272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6274 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6276 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6277 if (PyErr_Occurred()) SWIG_fail
;
6279 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6286 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6287 PyObject
*resultobj
= 0;
6288 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6289 wxMask
*result
= 0 ;
6292 PyObject
*swig_obj
[1] ;
6294 if (!args
) SWIG_fail
;
6296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6297 if (!SWIG_IsOK(res1
)) {
6298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6300 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6302 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6303 if (PyErr_Occurred()) SWIG_fail
;
6305 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6312 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6313 PyObject
*resultobj
= 0;
6314 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6315 wxMask
*arg2
= (wxMask
*) 0 ;
6319 PyObject
* obj0
= 0 ;
6320 PyObject
* obj1
= 0 ;
6321 char * kwnames
[] = {
6322 (char *) "self",(char *) "mask", NULL
6325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6327 if (!SWIG_IsOK(res1
)) {
6328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6330 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6331 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6332 if (!SWIG_IsOK(res2
)) {
6333 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6336 (arg1
)->SetMask(arg2
);
6337 if (PyErr_Occurred()) SWIG_fail
;
6339 resultobj
= SWIG_Py_Void();
6346 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6347 PyObject
*resultobj
= 0;
6348 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6349 wxColour
*arg2
= 0 ;
6353 PyObject
* obj0
= 0 ;
6354 PyObject
* obj1
= 0 ;
6355 char * kwnames
[] = {
6356 (char *) "self",(char *) "colour", NULL
6359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6361 if (!SWIG_IsOK(res1
)) {
6362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6364 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6367 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6370 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6371 if (PyErr_Occurred()) SWIG_fail
;
6373 resultobj
= SWIG_Py_Void();
6380 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6381 PyObject
*resultobj
= 0;
6382 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6384 SwigValueWrapper
<wxBitmap
> result
;
6388 PyObject
* obj0
= 0 ;
6389 PyObject
* obj1
= 0 ;
6390 char * kwnames
[] = {
6391 (char *) "self",(char *) "rect", NULL
6394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6396 if (!SWIG_IsOK(res1
)) {
6397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6399 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6402 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6405 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6406 if (PyErr_Occurred()) SWIG_fail
;
6408 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6415 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6416 PyObject
*resultobj
= 0;
6417 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6418 wxString
*arg2
= 0 ;
6420 wxPalette
*arg4
= (wxPalette
*) NULL
;
6424 bool temp2
= false ;
6429 PyObject
* obj0
= 0 ;
6430 PyObject
* obj1
= 0 ;
6431 PyObject
* obj2
= 0 ;
6432 PyObject
* obj3
= 0 ;
6433 char * kwnames
[] = {
6434 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6439 if (!SWIG_IsOK(res1
)) {
6440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6442 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6444 arg2
= wxString_in_helper(obj1
);
6445 if (arg2
== NULL
) SWIG_fail
;
6448 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6449 if (!SWIG_IsOK(ecode3
)) {
6450 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6452 arg3
= static_cast< wxBitmapType
>(val3
);
6454 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6455 if (!SWIG_IsOK(res4
)) {
6456 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6458 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6461 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6462 if (PyErr_Occurred()) SWIG_fail
;
6465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6481 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6482 PyObject
*resultobj
= 0;
6483 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6484 wxString
*arg2
= 0 ;
6489 bool temp2
= false ;
6492 PyObject
* obj0
= 0 ;
6493 PyObject
* obj1
= 0 ;
6494 PyObject
* obj2
= 0 ;
6495 char * kwnames
[] = {
6496 (char *) "self",(char *) "name",(char *) "type", NULL
6499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6501 if (!SWIG_IsOK(res1
)) {
6502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6504 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6506 arg2
= wxString_in_helper(obj1
);
6507 if (arg2
== NULL
) SWIG_fail
;
6510 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6511 if (!SWIG_IsOK(ecode3
)) {
6512 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6514 arg3
= static_cast< wxBitmapType
>(val3
);
6516 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6517 if (PyErr_Occurred()) SWIG_fail
;
6520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6536 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6537 PyObject
*resultobj
= 0;
6538 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6539 wxPalette
*result
= 0 ;
6542 PyObject
*swig_obj
[1] ;
6544 if (!args
) SWIG_fail
;
6546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6547 if (!SWIG_IsOK(res1
)) {
6548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6550 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6552 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6553 if (PyErr_Occurred()) SWIG_fail
;
6555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6562 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6563 PyObject
*resultobj
= 0;
6564 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6571 PyObject
* obj0
= 0 ;
6572 PyObject
* obj1
= 0 ;
6573 char * kwnames
[] = {
6574 (char *) "self",(char *) "icon", NULL
6577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6579 if (!SWIG_IsOK(res1
)) {
6580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6582 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6583 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6584 if (!SWIG_IsOK(res2
)) {
6585 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6588 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6590 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6592 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6593 if (PyErr_Occurred()) SWIG_fail
;
6596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6604 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6605 PyObject
*resultobj
= 0;
6606 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6612 PyObject
* obj0
= 0 ;
6613 PyObject
* obj1
= 0 ;
6614 char * kwnames
[] = {
6615 (char *) "self",(char *) "height", NULL
6618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6620 if (!SWIG_IsOK(res1
)) {
6621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6623 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6624 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6625 if (!SWIG_IsOK(ecode2
)) {
6626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6628 arg2
= static_cast< int >(val2
);
6630 (arg1
)->SetHeight(arg2
);
6631 if (PyErr_Occurred()) SWIG_fail
;
6633 resultobj
= SWIG_Py_Void();
6640 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6641 PyObject
*resultobj
= 0;
6642 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6648 PyObject
* obj0
= 0 ;
6649 PyObject
* obj1
= 0 ;
6650 char * kwnames
[] = {
6651 (char *) "self",(char *) "width", NULL
6654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6656 if (!SWIG_IsOK(res1
)) {
6657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6659 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6660 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6661 if (!SWIG_IsOK(ecode2
)) {
6662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6664 arg2
= static_cast< int >(val2
);
6666 (arg1
)->SetWidth(arg2
);
6667 if (PyErr_Occurred()) SWIG_fail
;
6669 resultobj
= SWIG_Py_Void();
6676 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6677 PyObject
*resultobj
= 0;
6678 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6684 PyObject
* obj0
= 0 ;
6685 PyObject
* obj1
= 0 ;
6686 char * kwnames
[] = {
6687 (char *) "self",(char *) "depth", NULL
6690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6692 if (!SWIG_IsOK(res1
)) {
6693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6695 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6696 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6697 if (!SWIG_IsOK(ecode2
)) {
6698 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6700 arg2
= static_cast< int >(val2
);
6702 (arg1
)->SetDepth(arg2
);
6703 if (PyErr_Occurred()) SWIG_fail
;
6705 resultobj
= SWIG_Py_Void();
6712 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6713 PyObject
*resultobj
= 0;
6714 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6719 PyObject
* obj0
= 0 ;
6720 PyObject
* obj1
= 0 ;
6721 char * kwnames
[] = {
6722 (char *) "self",(char *) "size", NULL
6725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6727 if (!SWIG_IsOK(res1
)) {
6728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6730 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6733 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6736 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6737 if (PyErr_Occurred()) SWIG_fail
;
6739 resultobj
= SWIG_Py_Void();
6746 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6747 PyObject
*resultobj
= 0;
6748 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6749 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6755 PyObject
* obj0
= 0 ;
6756 PyObject
* obj1
= 0 ;
6757 char * kwnames
[] = {
6758 (char *) "self",(char *) "other", NULL
6761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6763 if (!SWIG_IsOK(res1
)) {
6764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6766 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6767 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6768 if (!SWIG_IsOK(res2
)) {
6769 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6771 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6773 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6774 if (PyErr_Occurred()) SWIG_fail
;
6777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6785 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6786 PyObject
*resultobj
= 0;
6787 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6788 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6794 PyObject
* obj0
= 0 ;
6795 PyObject
* obj1
= 0 ;
6796 char * kwnames
[] = {
6797 (char *) "self",(char *) "other", NULL
6800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6802 if (!SWIG_IsOK(res1
)) {
6803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6805 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6806 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6807 if (!SWIG_IsOK(res2
)) {
6808 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6810 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6812 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6813 if (PyErr_Occurred()) SWIG_fail
;
6816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6824 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6826 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6827 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6828 return SWIG_Py_Void();
6831 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6832 return SWIG_Python_InitShadowInstance(args
);
6835 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6836 PyObject
*resultobj
= 0;
6843 wxBitmap
*result
= 0 ;
6850 PyObject
* obj0
= 0 ;
6851 PyObject
* obj1
= 0 ;
6852 PyObject
* obj2
= 0 ;
6853 PyObject
* obj3
= 0 ;
6854 char * kwnames
[] = {
6855 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
6858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6859 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6860 if (!SWIG_IsOK(ecode1
)) {
6861 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
6863 arg1
= static_cast< int >(val1
);
6864 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6865 if (!SWIG_IsOK(ecode2
)) {
6866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
6868 arg2
= static_cast< int >(val2
);
6870 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6874 if (obj3
!= Py_None
) {
6875 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
6880 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
6881 if (PyErr_Occurred()) SWIG_fail
;
6883 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6890 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6891 PyObject
*resultobj
= 0;
6896 wxBitmap
*result
= 0 ;
6902 PyObject
* obj0
= 0 ;
6903 PyObject
* obj1
= 0 ;
6904 PyObject
* obj2
= 0 ;
6905 char * kwnames
[] = {
6906 (char *) "width",(char *) "height",(char *) "data", NULL
6909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6910 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6911 if (!SWIG_IsOK(ecode1
)) {
6912 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
6914 arg1
= static_cast< int >(val1
);
6915 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6916 if (!SWIG_IsOK(ecode2
)) {
6917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
6919 arg2
= static_cast< int >(val2
);
6921 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6925 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
6926 if (PyErr_Occurred()) SWIG_fail
;
6928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6935 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6936 PyObject
*resultobj
= 0;
6941 wxBitmap
*result
= 0 ;
6947 PyObject
* obj0
= 0 ;
6948 PyObject
* obj1
= 0 ;
6949 PyObject
* obj2
= 0 ;
6950 char * kwnames
[] = {
6951 (char *) "width",(char *) "height",(char *) "data", NULL
6954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6955 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6956 if (!SWIG_IsOK(ecode1
)) {
6957 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
6959 arg1
= static_cast< int >(val1
);
6960 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6961 if (!SWIG_IsOK(ecode2
)) {
6962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
6964 arg2
= static_cast< int >(val2
);
6966 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6970 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
6971 if (PyErr_Occurred()) SWIG_fail
;
6973 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6980 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6981 PyObject
*resultobj
= 0;
6982 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6986 PyObject
*swig_obj
[1] ;
6988 if (!args
) SWIG_fail
;
6990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6991 if (!SWIG_IsOK(res1
)) {
6992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6994 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6996 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
6997 if (PyErr_Occurred()) SWIG_fail
;
6999 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7006 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7007 PyObject
*resultobj
= 0;
7008 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7012 PyObject
*swig_obj
[1] ;
7014 if (!args
) SWIG_fail
;
7016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7017 if (!SWIG_IsOK(res1
)) {
7018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7020 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7022 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7023 if (PyErr_Occurred()) SWIG_fail
;
7025 resultobj
= SWIG_From_int(static_cast< int >(result
));
7032 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7033 PyObject
*resultobj
= 0;
7034 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7038 PyObject
*swig_obj
[1] ;
7040 if (!args
) SWIG_fail
;
7042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7043 if (!SWIG_IsOK(res1
)) {
7044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7046 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7048 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7049 if (PyErr_Occurred()) SWIG_fail
;
7051 resultobj
= SWIG_From_int(static_cast< int >(result
));
7058 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7059 PyObject
*resultobj
= 0;
7060 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7064 PyObject
*swig_obj
[1] ;
7066 if (!args
) SWIG_fail
;
7068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7069 if (!SWIG_IsOK(res1
)) {
7070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7072 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7074 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7075 if (PyErr_Occurred()) SWIG_fail
;
7077 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7084 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7085 PyObject
*resultobj
= 0;
7086 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7090 PyObject
*swig_obj
[1] ;
7092 if (!args
) SWIG_fail
;
7094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7095 if (!SWIG_IsOK(res1
)) {
7096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7098 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7100 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7101 if (PyErr_Occurred()) SWIG_fail
;
7103 resultobj
= SWIG_From_int(static_cast< int >(result
));
7110 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7112 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7113 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7114 return SWIG_Py_Void();
7117 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7118 PyObject
*resultobj
= 0;
7119 wxBitmap
*arg1
= 0 ;
7120 wxNativePixelData
*result
= 0 ;
7124 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7126 if (!SWIG_IsOK(res1
)) {
7127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7130 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7132 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7134 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7135 if (PyErr_Occurred()) SWIG_fail
;
7137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7144 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7145 PyObject
*resultobj
= 0;
7146 wxBitmap
*arg1
= 0 ;
7148 wxNativePixelData
*result
= 0 ;
7153 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7155 if (!SWIG_IsOK(res1
)) {
7156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7159 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7161 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7164 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7167 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7168 if (PyErr_Occurred()) SWIG_fail
;
7170 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7177 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7178 PyObject
*resultobj
= 0;
7179 wxBitmap
*arg1
= 0 ;
7182 wxNativePixelData
*result
= 0 ;
7188 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7190 if (!SWIG_IsOK(res1
)) {
7191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7194 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7196 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7199 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7203 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7206 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7207 if (PyErr_Occurred()) SWIG_fail
;
7209 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7216 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7220 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7223 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7226 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7229 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7233 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7238 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7239 PyObject
*resultobj
= 0;
7240 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7243 PyObject
*swig_obj
[1] ;
7245 if (!args
) SWIG_fail
;
7247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7248 if (!SWIG_IsOK(res1
)) {
7249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7251 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7255 if (PyErr_Occurred()) SWIG_fail
;
7257 resultobj
= SWIG_Py_Void();
7264 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7265 PyObject
*resultobj
= 0;
7266 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7267 wxNativePixelData_Accessor result
;
7270 PyObject
*swig_obj
[1] ;
7272 if (!args
) SWIG_fail
;
7274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7275 if (!SWIG_IsOK(res1
)) {
7276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7278 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7280 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7281 if (PyErr_Occurred()) SWIG_fail
;
7283 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7290 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7291 PyObject
*resultobj
= 0;
7292 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7295 PyObject
*swig_obj
[1] ;
7297 if (!args
) SWIG_fail
;
7299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7300 if (!SWIG_IsOK(res1
)) {
7301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7303 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7306 if (PyErr_Occurred()) SWIG_fail
;
7308 resultobj
= SWIG_Py_Void();
7315 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7316 PyObject
*resultobj
= 0;
7317 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7321 PyObject
*swig_obj
[1] ;
7323 if (!args
) SWIG_fail
;
7325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7326 if (!SWIG_IsOK(res1
)) {
7327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7329 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7331 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7332 if (PyErr_Occurred()) SWIG_fail
;
7335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7343 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7345 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7346 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7347 return SWIG_Py_Void();
7350 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7351 return SWIG_Python_InitShadowInstance(args
);
7354 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7355 PyObject
*resultobj
= 0;
7356 wxNativePixelData
*arg1
= 0 ;
7357 wxNativePixelData_Accessor
*result
= 0 ;
7361 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7363 if (!SWIG_IsOK(res1
)) {
7364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7367 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7369 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7371 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7372 if (PyErr_Occurred()) SWIG_fail
;
7374 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7381 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7382 PyObject
*resultobj
= 0;
7383 wxBitmap
*arg1
= 0 ;
7384 wxNativePixelData
*arg2
= 0 ;
7385 wxNativePixelData_Accessor
*result
= 0 ;
7391 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7393 if (!SWIG_IsOK(res1
)) {
7394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7397 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7399 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7400 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7401 if (!SWIG_IsOK(res2
)) {
7402 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7405 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7407 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7409 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7410 if (PyErr_Occurred()) SWIG_fail
;
7412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7419 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7420 PyObject
*resultobj
= 0;
7421 wxNativePixelData_Accessor
*result
= 0 ;
7423 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7425 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7426 if (PyErr_Occurred()) SWIG_fail
;
7428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7435 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7439 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7442 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7445 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7448 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7452 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7457 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7458 PyObject
*resultobj
= 0;
7459 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7462 PyObject
*swig_obj
[1] ;
7464 if (!args
) SWIG_fail
;
7466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7467 if (!SWIG_IsOK(res1
)) {
7468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7470 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7474 if (PyErr_Occurred()) SWIG_fail
;
7476 resultobj
= SWIG_Py_Void();
7483 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7484 PyObject
*resultobj
= 0;
7485 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7486 wxNativePixelData
*arg2
= 0 ;
7491 PyObject
* obj0
= 0 ;
7492 PyObject
* obj1
= 0 ;
7493 char * kwnames
[] = {
7494 (char *) "self",(char *) "data", NULL
7497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7499 if (!SWIG_IsOK(res1
)) {
7500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7502 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7503 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7504 if (!SWIG_IsOK(res2
)) {
7505 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7508 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7510 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7512 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7513 if (PyErr_Occurred()) SWIG_fail
;
7515 resultobj
= SWIG_Py_Void();
7522 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7523 PyObject
*resultobj
= 0;
7524 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7528 PyObject
*swig_obj
[1] ;
7530 if (!args
) SWIG_fail
;
7532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7533 if (!SWIG_IsOK(res1
)) {
7534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7536 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7538 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7539 if (PyErr_Occurred()) SWIG_fail
;
7542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7550 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7551 PyObject
*resultobj
= 0;
7552 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7555 PyObject
*swig_obj
[1] ;
7557 if (!args
) SWIG_fail
;
7559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7560 if (!SWIG_IsOK(res1
)) {
7561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7563 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7565 wxNativePixelData_Accessor_nextPixel(arg1
);
7566 if (PyErr_Occurred()) SWIG_fail
;
7568 resultobj
= SWIG_Py_Void();
7575 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7576 PyObject
*resultobj
= 0;
7577 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7578 wxNativePixelData
*arg2
= 0 ;
7589 PyObject
* obj0
= 0 ;
7590 PyObject
* obj1
= 0 ;
7591 PyObject
* obj2
= 0 ;
7592 PyObject
* obj3
= 0 ;
7593 char * kwnames
[] = {
7594 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7599 if (!SWIG_IsOK(res1
)) {
7600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7602 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7603 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7604 if (!SWIG_IsOK(res2
)) {
7605 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7608 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7610 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7611 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7612 if (!SWIG_IsOK(ecode3
)) {
7613 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7615 arg3
= static_cast< int >(val3
);
7616 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7617 if (!SWIG_IsOK(ecode4
)) {
7618 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7620 arg4
= static_cast< int >(val4
);
7622 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7623 if (PyErr_Occurred()) SWIG_fail
;
7625 resultobj
= SWIG_Py_Void();
7632 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7633 PyObject
*resultobj
= 0;
7634 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7635 wxNativePixelData
*arg2
= 0 ;
7643 PyObject
* obj0
= 0 ;
7644 PyObject
* obj1
= 0 ;
7645 PyObject
* obj2
= 0 ;
7646 char * kwnames
[] = {
7647 (char *) "self",(char *) "data",(char *) "x", NULL
7650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7652 if (!SWIG_IsOK(res1
)) {
7653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7655 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7656 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7657 if (!SWIG_IsOK(res2
)) {
7658 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7661 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7663 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7664 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7665 if (!SWIG_IsOK(ecode3
)) {
7666 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7668 arg3
= static_cast< int >(val3
);
7670 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7671 if (PyErr_Occurred()) SWIG_fail
;
7673 resultobj
= SWIG_Py_Void();
7680 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7681 PyObject
*resultobj
= 0;
7682 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7683 wxNativePixelData
*arg2
= 0 ;
7691 PyObject
* obj0
= 0 ;
7692 PyObject
* obj1
= 0 ;
7693 PyObject
* obj2
= 0 ;
7694 char * kwnames
[] = {
7695 (char *) "self",(char *) "data",(char *) "y", NULL
7698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7700 if (!SWIG_IsOK(res1
)) {
7701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7703 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7704 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7705 if (!SWIG_IsOK(res2
)) {
7706 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7709 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7711 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7712 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7713 if (!SWIG_IsOK(ecode3
)) {
7714 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
7716 arg3
= static_cast< int >(val3
);
7718 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
7719 if (PyErr_Occurred()) SWIG_fail
;
7721 resultobj
= SWIG_Py_Void();
7728 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7729 PyObject
*resultobj
= 0;
7730 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7731 wxNativePixelData
*arg2
= 0 ;
7742 PyObject
* obj0
= 0 ;
7743 PyObject
* obj1
= 0 ;
7744 PyObject
* obj2
= 0 ;
7745 PyObject
* obj3
= 0 ;
7746 char * kwnames
[] = {
7747 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7752 if (!SWIG_IsOK(res1
)) {
7753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7755 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7756 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7757 if (!SWIG_IsOK(res2
)) {
7758 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7761 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7763 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7764 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7765 if (!SWIG_IsOK(ecode3
)) {
7766 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
7768 arg3
= static_cast< int >(val3
);
7769 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7770 if (!SWIG_IsOK(ecode4
)) {
7771 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
7773 arg4
= static_cast< int >(val4
);
7775 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7776 if (PyErr_Occurred()) SWIG_fail
;
7778 resultobj
= SWIG_Py_Void();
7785 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7786 PyObject
*resultobj
= 0;
7787 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7793 unsigned char val2
;
7795 unsigned char val3
;
7797 unsigned char val4
;
7799 PyObject
* obj0
= 0 ;
7800 PyObject
* obj1
= 0 ;
7801 PyObject
* obj2
= 0 ;
7802 PyObject
* obj3
= 0 ;
7803 char * kwnames
[] = {
7804 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
7807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7809 if (!SWIG_IsOK(res1
)) {
7810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7812 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7813 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
7814 if (!SWIG_IsOK(ecode2
)) {
7815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
7817 arg2
= static_cast< byte
>(val2
);
7818 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
7819 if (!SWIG_IsOK(ecode3
)) {
7820 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
7822 arg3
= static_cast< byte
>(val3
);
7823 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
7824 if (!SWIG_IsOK(ecode4
)) {
7825 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
7827 arg4
= static_cast< byte
>(val4
);
7829 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
7830 if (PyErr_Occurred()) SWIG_fail
;
7832 resultobj
= SWIG_Py_Void();
7839 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7840 PyObject
*resultobj
= 0;
7841 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7842 PyObject
*result
= 0 ;
7845 PyObject
*swig_obj
[1] ;
7847 if (!args
) SWIG_fail
;
7849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7850 if (!SWIG_IsOK(res1
)) {
7851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7853 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7855 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
7856 if (PyErr_Occurred()) SWIG_fail
;
7865 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7867 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7868 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
7869 return SWIG_Py_Void();
7872 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7873 return SWIG_Python_InitShadowInstance(args
);
7876 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7877 PyObject
*resultobj
= 0;
7878 wxBitmap
*arg1
= 0 ;
7879 wxAlphaPixelData
*result
= 0 ;
7883 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7885 if (!SWIG_IsOK(res1
)) {
7886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7889 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7891 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7893 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
7894 if (PyErr_Occurred()) SWIG_fail
;
7896 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7903 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7904 PyObject
*resultobj
= 0;
7905 wxBitmap
*arg1
= 0 ;
7907 wxAlphaPixelData
*result
= 0 ;
7912 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7914 if (!SWIG_IsOK(res1
)) {
7915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7918 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7920 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7923 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7926 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
7927 if (PyErr_Occurred()) SWIG_fail
;
7929 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7936 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7937 PyObject
*resultobj
= 0;
7938 wxBitmap
*arg1
= 0 ;
7941 wxAlphaPixelData
*result
= 0 ;
7947 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7949 if (!SWIG_IsOK(res1
)) {
7950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7953 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7955 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7958 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7962 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7965 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7966 if (PyErr_Occurred()) SWIG_fail
;
7968 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7975 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
7979 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
7982 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
7985 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
7988 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
7992 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
7997 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7998 PyObject
*resultobj
= 0;
7999 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8002 PyObject
*swig_obj
[1] ;
8004 if (!args
) SWIG_fail
;
8006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8007 if (!SWIG_IsOK(res1
)) {
8008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8010 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8014 if (PyErr_Occurred()) SWIG_fail
;
8016 resultobj
= SWIG_Py_Void();
8023 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8024 PyObject
*resultobj
= 0;
8025 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8026 wxAlphaPixelData_Accessor result
;
8029 PyObject
*swig_obj
[1] ;
8031 if (!args
) SWIG_fail
;
8033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8034 if (!SWIG_IsOK(res1
)) {
8035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8037 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8039 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8040 if (PyErr_Occurred()) SWIG_fail
;
8042 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8049 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8050 PyObject
*resultobj
= 0;
8051 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8054 PyObject
*swig_obj
[1] ;
8056 if (!args
) SWIG_fail
;
8058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8059 if (!SWIG_IsOK(res1
)) {
8060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8062 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8065 if (PyErr_Occurred()) SWIG_fail
;
8067 resultobj
= SWIG_Py_Void();
8074 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8075 PyObject
*resultobj
= 0;
8076 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8080 PyObject
*swig_obj
[1] ;
8082 if (!args
) SWIG_fail
;
8084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8085 if (!SWIG_IsOK(res1
)) {
8086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8088 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8090 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8091 if (PyErr_Occurred()) SWIG_fail
;
8094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8102 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8104 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8105 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8106 return SWIG_Py_Void();
8109 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8110 return SWIG_Python_InitShadowInstance(args
);
8113 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8114 PyObject
*resultobj
= 0;
8115 wxAlphaPixelData
*arg1
= 0 ;
8116 wxAlphaPixelData_Accessor
*result
= 0 ;
8120 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8122 if (!SWIG_IsOK(res1
)) {
8123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8126 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8128 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8130 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8131 if (PyErr_Occurred()) SWIG_fail
;
8133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8140 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8141 PyObject
*resultobj
= 0;
8142 wxBitmap
*arg1
= 0 ;
8143 wxAlphaPixelData
*arg2
= 0 ;
8144 wxAlphaPixelData_Accessor
*result
= 0 ;
8150 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8152 if (!SWIG_IsOK(res1
)) {
8153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8156 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8158 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8159 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8160 if (!SWIG_IsOK(res2
)) {
8161 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8164 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8166 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8168 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8169 if (PyErr_Occurred()) SWIG_fail
;
8171 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8178 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8179 PyObject
*resultobj
= 0;
8180 wxAlphaPixelData_Accessor
*result
= 0 ;
8182 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8184 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8185 if (PyErr_Occurred()) SWIG_fail
;
8187 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8194 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8198 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8201 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8204 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8207 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8211 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8216 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8217 PyObject
*resultobj
= 0;
8218 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8221 PyObject
*swig_obj
[1] ;
8223 if (!args
) SWIG_fail
;
8225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8226 if (!SWIG_IsOK(res1
)) {
8227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8229 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8233 if (PyErr_Occurred()) SWIG_fail
;
8235 resultobj
= SWIG_Py_Void();
8242 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8243 PyObject
*resultobj
= 0;
8244 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8245 wxAlphaPixelData
*arg2
= 0 ;
8250 PyObject
* obj0
= 0 ;
8251 PyObject
* obj1
= 0 ;
8252 char * kwnames
[] = {
8253 (char *) "self",(char *) "data", NULL
8256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8258 if (!SWIG_IsOK(res1
)) {
8259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8261 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8262 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8263 if (!SWIG_IsOK(res2
)) {
8264 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8267 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8269 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8271 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8272 if (PyErr_Occurred()) SWIG_fail
;
8274 resultobj
= SWIG_Py_Void();
8281 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8282 PyObject
*resultobj
= 0;
8283 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8287 PyObject
*swig_obj
[1] ;
8289 if (!args
) SWIG_fail
;
8291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8292 if (!SWIG_IsOK(res1
)) {
8293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8295 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8297 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8298 if (PyErr_Occurred()) SWIG_fail
;
8301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8309 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8310 PyObject
*resultobj
= 0;
8311 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8314 PyObject
*swig_obj
[1] ;
8316 if (!args
) SWIG_fail
;
8318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8319 if (!SWIG_IsOK(res1
)) {
8320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8322 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8324 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8325 if (PyErr_Occurred()) SWIG_fail
;
8327 resultobj
= SWIG_Py_Void();
8334 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8335 PyObject
*resultobj
= 0;
8336 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8337 wxAlphaPixelData
*arg2
= 0 ;
8348 PyObject
* obj0
= 0 ;
8349 PyObject
* obj1
= 0 ;
8350 PyObject
* obj2
= 0 ;
8351 PyObject
* obj3
= 0 ;
8352 char * kwnames
[] = {
8353 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8358 if (!SWIG_IsOK(res1
)) {
8359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8361 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8362 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8363 if (!SWIG_IsOK(res2
)) {
8364 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8367 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8369 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8370 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8371 if (!SWIG_IsOK(ecode3
)) {
8372 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8374 arg3
= static_cast< int >(val3
);
8375 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8376 if (!SWIG_IsOK(ecode4
)) {
8377 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8379 arg4
= static_cast< int >(val4
);
8381 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8382 if (PyErr_Occurred()) SWIG_fail
;
8384 resultobj
= SWIG_Py_Void();
8391 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8392 PyObject
*resultobj
= 0;
8393 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8394 wxAlphaPixelData
*arg2
= 0 ;
8402 PyObject
* obj0
= 0 ;
8403 PyObject
* obj1
= 0 ;
8404 PyObject
* obj2
= 0 ;
8405 char * kwnames
[] = {
8406 (char *) "self",(char *) "data",(char *) "x", NULL
8409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8411 if (!SWIG_IsOK(res1
)) {
8412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8414 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8415 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8416 if (!SWIG_IsOK(res2
)) {
8417 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8420 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8422 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8423 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8424 if (!SWIG_IsOK(ecode3
)) {
8425 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8427 arg3
= static_cast< int >(val3
);
8429 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8430 if (PyErr_Occurred()) SWIG_fail
;
8432 resultobj
= SWIG_Py_Void();
8439 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8440 PyObject
*resultobj
= 0;
8441 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8442 wxAlphaPixelData
*arg2
= 0 ;
8450 PyObject
* obj0
= 0 ;
8451 PyObject
* obj1
= 0 ;
8452 PyObject
* obj2
= 0 ;
8453 char * kwnames
[] = {
8454 (char *) "self",(char *) "data",(char *) "y", NULL
8457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8459 if (!SWIG_IsOK(res1
)) {
8460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8462 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8463 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8464 if (!SWIG_IsOK(res2
)) {
8465 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8468 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8470 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8471 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8472 if (!SWIG_IsOK(ecode3
)) {
8473 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8475 arg3
= static_cast< int >(val3
);
8477 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8478 if (PyErr_Occurred()) SWIG_fail
;
8480 resultobj
= SWIG_Py_Void();
8487 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8488 PyObject
*resultobj
= 0;
8489 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8490 wxAlphaPixelData
*arg2
= 0 ;
8501 PyObject
* obj0
= 0 ;
8502 PyObject
* obj1
= 0 ;
8503 PyObject
* obj2
= 0 ;
8504 PyObject
* obj3
= 0 ;
8505 char * kwnames
[] = {
8506 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8511 if (!SWIG_IsOK(res1
)) {
8512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8514 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8515 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8516 if (!SWIG_IsOK(res2
)) {
8517 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8520 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8522 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8523 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8524 if (!SWIG_IsOK(ecode3
)) {
8525 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8527 arg3
= static_cast< int >(val3
);
8528 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8529 if (!SWIG_IsOK(ecode4
)) {
8530 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8532 arg4
= static_cast< int >(val4
);
8534 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8535 if (PyErr_Occurred()) SWIG_fail
;
8537 resultobj
= SWIG_Py_Void();
8544 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8545 PyObject
*resultobj
= 0;
8546 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8553 unsigned char val2
;
8555 unsigned char val3
;
8557 unsigned char val4
;
8559 unsigned char val5
;
8561 PyObject
* obj0
= 0 ;
8562 PyObject
* obj1
= 0 ;
8563 PyObject
* obj2
= 0 ;
8564 PyObject
* obj3
= 0 ;
8565 PyObject
* obj4
= 0 ;
8566 char * kwnames
[] = {
8567 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8572 if (!SWIG_IsOK(res1
)) {
8573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8575 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8576 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8577 if (!SWIG_IsOK(ecode2
)) {
8578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8580 arg2
= static_cast< byte
>(val2
);
8581 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8582 if (!SWIG_IsOK(ecode3
)) {
8583 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8585 arg3
= static_cast< byte
>(val3
);
8586 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8587 if (!SWIG_IsOK(ecode4
)) {
8588 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8590 arg4
= static_cast< byte
>(val4
);
8591 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8592 if (!SWIG_IsOK(ecode5
)) {
8593 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8595 arg5
= static_cast< byte
>(val5
);
8597 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8598 if (PyErr_Occurred()) SWIG_fail
;
8600 resultobj
= SWIG_Py_Void();
8607 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8608 PyObject
*resultobj
= 0;
8609 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8610 PyObject
*result
= 0 ;
8613 PyObject
*swig_obj
[1] ;
8615 if (!args
) SWIG_fail
;
8617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8618 if (!SWIG_IsOK(res1
)) {
8619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8621 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8623 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8624 if (PyErr_Occurred()) SWIG_fail
;
8633 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8635 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8636 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8637 return SWIG_Py_Void();
8640 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8641 return SWIG_Python_InitShadowInstance(args
);
8644 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8645 PyObject
*resultobj
= 0;
8646 wxBitmap
*arg1
= 0 ;
8647 wxColour
const &arg2_defvalue
= wxNullColour
;
8648 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8649 wxMask
*result
= 0 ;
8653 PyObject
* obj0
= 0 ;
8654 PyObject
* obj1
= 0 ;
8655 char * kwnames
[] = {
8656 (char *) "bitmap",(char *) "colour", NULL
8659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8660 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8661 if (!SWIG_IsOK(res1
)) {
8662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8665 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8667 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8671 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8675 if (!wxPyCheckForApp()) SWIG_fail
;
8676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8677 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8678 wxPyEndAllowThreads(__tstate
);
8679 if (PyErr_Occurred()) SWIG_fail
;
8681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
8688 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8689 PyObject
*resultobj
= 0;
8690 wxMask
*arg1
= (wxMask
*) 0 ;
8693 PyObject
*swig_obj
[1] ;
8695 if (!args
) SWIG_fail
;
8697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
8698 if (!SWIG_IsOK(res1
)) {
8699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
8701 arg1
= reinterpret_cast< wxMask
* >(argp1
);
8705 if (PyErr_Occurred()) SWIG_fail
;
8707 resultobj
= SWIG_Py_Void();
8714 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8716 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8717 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
8718 return SWIG_Py_Void();
8721 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8722 return SWIG_Python_InitShadowInstance(args
);
8725 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8726 PyObject
*resultobj
= 0;
8727 wxString
*arg1
= 0 ;
8729 int arg3
= (int) -1 ;
8730 int arg4
= (int) -1 ;
8731 wxIcon
*result
= 0 ;
8732 bool temp1
= false ;
8739 PyObject
* obj0
= 0 ;
8740 PyObject
* obj1
= 0 ;
8741 PyObject
* obj2
= 0 ;
8742 PyObject
* obj3
= 0 ;
8743 char * kwnames
[] = {
8744 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
8747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8749 arg1
= wxString_in_helper(obj0
);
8750 if (arg1
== NULL
) SWIG_fail
;
8753 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8754 if (!SWIG_IsOK(ecode2
)) {
8755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
8757 arg2
= static_cast< wxBitmapType
>(val2
);
8759 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8760 if (!SWIG_IsOK(ecode3
)) {
8761 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
8763 arg3
= static_cast< int >(val3
);
8766 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8767 if (!SWIG_IsOK(ecode4
)) {
8768 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
8770 arg4
= static_cast< int >(val4
);
8773 if (!wxPyCheckForApp()) SWIG_fail
;
8774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8775 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
8776 wxPyEndAllowThreads(__tstate
);
8777 if (PyErr_Occurred()) SWIG_fail
;
8779 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
8794 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8795 PyObject
*resultobj
= 0;
8796 wxIcon
*arg1
= (wxIcon
*) 0 ;
8799 PyObject
*swig_obj
[1] ;
8801 if (!args
) SWIG_fail
;
8803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
8804 if (!SWIG_IsOK(res1
)) {
8805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
8807 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8812 wxPyEndAllowThreads(__tstate
);
8813 if (PyErr_Occurred()) SWIG_fail
;
8815 resultobj
= SWIG_Py_Void();
8822 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8823 PyObject
*resultobj
= 0;
8824 wxIcon
*result
= 0 ;
8826 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
8828 if (!wxPyCheckForApp()) SWIG_fail
;
8829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8830 result
= (wxIcon
*)new wxIcon();
8831 wxPyEndAllowThreads(__tstate
);
8832 if (PyErr_Occurred()) SWIG_fail
;
8834 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8841 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8842 PyObject
*resultobj
= 0;
8843 wxIconLocation
*arg1
= 0 ;
8844 wxIcon
*result
= 0 ;
8847 PyObject
* obj0
= 0 ;
8848 char * kwnames
[] = {
8849 (char *) "loc", NULL
8852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
8853 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
8854 if (!SWIG_IsOK(res1
)) {
8855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8858 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8860 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
8862 if (!wxPyCheckForApp()) SWIG_fail
;
8863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8864 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
8865 wxPyEndAllowThreads(__tstate
);
8866 if (PyErr_Occurred()) SWIG_fail
;
8868 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8875 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8876 PyObject
*resultobj
= 0;
8877 wxBitmap
*arg1
= 0 ;
8878 wxIcon
*result
= 0 ;
8881 PyObject
* obj0
= 0 ;
8882 char * kwnames
[] = {
8883 (char *) "bmp", NULL
8886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
8887 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8888 if (!SWIG_IsOK(res1
)) {
8889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8892 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8894 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8896 if (!wxPyCheckForApp()) SWIG_fail
;
8897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8898 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
8899 wxPyEndAllowThreads(__tstate
);
8900 if (PyErr_Occurred()) SWIG_fail
;
8902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8909 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8910 PyObject
*resultobj
= 0;
8911 PyObject
*arg1
= (PyObject
*) 0 ;
8912 wxIcon
*result
= 0 ;
8913 PyObject
* obj0
= 0 ;
8914 char * kwnames
[] = {
8915 (char *) "listOfStrings", NULL
8918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
8921 if (!wxPyCheckForApp()) SWIG_fail
;
8922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8923 result
= (wxIcon
*)new_wxIcon(arg1
);
8924 wxPyEndAllowThreads(__tstate
);
8925 if (PyErr_Occurred()) SWIG_fail
;
8927 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8934 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8935 PyObject
*resultobj
= 0;
8936 wxIcon
*arg1
= (wxIcon
*) 0 ;
8940 PyObject
*swig_obj
[1] ;
8942 if (!args
) SWIG_fail
;
8944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8945 if (!SWIG_IsOK(res1
)) {
8946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
8948 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8951 result
= (bool)(arg1
)->IsOk();
8952 wxPyEndAllowThreads(__tstate
);
8953 if (PyErr_Occurred()) SWIG_fail
;
8956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8964 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8965 PyObject
*resultobj
= 0;
8966 wxIcon
*arg1
= (wxIcon
*) 0 ;
8970 PyObject
*swig_obj
[1] ;
8972 if (!args
) SWIG_fail
;
8974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8975 if (!SWIG_IsOK(res1
)) {
8976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
8978 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8981 result
= (int)(arg1
)->GetWidth();
8982 wxPyEndAllowThreads(__tstate
);
8983 if (PyErr_Occurred()) SWIG_fail
;
8985 resultobj
= SWIG_From_int(static_cast< int >(result
));
8992 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8993 PyObject
*resultobj
= 0;
8994 wxIcon
*arg1
= (wxIcon
*) 0 ;
8998 PyObject
*swig_obj
[1] ;
9000 if (!args
) SWIG_fail
;
9002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9003 if (!SWIG_IsOK(res1
)) {
9004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9006 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9009 result
= (int)(arg1
)->GetHeight();
9010 wxPyEndAllowThreads(__tstate
);
9011 if (PyErr_Occurred()) SWIG_fail
;
9013 resultobj
= SWIG_From_int(static_cast< int >(result
));
9020 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9021 PyObject
*resultobj
= 0;
9022 wxIcon
*arg1
= (wxIcon
*) 0 ;
9026 PyObject
*swig_obj
[1] ;
9028 if (!args
) SWIG_fail
;
9030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9031 if (!SWIG_IsOK(res1
)) {
9032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9034 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9037 result
= (int)(arg1
)->GetDepth();
9038 wxPyEndAllowThreads(__tstate
);
9039 if (PyErr_Occurred()) SWIG_fail
;
9041 resultobj
= SWIG_From_int(static_cast< int >(result
));
9048 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9049 PyObject
*resultobj
= 0;
9050 wxIcon
*arg1
= (wxIcon
*) 0 ;
9056 PyObject
* obj0
= 0 ;
9057 PyObject
* obj1
= 0 ;
9058 char * kwnames
[] = {
9059 (char *) "self",(char *) "w", NULL
9062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9064 if (!SWIG_IsOK(res1
)) {
9065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9067 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9068 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9069 if (!SWIG_IsOK(ecode2
)) {
9070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9072 arg2
= static_cast< int >(val2
);
9074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9075 (arg1
)->SetWidth(arg2
);
9076 wxPyEndAllowThreads(__tstate
);
9077 if (PyErr_Occurred()) SWIG_fail
;
9079 resultobj
= SWIG_Py_Void();
9086 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9087 PyObject
*resultobj
= 0;
9088 wxIcon
*arg1
= (wxIcon
*) 0 ;
9094 PyObject
* obj0
= 0 ;
9095 PyObject
* obj1
= 0 ;
9096 char * kwnames
[] = {
9097 (char *) "self",(char *) "h", NULL
9100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9102 if (!SWIG_IsOK(res1
)) {
9103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9105 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9107 if (!SWIG_IsOK(ecode2
)) {
9108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9110 arg2
= static_cast< int >(val2
);
9112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9113 (arg1
)->SetHeight(arg2
);
9114 wxPyEndAllowThreads(__tstate
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9117 resultobj
= SWIG_Py_Void();
9124 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9125 PyObject
*resultobj
= 0;
9126 wxIcon
*arg1
= (wxIcon
*) 0 ;
9132 PyObject
* obj0
= 0 ;
9133 PyObject
* obj1
= 0 ;
9134 char * kwnames
[] = {
9135 (char *) "self",(char *) "d", NULL
9138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9140 if (!SWIG_IsOK(res1
)) {
9141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9143 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9144 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9145 if (!SWIG_IsOK(ecode2
)) {
9146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9148 arg2
= static_cast< int >(val2
);
9150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9151 (arg1
)->SetDepth(arg2
);
9152 wxPyEndAllowThreads(__tstate
);
9153 if (PyErr_Occurred()) SWIG_fail
;
9155 resultobj
= SWIG_Py_Void();
9162 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9163 PyObject
*resultobj
= 0;
9164 wxIcon
*arg1
= (wxIcon
*) 0 ;
9165 wxBitmap
*arg2
= 0 ;
9170 PyObject
* obj0
= 0 ;
9171 PyObject
* obj1
= 0 ;
9172 char * kwnames
[] = {
9173 (char *) "self",(char *) "bmp", NULL
9176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9178 if (!SWIG_IsOK(res1
)) {
9179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9181 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9182 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9183 if (!SWIG_IsOK(res2
)) {
9184 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9187 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9189 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9192 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9193 wxPyEndAllowThreads(__tstate
);
9194 if (PyErr_Occurred()) SWIG_fail
;
9196 resultobj
= SWIG_Py_Void();
9203 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9205 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9206 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9207 return SWIG_Py_Void();
9210 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9211 return SWIG_Python_InitShadowInstance(args
);
9214 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9215 PyObject
*resultobj
= 0;
9216 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9217 int arg2
= (int) 0 ;
9218 wxIconLocation
*result
= 0 ;
9219 bool temp1
= false ;
9222 PyObject
* obj0
= 0 ;
9223 PyObject
* obj1
= 0 ;
9224 char * kwnames
[] = {
9225 (char *) "filename",(char *) "num", NULL
9228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9231 arg1
= wxString_in_helper(obj0
);
9232 if (arg1
== NULL
) SWIG_fail
;
9237 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9238 if (!SWIG_IsOK(ecode2
)) {
9239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9241 arg2
= static_cast< int >(val2
);
9244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9245 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9246 wxPyEndAllowThreads(__tstate
);
9247 if (PyErr_Occurred()) SWIG_fail
;
9249 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9264 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9265 PyObject
*resultobj
= 0;
9266 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9269 PyObject
*swig_obj
[1] ;
9271 if (!args
) SWIG_fail
;
9273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9274 if (!SWIG_IsOK(res1
)) {
9275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9277 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9282 wxPyEndAllowThreads(__tstate
);
9283 if (PyErr_Occurred()) SWIG_fail
;
9285 resultobj
= SWIG_Py_Void();
9292 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9293 PyObject
*resultobj
= 0;
9294 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9298 PyObject
*swig_obj
[1] ;
9300 if (!args
) SWIG_fail
;
9302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9303 if (!SWIG_IsOK(res1
)) {
9304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9306 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9309 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9310 wxPyEndAllowThreads(__tstate
);
9311 if (PyErr_Occurred()) SWIG_fail
;
9314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9322 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9323 PyObject
*resultobj
= 0;
9324 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9325 wxString
*arg2
= 0 ;
9328 bool temp2
= false ;
9329 PyObject
* obj0
= 0 ;
9330 PyObject
* obj1
= 0 ;
9331 char * kwnames
[] = {
9332 (char *) "self",(char *) "filename", NULL
9335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9337 if (!SWIG_IsOK(res1
)) {
9338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9340 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9342 arg2
= wxString_in_helper(obj1
);
9343 if (arg2
== NULL
) SWIG_fail
;
9347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9348 (arg1
)->SetFileName((wxString
const &)*arg2
);
9349 wxPyEndAllowThreads(__tstate
);
9350 if (PyErr_Occurred()) SWIG_fail
;
9352 resultobj
= SWIG_Py_Void();
9367 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9368 PyObject
*resultobj
= 0;
9369 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9370 wxString
*result
= 0 ;
9373 PyObject
*swig_obj
[1] ;
9375 if (!args
) SWIG_fail
;
9377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9378 if (!SWIG_IsOK(res1
)) {
9379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9381 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9385 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9386 result
= (wxString
*) &_result_ref
;
9388 wxPyEndAllowThreads(__tstate
);
9389 if (PyErr_Occurred()) SWIG_fail
;
9393 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9395 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9404 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9405 PyObject
*resultobj
= 0;
9406 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9412 PyObject
* obj0
= 0 ;
9413 PyObject
* obj1
= 0 ;
9414 char * kwnames
[] = {
9415 (char *) "self",(char *) "num", NULL
9418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9420 if (!SWIG_IsOK(res1
)) {
9421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9423 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9424 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9425 if (!SWIG_IsOK(ecode2
)) {
9426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9428 arg2
= static_cast< int >(val2
);
9430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9431 wxIconLocation_SetIndex(arg1
,arg2
);
9432 wxPyEndAllowThreads(__tstate
);
9433 if (PyErr_Occurred()) SWIG_fail
;
9435 resultobj
= SWIG_Py_Void();
9442 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9443 PyObject
*resultobj
= 0;
9444 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9448 PyObject
*swig_obj
[1] ;
9450 if (!args
) SWIG_fail
;
9452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9453 if (!SWIG_IsOK(res1
)) {
9454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9456 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9459 result
= (int)wxIconLocation_GetIndex(arg1
);
9460 wxPyEndAllowThreads(__tstate
);
9461 if (PyErr_Occurred()) SWIG_fail
;
9463 resultobj
= SWIG_From_int(static_cast< int >(result
));
9470 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9472 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9473 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9474 return SWIG_Py_Void();
9477 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9478 return SWIG_Python_InitShadowInstance(args
);
9481 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9482 PyObject
*resultobj
= 0;
9483 wxIconBundle
*result
= 0 ;
9485 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9488 result
= (wxIconBundle
*)new wxIconBundle();
9489 wxPyEndAllowThreads(__tstate
);
9490 if (PyErr_Occurred()) SWIG_fail
;
9492 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9499 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9500 PyObject
*resultobj
= 0;
9501 wxString
*arg1
= 0 ;
9503 wxIconBundle
*result
= 0 ;
9504 bool temp1
= false ;
9507 PyObject
* obj0
= 0 ;
9508 PyObject
* obj1
= 0 ;
9509 char * kwnames
[] = {
9510 (char *) "file",(char *) "type", NULL
9513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9515 arg1
= wxString_in_helper(obj0
);
9516 if (arg1
== NULL
) SWIG_fail
;
9519 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9520 if (!SWIG_IsOK(ecode2
)) {
9521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9523 arg2
= static_cast< long >(val2
);
9525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9526 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9527 wxPyEndAllowThreads(__tstate
);
9528 if (PyErr_Occurred()) SWIG_fail
;
9530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9545 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9546 PyObject
*resultobj
= 0;
9548 wxIconBundle
*result
= 0 ;
9551 PyObject
* obj0
= 0 ;
9552 char * kwnames
[] = {
9553 (char *) "icon", NULL
9556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9557 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9558 if (!SWIG_IsOK(res1
)) {
9559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9562 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9564 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9567 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9568 wxPyEndAllowThreads(__tstate
);
9569 if (PyErr_Occurred()) SWIG_fail
;
9571 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9578 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9579 PyObject
*resultobj
= 0;
9580 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9583 PyObject
*swig_obj
[1] ;
9585 if (!args
) SWIG_fail
;
9587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9588 if (!SWIG_IsOK(res1
)) {
9589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9591 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9596 wxPyEndAllowThreads(__tstate
);
9597 if (PyErr_Occurred()) SWIG_fail
;
9599 resultobj
= SWIG_Py_Void();
9606 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9607 PyObject
*resultobj
= 0;
9608 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9614 PyObject
* obj0
= 0 ;
9615 PyObject
* obj1
= 0 ;
9616 char * kwnames
[] = {
9617 (char *) "self",(char *) "icon", NULL
9620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9622 if (!SWIG_IsOK(res1
)) {
9623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9625 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9626 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9627 if (!SWIG_IsOK(res2
)) {
9628 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9631 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9633 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9636 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9637 wxPyEndAllowThreads(__tstate
);
9638 if (PyErr_Occurred()) SWIG_fail
;
9640 resultobj
= SWIG_Py_Void();
9647 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9648 PyObject
*resultobj
= 0;
9649 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9650 wxString
*arg2
= 0 ;
9654 bool temp2
= false ;
9657 PyObject
* obj0
= 0 ;
9658 PyObject
* obj1
= 0 ;
9659 PyObject
* obj2
= 0 ;
9660 char * kwnames
[] = {
9661 (char *) "self",(char *) "file",(char *) "type", NULL
9664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9666 if (!SWIG_IsOK(res1
)) {
9667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9669 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9671 arg2
= wxString_in_helper(obj1
);
9672 if (arg2
== NULL
) SWIG_fail
;
9675 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
9676 if (!SWIG_IsOK(ecode3
)) {
9677 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
9679 arg3
= static_cast< long >(val3
);
9681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9682 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
9683 wxPyEndAllowThreads(__tstate
);
9684 if (PyErr_Occurred()) SWIG_fail
;
9686 resultobj
= SWIG_Py_Void();
9701 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9702 PyObject
*resultobj
= 0;
9703 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9705 wxIcon
*result
= 0 ;
9709 PyObject
* obj0
= 0 ;
9710 PyObject
* obj1
= 0 ;
9711 char * kwnames
[] = {
9712 (char *) "self",(char *) "size", NULL
9715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9717 if (!SWIG_IsOK(res1
)) {
9718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
9720 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9723 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9728 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
9729 result
= (wxIcon
*) &_result_ref
;
9731 wxPyEndAllowThreads(__tstate
);
9732 if (PyErr_Occurred()) SWIG_fail
;
9735 wxIcon
* resultptr
= new wxIcon(*result
);
9736 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
9744 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9746 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9747 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
9748 return SWIG_Py_Void();
9751 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9752 return SWIG_Python_InitShadowInstance(args
);
9755 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9756 PyObject
*resultobj
= 0;
9757 wxString
*arg1
= 0 ;
9759 int arg3
= (int) 0 ;
9760 int arg4
= (int) 0 ;
9761 wxCursor
*result
= 0 ;
9762 bool temp1
= false ;
9769 PyObject
* obj0
= 0 ;
9770 PyObject
* obj1
= 0 ;
9771 PyObject
* obj2
= 0 ;
9772 PyObject
* obj3
= 0 ;
9773 char * kwnames
[] = {
9774 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
9777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9779 arg1
= wxString_in_helper(obj0
);
9780 if (arg1
== NULL
) SWIG_fail
;
9783 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9784 if (!SWIG_IsOK(ecode2
)) {
9785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
9787 arg2
= static_cast< long >(val2
);
9789 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9790 if (!SWIG_IsOK(ecode3
)) {
9791 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
9793 arg3
= static_cast< int >(val3
);
9796 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9797 if (!SWIG_IsOK(ecode4
)) {
9798 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
9800 arg4
= static_cast< int >(val4
);
9803 if (!wxPyCheckForApp()) SWIG_fail
;
9804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9805 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9806 wxPyEndAllowThreads(__tstate
);
9807 if (PyErr_Occurred()) SWIG_fail
;
9809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
9824 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9825 PyObject
*resultobj
= 0;
9826 wxCursor
*arg1
= (wxCursor
*) 0 ;
9829 PyObject
*swig_obj
[1] ;
9831 if (!args
) SWIG_fail
;
9833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
9834 if (!SWIG_IsOK(res1
)) {
9835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
9837 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9842 wxPyEndAllowThreads(__tstate
);
9843 if (PyErr_Occurred()) SWIG_fail
;
9845 resultobj
= SWIG_Py_Void();
9852 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9853 PyObject
*resultobj
= 0;
9855 wxCursor
*result
= 0 ;
9858 PyObject
* obj0
= 0 ;
9859 char * kwnames
[] = {
9863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
9864 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9865 if (!SWIG_IsOK(ecode1
)) {
9866 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
9868 arg1
= static_cast< int >(val1
);
9870 if (!wxPyCheckForApp()) SWIG_fail
;
9871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9872 result
= (wxCursor
*)new wxCursor(arg1
);
9873 wxPyEndAllowThreads(__tstate
);
9874 if (PyErr_Occurred()) SWIG_fail
;
9876 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
9883 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9884 PyObject
*resultobj
= 0;
9886 wxCursor
*result
= 0 ;
9889 PyObject
* obj0
= 0 ;
9890 char * kwnames
[] = {
9891 (char *) "image", NULL
9894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
9895 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
9896 if (!SWIG_IsOK(res1
)) {
9897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
9900 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
9902 arg1
= reinterpret_cast< wxImage
* >(argp1
);
9904 if (!wxPyCheckForApp()) SWIG_fail
;
9905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9906 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
9907 wxPyEndAllowThreads(__tstate
);
9908 if (PyErr_Occurred()) SWIG_fail
;
9910 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
9917 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9918 PyObject
*resultobj
= 0;
9919 wxCursor
*arg1
= (wxCursor
*) 0 ;
9923 PyObject
*swig_obj
[1] ;
9925 if (!args
) SWIG_fail
;
9927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
9928 if (!SWIG_IsOK(res1
)) {
9929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
9931 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9934 result
= (bool)(arg1
)->IsOk();
9935 wxPyEndAllowThreads(__tstate
);
9936 if (PyErr_Occurred()) SWIG_fail
;
9939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9947 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9949 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9950 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
9951 return SWIG_Py_Void();
9954 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9955 return SWIG_Python_InitShadowInstance(args
);
9958 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9959 PyObject
*resultobj
= 0;
9960 int arg1
= (int) 0 ;
9961 int arg2
= (int) 0 ;
9962 int arg3
= (int) 0 ;
9963 int arg4
= (int) 0 ;
9964 wxRegion
*result
= 0 ;
9973 PyObject
* obj0
= 0 ;
9974 PyObject
* obj1
= 0 ;
9975 PyObject
* obj2
= 0 ;
9976 PyObject
* obj3
= 0 ;
9977 char * kwnames
[] = {
9978 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9983 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9984 if (!SWIG_IsOK(ecode1
)) {
9985 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
9987 arg1
= static_cast< int >(val1
);
9990 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9991 if (!SWIG_IsOK(ecode2
)) {
9992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
9994 arg2
= static_cast< int >(val2
);
9997 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9998 if (!SWIG_IsOK(ecode3
)) {
9999 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10001 arg3
= static_cast< int >(val3
);
10004 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10005 if (!SWIG_IsOK(ecode4
)) {
10006 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10008 arg4
= static_cast< int >(val4
);
10011 if (!wxPyCheckForApp()) SWIG_fail
;
10012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10013 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10014 wxPyEndAllowThreads(__tstate
);
10015 if (PyErr_Occurred()) SWIG_fail
;
10017 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10024 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10025 PyObject
*resultobj
= 0;
10026 wxBitmap
*arg1
= 0 ;
10027 wxRegion
*result
= 0 ;
10030 PyObject
* obj0
= 0 ;
10031 char * kwnames
[] = {
10032 (char *) "bmp", NULL
10035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10036 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10037 if (!SWIG_IsOK(res1
)) {
10038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10041 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10043 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10045 if (!wxPyCheckForApp()) SWIG_fail
;
10046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10047 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10048 wxPyEndAllowThreads(__tstate
);
10049 if (PyErr_Occurred()) SWIG_fail
;
10051 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10058 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10059 PyObject
*resultobj
= 0;
10060 wxBitmap
*arg1
= 0 ;
10061 wxColour
*arg2
= 0 ;
10062 int arg3
= (int) 0 ;
10063 wxRegion
*result
= 0 ;
10069 PyObject
* obj0
= 0 ;
10070 PyObject
* obj1
= 0 ;
10071 PyObject
* obj2
= 0 ;
10072 char * kwnames
[] = {
10073 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10077 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10078 if (!SWIG_IsOK(res1
)) {
10079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10082 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10084 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10087 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10090 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10091 if (!SWIG_IsOK(ecode3
)) {
10092 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10094 arg3
= static_cast< int >(val3
);
10097 if (!wxPyCheckForApp()) SWIG_fail
;
10098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10099 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10100 wxPyEndAllowThreads(__tstate
);
10101 if (PyErr_Occurred()) SWIG_fail
;
10103 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10110 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10111 PyObject
*resultobj
= 0;
10113 wxPoint
*arg2
= (wxPoint
*) 0 ;
10114 int arg3
= (int) wxWINDING_RULE
;
10115 wxRegion
*result
= 0 ;
10118 PyObject
* obj0
= 0 ;
10119 PyObject
* obj1
= 0 ;
10120 char * kwnames
[] = {
10121 (char *) "points",(char *) "fillStyle", NULL
10124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10126 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10127 if (arg2
== NULL
) SWIG_fail
;
10130 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10131 if (!SWIG_IsOK(ecode3
)) {
10132 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10134 arg3
= static_cast< int >(val3
);
10137 if (!wxPyCheckForApp()) SWIG_fail
;
10138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10139 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10140 wxPyEndAllowThreads(__tstate
);
10141 if (PyErr_Occurred()) SWIG_fail
;
10143 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10145 if (arg2
) delete [] arg2
;
10150 if (arg2
) delete [] arg2
;
10156 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10157 PyObject
*resultobj
= 0;
10158 wxRegion
*arg1
= (wxRegion
*) 0 ;
10161 PyObject
*swig_obj
[1] ;
10163 if (!args
) SWIG_fail
;
10164 swig_obj
[0] = args
;
10165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10166 if (!SWIG_IsOK(res1
)) {
10167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10169 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10174 wxPyEndAllowThreads(__tstate
);
10175 if (PyErr_Occurred()) SWIG_fail
;
10177 resultobj
= SWIG_Py_Void();
10184 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10185 PyObject
*resultobj
= 0;
10186 wxRegion
*arg1
= (wxRegion
*) 0 ;
10189 PyObject
*swig_obj
[1] ;
10191 if (!args
) SWIG_fail
;
10192 swig_obj
[0] = args
;
10193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10194 if (!SWIG_IsOK(res1
)) {
10195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10197 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10201 wxPyEndAllowThreads(__tstate
);
10202 if (PyErr_Occurred()) SWIG_fail
;
10204 resultobj
= SWIG_Py_Void();
10211 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10212 PyObject
*resultobj
= 0;
10213 wxRegion
*arg1
= (wxRegion
*) 0 ;
10223 PyObject
* obj0
= 0 ;
10224 PyObject
* obj1
= 0 ;
10225 PyObject
* obj2
= 0 ;
10226 char * kwnames
[] = {
10227 (char *) "self",(char *) "x",(char *) "y", NULL
10230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10232 if (!SWIG_IsOK(res1
)) {
10233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10235 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10236 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10237 if (!SWIG_IsOK(ecode2
)) {
10238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10240 arg2
= static_cast< int >(val2
);
10241 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10242 if (!SWIG_IsOK(ecode3
)) {
10243 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10245 arg3
= static_cast< int >(val3
);
10247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10248 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10249 wxPyEndAllowThreads(__tstate
);
10250 if (PyErr_Occurred()) SWIG_fail
;
10253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10261 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10262 PyObject
*resultobj
= 0;
10263 wxRegion
*arg1
= (wxRegion
*) 0 ;
10266 wxRegionContain result
;
10273 PyObject
* obj0
= 0 ;
10274 PyObject
* obj1
= 0 ;
10275 PyObject
* obj2
= 0 ;
10276 char * kwnames
[] = {
10277 (char *) "self",(char *) "x",(char *) "y", NULL
10280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10282 if (!SWIG_IsOK(res1
)) {
10283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10285 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10287 if (!SWIG_IsOK(ecode2
)) {
10288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10290 arg2
= static_cast< int >(val2
);
10291 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10292 if (!SWIG_IsOK(ecode3
)) {
10293 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10295 arg3
= static_cast< int >(val3
);
10297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10298 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10299 wxPyEndAllowThreads(__tstate
);
10300 if (PyErr_Occurred()) SWIG_fail
;
10302 resultobj
= SWIG_From_int(static_cast< int >(result
));
10309 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10310 PyObject
*resultobj
= 0;
10311 wxRegion
*arg1
= (wxRegion
*) 0 ;
10312 wxPoint
*arg2
= 0 ;
10313 wxRegionContain result
;
10317 PyObject
* obj0
= 0 ;
10318 PyObject
* obj1
= 0 ;
10319 char * kwnames
[] = {
10320 (char *) "self",(char *) "pt", NULL
10323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10325 if (!SWIG_IsOK(res1
)) {
10326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10328 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10331 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10335 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10336 wxPyEndAllowThreads(__tstate
);
10337 if (PyErr_Occurred()) SWIG_fail
;
10339 resultobj
= SWIG_From_int(static_cast< int >(result
));
10346 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10347 PyObject
*resultobj
= 0;
10348 wxRegion
*arg1
= (wxRegion
*) 0 ;
10350 wxRegionContain result
;
10354 PyObject
* obj0
= 0 ;
10355 PyObject
* obj1
= 0 ;
10356 char * kwnames
[] = {
10357 (char *) "self",(char *) "rect", NULL
10360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10362 if (!SWIG_IsOK(res1
)) {
10363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10365 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10368 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10372 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10373 wxPyEndAllowThreads(__tstate
);
10374 if (PyErr_Occurred()) SWIG_fail
;
10376 resultobj
= SWIG_From_int(static_cast< int >(result
));
10383 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10384 PyObject
*resultobj
= 0;
10385 wxRegion
*arg1
= (wxRegion
*) 0 ;
10390 wxRegionContain result
;
10401 PyObject
* obj0
= 0 ;
10402 PyObject
* obj1
= 0 ;
10403 PyObject
* obj2
= 0 ;
10404 PyObject
* obj3
= 0 ;
10405 PyObject
* obj4
= 0 ;
10406 char * kwnames
[] = {
10407 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10412 if (!SWIG_IsOK(res1
)) {
10413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10415 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10416 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10417 if (!SWIG_IsOK(ecode2
)) {
10418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10420 arg2
= static_cast< int >(val2
);
10421 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10422 if (!SWIG_IsOK(ecode3
)) {
10423 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10425 arg3
= static_cast< int >(val3
);
10426 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10427 if (!SWIG_IsOK(ecode4
)) {
10428 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10430 arg4
= static_cast< int >(val4
);
10431 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10432 if (!SWIG_IsOK(ecode5
)) {
10433 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10435 arg5
= static_cast< int >(val5
);
10437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10438 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10439 wxPyEndAllowThreads(__tstate
);
10440 if (PyErr_Occurred()) SWIG_fail
;
10442 resultobj
= SWIG_From_int(static_cast< int >(result
));
10449 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10450 PyObject
*resultobj
= 0;
10451 wxRegion
*arg1
= (wxRegion
*) 0 ;
10455 PyObject
*swig_obj
[1] ;
10457 if (!args
) SWIG_fail
;
10458 swig_obj
[0] = args
;
10459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10460 if (!SWIG_IsOK(res1
)) {
10461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10463 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10466 result
= (arg1
)->GetBox();
10467 wxPyEndAllowThreads(__tstate
);
10468 if (PyErr_Occurred()) SWIG_fail
;
10470 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10477 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10478 PyObject
*resultobj
= 0;
10479 wxRegion
*arg1
= (wxRegion
*) 0 ;
10495 PyObject
* obj0
= 0 ;
10496 PyObject
* obj1
= 0 ;
10497 PyObject
* obj2
= 0 ;
10498 PyObject
* obj3
= 0 ;
10499 PyObject
* obj4
= 0 ;
10500 char * kwnames
[] = {
10501 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10506 if (!SWIG_IsOK(res1
)) {
10507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10509 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10510 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10511 if (!SWIG_IsOK(ecode2
)) {
10512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10514 arg2
= static_cast< int >(val2
);
10515 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10516 if (!SWIG_IsOK(ecode3
)) {
10517 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10519 arg3
= static_cast< int >(val3
);
10520 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10521 if (!SWIG_IsOK(ecode4
)) {
10522 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10524 arg4
= static_cast< int >(val4
);
10525 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10526 if (!SWIG_IsOK(ecode5
)) {
10527 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10529 arg5
= static_cast< int >(val5
);
10531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10532 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10533 wxPyEndAllowThreads(__tstate
);
10534 if (PyErr_Occurred()) SWIG_fail
;
10537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10545 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10546 PyObject
*resultobj
= 0;
10547 wxRegion
*arg1
= (wxRegion
*) 0 ;
10553 PyObject
* obj0
= 0 ;
10554 PyObject
* obj1
= 0 ;
10555 char * kwnames
[] = {
10556 (char *) "self",(char *) "rect", NULL
10559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10561 if (!SWIG_IsOK(res1
)) {
10562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10564 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10567 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10571 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10572 wxPyEndAllowThreads(__tstate
);
10573 if (PyErr_Occurred()) SWIG_fail
;
10576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10584 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10585 PyObject
*resultobj
= 0;
10586 wxRegion
*arg1
= (wxRegion
*) 0 ;
10587 wxRegion
*arg2
= 0 ;
10593 PyObject
* obj0
= 0 ;
10594 PyObject
* obj1
= 0 ;
10595 char * kwnames
[] = {
10596 (char *) "self",(char *) "region", NULL
10599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10601 if (!SWIG_IsOK(res1
)) {
10602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10604 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10605 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10606 if (!SWIG_IsOK(res2
)) {
10607 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10610 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10612 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10615 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10616 wxPyEndAllowThreads(__tstate
);
10617 if (PyErr_Occurred()) SWIG_fail
;
10620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10628 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10629 PyObject
*resultobj
= 0;
10630 wxRegion
*arg1
= (wxRegion
*) 0 ;
10634 PyObject
*swig_obj
[1] ;
10636 if (!args
) SWIG_fail
;
10637 swig_obj
[0] = args
;
10638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10639 if (!SWIG_IsOK(res1
)) {
10640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
10642 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10645 result
= (bool)(arg1
)->IsEmpty();
10646 wxPyEndAllowThreads(__tstate
);
10647 if (PyErr_Occurred()) SWIG_fail
;
10650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10658 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10659 PyObject
*resultobj
= 0;
10660 wxRegion
*arg1
= (wxRegion
*) 0 ;
10661 wxRegion
*arg2
= 0 ;
10667 PyObject
* obj0
= 0 ;
10668 PyObject
* obj1
= 0 ;
10669 char * kwnames
[] = {
10670 (char *) "self",(char *) "region", NULL
10673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10675 if (!SWIG_IsOK(res1
)) {
10676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
10678 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10679 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10680 if (!SWIG_IsOK(res2
)) {
10681 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
10684 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
10686 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10689 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
10690 wxPyEndAllowThreads(__tstate
);
10691 if (PyErr_Occurred()) SWIG_fail
;
10694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10702 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10703 PyObject
*resultobj
= 0;
10704 wxRegion
*arg1
= (wxRegion
*) 0 ;
10720 PyObject
* obj0
= 0 ;
10721 PyObject
* obj1
= 0 ;
10722 PyObject
* obj2
= 0 ;
10723 PyObject
* obj3
= 0 ;
10724 PyObject
* obj4
= 0 ;
10725 char * kwnames
[] = {
10726 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10731 if (!SWIG_IsOK(res1
)) {
10732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
10734 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10735 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10736 if (!SWIG_IsOK(ecode2
)) {
10737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
10739 arg2
= static_cast< int >(val2
);
10740 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10741 if (!SWIG_IsOK(ecode3
)) {
10742 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
10744 arg3
= static_cast< int >(val3
);
10745 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10746 if (!SWIG_IsOK(ecode4
)) {
10747 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
10749 arg4
= static_cast< int >(val4
);
10750 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10751 if (!SWIG_IsOK(ecode5
)) {
10752 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
10754 arg5
= static_cast< int >(val5
);
10756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10757 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
10758 wxPyEndAllowThreads(__tstate
);
10759 if (PyErr_Occurred()) SWIG_fail
;
10762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10770 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10771 PyObject
*resultobj
= 0;
10772 wxRegion
*arg1
= (wxRegion
*) 0 ;
10778 PyObject
* obj0
= 0 ;
10779 PyObject
* obj1
= 0 ;
10780 char * kwnames
[] = {
10781 (char *) "self",(char *) "rect", NULL
10784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10786 if (!SWIG_IsOK(res1
)) {
10787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10789 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10792 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10796 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
10797 wxPyEndAllowThreads(__tstate
);
10798 if (PyErr_Occurred()) SWIG_fail
;
10801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10809 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10810 PyObject
*resultobj
= 0;
10811 wxRegion
*arg1
= (wxRegion
*) 0 ;
10812 wxRegion
*arg2
= 0 ;
10818 PyObject
* obj0
= 0 ;
10819 PyObject
* obj1
= 0 ;
10820 char * kwnames
[] = {
10821 (char *) "self",(char *) "region", NULL
10824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10826 if (!SWIG_IsOK(res1
)) {
10827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10829 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10830 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10831 if (!SWIG_IsOK(res2
)) {
10832 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10835 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10837 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10840 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
10841 wxPyEndAllowThreads(__tstate
);
10842 if (PyErr_Occurred()) SWIG_fail
;
10845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10853 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10854 PyObject
*resultobj
= 0;
10855 wxRegion
*arg1
= (wxRegion
*) 0 ;
10871 PyObject
* obj0
= 0 ;
10872 PyObject
* obj1
= 0 ;
10873 PyObject
* obj2
= 0 ;
10874 PyObject
* obj3
= 0 ;
10875 PyObject
* obj4
= 0 ;
10876 char * kwnames
[] = {
10877 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10882 if (!SWIG_IsOK(res1
)) {
10883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
10885 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10887 if (!SWIG_IsOK(ecode2
)) {
10888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
10890 arg2
= static_cast< int >(val2
);
10891 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10892 if (!SWIG_IsOK(ecode3
)) {
10893 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
10895 arg3
= static_cast< int >(val3
);
10896 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10897 if (!SWIG_IsOK(ecode4
)) {
10898 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
10900 arg4
= static_cast< int >(val4
);
10901 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10902 if (!SWIG_IsOK(ecode5
)) {
10903 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
10905 arg5
= static_cast< int >(val5
);
10907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10908 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
10909 wxPyEndAllowThreads(__tstate
);
10910 if (PyErr_Occurred()) SWIG_fail
;
10913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10921 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10922 PyObject
*resultobj
= 0;
10923 wxRegion
*arg1
= (wxRegion
*) 0 ;
10929 PyObject
* obj0
= 0 ;
10930 PyObject
* obj1
= 0 ;
10931 char * kwnames
[] = {
10932 (char *) "self",(char *) "rect", NULL
10935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10937 if (!SWIG_IsOK(res1
)) {
10938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10940 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10943 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10947 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
10948 wxPyEndAllowThreads(__tstate
);
10949 if (PyErr_Occurred()) SWIG_fail
;
10952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10960 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10961 PyObject
*resultobj
= 0;
10962 wxRegion
*arg1
= (wxRegion
*) 0 ;
10963 wxRegion
*arg2
= 0 ;
10969 PyObject
* obj0
= 0 ;
10970 PyObject
* obj1
= 0 ;
10971 char * kwnames
[] = {
10972 (char *) "self",(char *) "region", NULL
10975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10977 if (!SWIG_IsOK(res1
)) {
10978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10980 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10981 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10982 if (!SWIG_IsOK(res2
)) {
10983 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10986 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10988 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10991 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
10992 wxPyEndAllowThreads(__tstate
);
10993 if (PyErr_Occurred()) SWIG_fail
;
10996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11004 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11005 PyObject
*resultobj
= 0;
11006 wxRegion
*arg1
= (wxRegion
*) 0 ;
11022 PyObject
* obj0
= 0 ;
11023 PyObject
* obj1
= 0 ;
11024 PyObject
* obj2
= 0 ;
11025 PyObject
* obj3
= 0 ;
11026 PyObject
* obj4
= 0 ;
11027 char * kwnames
[] = {
11028 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11033 if (!SWIG_IsOK(res1
)) {
11034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11036 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11037 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11038 if (!SWIG_IsOK(ecode2
)) {
11039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11041 arg2
= static_cast< int >(val2
);
11042 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11043 if (!SWIG_IsOK(ecode3
)) {
11044 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11046 arg3
= static_cast< int >(val3
);
11047 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11048 if (!SWIG_IsOK(ecode4
)) {
11049 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11051 arg4
= static_cast< int >(val4
);
11052 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11053 if (!SWIG_IsOK(ecode5
)) {
11054 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11056 arg5
= static_cast< int >(val5
);
11058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11059 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11060 wxPyEndAllowThreads(__tstate
);
11061 if (PyErr_Occurred()) SWIG_fail
;
11064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11072 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11073 PyObject
*resultobj
= 0;
11074 wxRegion
*arg1
= (wxRegion
*) 0 ;
11080 PyObject
* obj0
= 0 ;
11081 PyObject
* obj1
= 0 ;
11082 char * kwnames
[] = {
11083 (char *) "self",(char *) "rect", NULL
11086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11088 if (!SWIG_IsOK(res1
)) {
11089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11091 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11094 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11098 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11099 wxPyEndAllowThreads(__tstate
);
11100 if (PyErr_Occurred()) SWIG_fail
;
11103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11111 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11112 PyObject
*resultobj
= 0;
11113 wxRegion
*arg1
= (wxRegion
*) 0 ;
11114 wxRegion
*arg2
= 0 ;
11120 PyObject
* obj0
= 0 ;
11121 PyObject
* obj1
= 0 ;
11122 char * kwnames
[] = {
11123 (char *) "self",(char *) "region", NULL
11126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11128 if (!SWIG_IsOK(res1
)) {
11129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11131 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11132 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11133 if (!SWIG_IsOK(res2
)) {
11134 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11137 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11139 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11142 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11143 wxPyEndAllowThreads(__tstate
);
11144 if (PyErr_Occurred()) SWIG_fail
;
11147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11155 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11156 PyObject
*resultobj
= 0;
11157 wxRegion
*arg1
= (wxRegion
*) 0 ;
11158 SwigValueWrapper
<wxBitmap
> result
;
11161 PyObject
*swig_obj
[1] ;
11163 if (!args
) SWIG_fail
;
11164 swig_obj
[0] = args
;
11165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11166 if (!SWIG_IsOK(res1
)) {
11167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11169 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11172 result
= (arg1
)->ConvertToBitmap();
11173 wxPyEndAllowThreads(__tstate
);
11174 if (PyErr_Occurred()) SWIG_fail
;
11176 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11183 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11184 PyObject
*resultobj
= 0;
11185 wxRegion
*arg1
= (wxRegion
*) 0 ;
11186 wxBitmap
*arg2
= 0 ;
11192 PyObject
* obj0
= 0 ;
11193 PyObject
* obj1
= 0 ;
11194 char * kwnames
[] = {
11195 (char *) "self",(char *) "bmp", NULL
11198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11200 if (!SWIG_IsOK(res1
)) {
11201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11203 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11204 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11205 if (!SWIG_IsOK(res2
)) {
11206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11209 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11211 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11214 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11215 wxPyEndAllowThreads(__tstate
);
11216 if (PyErr_Occurred()) SWIG_fail
;
11219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11227 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11228 PyObject
*resultobj
= 0;
11229 wxRegion
*arg1
= (wxRegion
*) 0 ;
11230 wxBitmap
*arg2
= 0 ;
11231 wxColour
*arg3
= 0 ;
11232 int arg4
= (int) 0 ;
11241 PyObject
* obj0
= 0 ;
11242 PyObject
* obj1
= 0 ;
11243 PyObject
* obj2
= 0 ;
11244 PyObject
* obj3
= 0 ;
11245 char * kwnames
[] = {
11246 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11251 if (!SWIG_IsOK(res1
)) {
11252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11254 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11255 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11256 if (!SWIG_IsOK(res2
)) {
11257 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11260 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11262 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11265 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11268 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11269 if (!SWIG_IsOK(ecode4
)) {
11270 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11272 arg4
= static_cast< int >(val4
);
11275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11276 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11277 wxPyEndAllowThreads(__tstate
);
11278 if (PyErr_Occurred()) SWIG_fail
;
11281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11289 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11291 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11292 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11293 return SWIG_Py_Void();
11296 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11297 return SWIG_Python_InitShadowInstance(args
);
11300 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11301 PyObject
*resultobj
= 0;
11302 wxRegion
*arg1
= 0 ;
11303 wxRegionIterator
*result
= 0 ;
11306 PyObject
* obj0
= 0 ;
11307 char * kwnames
[] = {
11308 (char *) "region", NULL
11311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11312 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11313 if (!SWIG_IsOK(res1
)) {
11314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11317 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11319 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11321 if (!wxPyCheckForApp()) SWIG_fail
;
11322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11323 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11324 wxPyEndAllowThreads(__tstate
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11327 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11334 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11335 PyObject
*resultobj
= 0;
11336 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11339 PyObject
*swig_obj
[1] ;
11341 if (!args
) SWIG_fail
;
11342 swig_obj
[0] = args
;
11343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11344 if (!SWIG_IsOK(res1
)) {
11345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11347 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11352 wxPyEndAllowThreads(__tstate
);
11353 if (PyErr_Occurred()) SWIG_fail
;
11355 resultobj
= SWIG_Py_Void();
11362 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11363 PyObject
*resultobj
= 0;
11364 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11368 PyObject
*swig_obj
[1] ;
11370 if (!args
) SWIG_fail
;
11371 swig_obj
[0] = args
;
11372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11373 if (!SWIG_IsOK(res1
)) {
11374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11376 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11379 result
= (int)(arg1
)->GetX();
11380 wxPyEndAllowThreads(__tstate
);
11381 if (PyErr_Occurred()) SWIG_fail
;
11383 resultobj
= SWIG_From_int(static_cast< int >(result
));
11390 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11391 PyObject
*resultobj
= 0;
11392 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11396 PyObject
*swig_obj
[1] ;
11398 if (!args
) SWIG_fail
;
11399 swig_obj
[0] = args
;
11400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11401 if (!SWIG_IsOK(res1
)) {
11402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11404 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11407 result
= (int)(arg1
)->GetY();
11408 wxPyEndAllowThreads(__tstate
);
11409 if (PyErr_Occurred()) SWIG_fail
;
11411 resultobj
= SWIG_From_int(static_cast< int >(result
));
11418 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11419 PyObject
*resultobj
= 0;
11420 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11424 PyObject
*swig_obj
[1] ;
11426 if (!args
) SWIG_fail
;
11427 swig_obj
[0] = args
;
11428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11429 if (!SWIG_IsOK(res1
)) {
11430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11432 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11435 result
= (int)(arg1
)->GetW();
11436 wxPyEndAllowThreads(__tstate
);
11437 if (PyErr_Occurred()) SWIG_fail
;
11439 resultobj
= SWIG_From_int(static_cast< int >(result
));
11446 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11447 PyObject
*resultobj
= 0;
11448 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11452 PyObject
*swig_obj
[1] ;
11454 if (!args
) SWIG_fail
;
11455 swig_obj
[0] = args
;
11456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11457 if (!SWIG_IsOK(res1
)) {
11458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11460 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11463 result
= (int)(arg1
)->GetWidth();
11464 wxPyEndAllowThreads(__tstate
);
11465 if (PyErr_Occurred()) SWIG_fail
;
11467 resultobj
= SWIG_From_int(static_cast< int >(result
));
11474 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11475 PyObject
*resultobj
= 0;
11476 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11480 PyObject
*swig_obj
[1] ;
11482 if (!args
) SWIG_fail
;
11483 swig_obj
[0] = args
;
11484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11485 if (!SWIG_IsOK(res1
)) {
11486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11488 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11491 result
= (int)(arg1
)->GetH();
11492 wxPyEndAllowThreads(__tstate
);
11493 if (PyErr_Occurred()) SWIG_fail
;
11495 resultobj
= SWIG_From_int(static_cast< int >(result
));
11502 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11503 PyObject
*resultobj
= 0;
11504 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11508 PyObject
*swig_obj
[1] ;
11510 if (!args
) SWIG_fail
;
11511 swig_obj
[0] = args
;
11512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11513 if (!SWIG_IsOK(res1
)) {
11514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11516 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11519 result
= (int)(arg1
)->GetHeight();
11520 wxPyEndAllowThreads(__tstate
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11523 resultobj
= SWIG_From_int(static_cast< int >(result
));
11530 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11531 PyObject
*resultobj
= 0;
11532 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11536 PyObject
*swig_obj
[1] ;
11538 if (!args
) SWIG_fail
;
11539 swig_obj
[0] = args
;
11540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11541 if (!SWIG_IsOK(res1
)) {
11542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11544 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11547 result
= (arg1
)->GetRect();
11548 wxPyEndAllowThreads(__tstate
);
11549 if (PyErr_Occurred()) SWIG_fail
;
11551 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11558 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11559 PyObject
*resultobj
= 0;
11560 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11564 PyObject
*swig_obj
[1] ;
11566 if (!args
) SWIG_fail
;
11567 swig_obj
[0] = args
;
11568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11569 if (!SWIG_IsOK(res1
)) {
11570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11572 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11575 result
= (bool)(arg1
)->HaveRects();
11576 wxPyEndAllowThreads(__tstate
);
11577 if (PyErr_Occurred()) SWIG_fail
;
11580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11588 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11589 PyObject
*resultobj
= 0;
11590 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11593 PyObject
*swig_obj
[1] ;
11595 if (!args
) SWIG_fail
;
11596 swig_obj
[0] = args
;
11597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11598 if (!SWIG_IsOK(res1
)) {
11599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11601 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11605 wxPyEndAllowThreads(__tstate
);
11606 if (PyErr_Occurred()) SWIG_fail
;
11608 resultobj
= SWIG_Py_Void();
11615 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11616 PyObject
*resultobj
= 0;
11617 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11620 PyObject
*swig_obj
[1] ;
11622 if (!args
) SWIG_fail
;
11623 swig_obj
[0] = args
;
11624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11625 if (!SWIG_IsOK(res1
)) {
11626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11628 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11631 wxRegionIterator_Next(arg1
);
11632 wxPyEndAllowThreads(__tstate
);
11633 if (PyErr_Occurred()) SWIG_fail
;
11635 resultobj
= SWIG_Py_Void();
11642 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11643 PyObject
*resultobj
= 0;
11644 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11648 PyObject
*swig_obj
[1] ;
11650 if (!args
) SWIG_fail
;
11651 swig_obj
[0] = args
;
11652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11653 if (!SWIG_IsOK(res1
)) {
11654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11656 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11659 result
= (bool)wxRegionIterator___nonzero__(arg1
);
11660 wxPyEndAllowThreads(__tstate
);
11661 if (PyErr_Occurred()) SWIG_fail
;
11664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11672 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11674 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11675 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
11676 return SWIG_Py_Void();
11679 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11680 return SWIG_Python_InitShadowInstance(args
);
11683 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11684 PyObject
*resultobj
= 0;
11685 wxNativeFontInfo
*result
= 0 ;
11687 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
11689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11690 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
11691 wxPyEndAllowThreads(__tstate
);
11692 if (PyErr_Occurred()) SWIG_fail
;
11694 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
11701 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11702 PyObject
*resultobj
= 0;
11703 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11706 PyObject
*swig_obj
[1] ;
11708 if (!args
) SWIG_fail
;
11709 swig_obj
[0] = args
;
11710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
11711 if (!SWIG_IsOK(res1
)) {
11712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11714 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11719 wxPyEndAllowThreads(__tstate
);
11720 if (PyErr_Occurred()) SWIG_fail
;
11722 resultobj
= SWIG_Py_Void();
11729 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11730 PyObject
*resultobj
= 0;
11731 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11734 PyObject
*swig_obj
[1] ;
11736 if (!args
) SWIG_fail
;
11737 swig_obj
[0] = args
;
11738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11739 if (!SWIG_IsOK(res1
)) {
11740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11742 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11746 wxPyEndAllowThreads(__tstate
);
11747 if (PyErr_Occurred()) SWIG_fail
;
11749 resultobj
= SWIG_Py_Void();
11756 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11757 PyObject
*resultobj
= 0;
11758 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11764 PyObject
* obj0
= 0 ;
11765 PyObject
* obj1
= 0 ;
11766 char * kwnames
[] = {
11767 (char *) "self",(char *) "font", NULL
11770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11772 if (!SWIG_IsOK(res1
)) {
11773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11775 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11776 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
11777 if (!SWIG_IsOK(res2
)) {
11778 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11781 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11783 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11786 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
11787 wxPyEndAllowThreads(__tstate
);
11788 if (PyErr_Occurred()) SWIG_fail
;
11790 resultobj
= SWIG_Py_Void();
11797 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11798 PyObject
*resultobj
= 0;
11799 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11803 PyObject
*swig_obj
[1] ;
11805 if (!args
) SWIG_fail
;
11806 swig_obj
[0] = args
;
11807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11808 if (!SWIG_IsOK(res1
)) {
11809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11811 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11814 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
11815 wxPyEndAllowThreads(__tstate
);
11816 if (PyErr_Occurred()) SWIG_fail
;
11818 resultobj
= SWIG_From_int(static_cast< int >(result
));
11825 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11826 PyObject
*resultobj
= 0;
11827 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11828 wxFontStyle result
;
11831 PyObject
*swig_obj
[1] ;
11833 if (!args
) SWIG_fail
;
11834 swig_obj
[0] = args
;
11835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11836 if (!SWIG_IsOK(res1
)) {
11837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11839 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11842 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
11843 wxPyEndAllowThreads(__tstate
);
11844 if (PyErr_Occurred()) SWIG_fail
;
11846 resultobj
= SWIG_From_int(static_cast< int >(result
));
11853 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11854 PyObject
*resultobj
= 0;
11855 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11856 wxFontWeight result
;
11859 PyObject
*swig_obj
[1] ;
11861 if (!args
) SWIG_fail
;
11862 swig_obj
[0] = args
;
11863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11864 if (!SWIG_IsOK(res1
)) {
11865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11867 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11870 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
11871 wxPyEndAllowThreads(__tstate
);
11872 if (PyErr_Occurred()) SWIG_fail
;
11874 resultobj
= SWIG_From_int(static_cast< int >(result
));
11881 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11882 PyObject
*resultobj
= 0;
11883 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11887 PyObject
*swig_obj
[1] ;
11889 if (!args
) SWIG_fail
;
11890 swig_obj
[0] = args
;
11891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11892 if (!SWIG_IsOK(res1
)) {
11893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11895 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11898 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
11899 wxPyEndAllowThreads(__tstate
);
11900 if (PyErr_Occurred()) SWIG_fail
;
11903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11911 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11912 PyObject
*resultobj
= 0;
11913 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11917 PyObject
*swig_obj
[1] ;
11919 if (!args
) SWIG_fail
;
11920 swig_obj
[0] = args
;
11921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11922 if (!SWIG_IsOK(res1
)) {
11923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11925 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11928 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
11929 wxPyEndAllowThreads(__tstate
);
11930 if (PyErr_Occurred()) SWIG_fail
;
11934 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11936 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11945 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11946 PyObject
*resultobj
= 0;
11947 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11948 wxFontFamily result
;
11951 PyObject
*swig_obj
[1] ;
11953 if (!args
) SWIG_fail
;
11954 swig_obj
[0] = args
;
11955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11956 if (!SWIG_IsOK(res1
)) {
11957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11959 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11962 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
11963 wxPyEndAllowThreads(__tstate
);
11964 if (PyErr_Occurred()) SWIG_fail
;
11966 resultobj
= SWIG_From_int(static_cast< int >(result
));
11973 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11974 PyObject
*resultobj
= 0;
11975 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11976 wxFontEncoding result
;
11979 PyObject
*swig_obj
[1] ;
11981 if (!args
) SWIG_fail
;
11982 swig_obj
[0] = args
;
11983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11984 if (!SWIG_IsOK(res1
)) {
11985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11987 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11990 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
11991 wxPyEndAllowThreads(__tstate
);
11992 if (PyErr_Occurred()) SWIG_fail
;
11994 resultobj
= SWIG_From_int(static_cast< int >(result
));
12001 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12002 PyObject
*resultobj
= 0;
12003 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12009 PyObject
* obj0
= 0 ;
12010 PyObject
* obj1
= 0 ;
12011 char * kwnames
[] = {
12012 (char *) "self",(char *) "pointsize", NULL
12015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12017 if (!SWIG_IsOK(res1
)) {
12018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12020 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12022 if (!SWIG_IsOK(ecode2
)) {
12023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12025 arg2
= static_cast< int >(val2
);
12027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12028 (arg1
)->SetPointSize(arg2
);
12029 wxPyEndAllowThreads(__tstate
);
12030 if (PyErr_Occurred()) SWIG_fail
;
12032 resultobj
= SWIG_Py_Void();
12039 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12040 PyObject
*resultobj
= 0;
12041 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12047 PyObject
* obj0
= 0 ;
12048 PyObject
* obj1
= 0 ;
12049 char * kwnames
[] = {
12050 (char *) "self",(char *) "style", NULL
12053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12055 if (!SWIG_IsOK(res1
)) {
12056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12058 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12059 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12060 if (!SWIG_IsOK(ecode2
)) {
12061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12063 arg2
= static_cast< wxFontStyle
>(val2
);
12065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12066 (arg1
)->SetStyle(arg2
);
12067 wxPyEndAllowThreads(__tstate
);
12068 if (PyErr_Occurred()) SWIG_fail
;
12070 resultobj
= SWIG_Py_Void();
12077 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12078 PyObject
*resultobj
= 0;
12079 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12080 wxFontWeight arg2
;
12085 PyObject
* obj0
= 0 ;
12086 PyObject
* obj1
= 0 ;
12087 char * kwnames
[] = {
12088 (char *) "self",(char *) "weight", NULL
12091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12093 if (!SWIG_IsOK(res1
)) {
12094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12096 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12097 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12098 if (!SWIG_IsOK(ecode2
)) {
12099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12101 arg2
= static_cast< wxFontWeight
>(val2
);
12103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12104 (arg1
)->SetWeight(arg2
);
12105 wxPyEndAllowThreads(__tstate
);
12106 if (PyErr_Occurred()) SWIG_fail
;
12108 resultobj
= SWIG_Py_Void();
12115 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12116 PyObject
*resultobj
= 0;
12117 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12123 PyObject
* obj0
= 0 ;
12124 PyObject
* obj1
= 0 ;
12125 char * kwnames
[] = {
12126 (char *) "self",(char *) "underlined", NULL
12129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12131 if (!SWIG_IsOK(res1
)) {
12132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12134 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12135 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12136 if (!SWIG_IsOK(ecode2
)) {
12137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12139 arg2
= static_cast< bool >(val2
);
12141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12142 (arg1
)->SetUnderlined(arg2
);
12143 wxPyEndAllowThreads(__tstate
);
12144 if (PyErr_Occurred()) SWIG_fail
;
12146 resultobj
= SWIG_Py_Void();
12153 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12154 PyObject
*resultobj
= 0;
12155 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12160 PyObject
* obj0
= 0 ;
12161 PyObject
* obj1
= 0 ;
12162 char * kwnames
[] = {
12163 (char *) "self",(char *) "facename", NULL
12166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12168 if (!SWIG_IsOK(res1
)) {
12169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12171 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12173 wxString
* sptr
= wxString_in_helper(obj1
);
12174 if (sptr
== NULL
) SWIG_fail
;
12179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12180 result
= (bool)(arg1
)->SetFaceName(arg2
);
12181 wxPyEndAllowThreads(__tstate
);
12182 if (PyErr_Occurred()) SWIG_fail
;
12185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12193 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12194 PyObject
*resultobj
= 0;
12195 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12196 wxFontFamily arg2
;
12201 PyObject
* obj0
= 0 ;
12202 PyObject
* obj1
= 0 ;
12203 char * kwnames
[] = {
12204 (char *) "self",(char *) "family", NULL
12207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12209 if (!SWIG_IsOK(res1
)) {
12210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12212 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12213 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12214 if (!SWIG_IsOK(ecode2
)) {
12215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12217 arg2
= static_cast< wxFontFamily
>(val2
);
12219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12220 (arg1
)->SetFamily(arg2
);
12221 wxPyEndAllowThreads(__tstate
);
12222 if (PyErr_Occurred()) SWIG_fail
;
12224 resultobj
= SWIG_Py_Void();
12231 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12232 PyObject
*resultobj
= 0;
12233 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12234 wxFontEncoding arg2
;
12239 PyObject
* obj0
= 0 ;
12240 PyObject
* obj1
= 0 ;
12241 char * kwnames
[] = {
12242 (char *) "self",(char *) "encoding", NULL
12245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12247 if (!SWIG_IsOK(res1
)) {
12248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12250 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12251 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12252 if (!SWIG_IsOK(ecode2
)) {
12253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12255 arg2
= static_cast< wxFontEncoding
>(val2
);
12257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12258 (arg1
)->SetEncoding(arg2
);
12259 wxPyEndAllowThreads(__tstate
);
12260 if (PyErr_Occurred()) SWIG_fail
;
12262 resultobj
= SWIG_Py_Void();
12269 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12270 PyObject
*resultobj
= 0;
12271 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12272 wxString
*arg2
= 0 ;
12276 bool temp2
= false ;
12277 PyObject
* obj0
= 0 ;
12278 PyObject
* obj1
= 0 ;
12279 char * kwnames
[] = {
12280 (char *) "self",(char *) "s", NULL
12283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12285 if (!SWIG_IsOK(res1
)) {
12286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12288 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12290 arg2
= wxString_in_helper(obj1
);
12291 if (arg2
== NULL
) SWIG_fail
;
12295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12296 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12297 wxPyEndAllowThreads(__tstate
);
12298 if (PyErr_Occurred()) SWIG_fail
;
12301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12317 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12318 PyObject
*resultobj
= 0;
12319 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12323 PyObject
*swig_obj
[1] ;
12325 if (!args
) SWIG_fail
;
12326 swig_obj
[0] = args
;
12327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12328 if (!SWIG_IsOK(res1
)) {
12329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12331 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12334 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12335 wxPyEndAllowThreads(__tstate
);
12336 if (PyErr_Occurred()) SWIG_fail
;
12340 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12342 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12351 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12352 PyObject
*resultobj
= 0;
12353 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12357 PyObject
*swig_obj
[1] ;
12359 if (!args
) SWIG_fail
;
12360 swig_obj
[0] = args
;
12361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12362 if (!SWIG_IsOK(res1
)) {
12363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12365 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12368 result
= wxNativeFontInfo___str__(arg1
);
12369 wxPyEndAllowThreads(__tstate
);
12370 if (PyErr_Occurred()) SWIG_fail
;
12374 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12376 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12385 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12386 PyObject
*resultobj
= 0;
12387 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12388 wxString
*arg2
= 0 ;
12392 bool temp2
= false ;
12393 PyObject
* obj0
= 0 ;
12394 PyObject
* obj1
= 0 ;
12395 char * kwnames
[] = {
12396 (char *) "self",(char *) "s", NULL
12399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12401 if (!SWIG_IsOK(res1
)) {
12402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12404 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12406 arg2
= wxString_in_helper(obj1
);
12407 if (arg2
== NULL
) SWIG_fail
;
12411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12412 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12413 wxPyEndAllowThreads(__tstate
);
12414 if (PyErr_Occurred()) SWIG_fail
;
12417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12433 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12434 PyObject
*resultobj
= 0;
12435 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12439 PyObject
*swig_obj
[1] ;
12441 if (!args
) SWIG_fail
;
12442 swig_obj
[0] = args
;
12443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12444 if (!SWIG_IsOK(res1
)) {
12445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12447 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12450 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12451 wxPyEndAllowThreads(__tstate
);
12452 if (PyErr_Occurred()) SWIG_fail
;
12456 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12458 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12467 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12469 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12470 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12471 return SWIG_Py_Void();
12474 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12475 return SWIG_Python_InitShadowInstance(args
);
12478 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12479 PyObject
*resultobj
= 0;
12480 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12481 wxString
*arg2
= (wxString
*) 0 ;
12484 bool temp2
= false ;
12485 PyObject
*swig_obj
[2] ;
12487 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12489 if (!SWIG_IsOK(res1
)) {
12490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12492 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12494 arg2
= wxString_in_helper(swig_obj
[1]);
12495 if (arg2
== NULL
) SWIG_fail
;
12498 if (arg1
) (arg1
)->facename
= *arg2
;
12500 resultobj
= SWIG_Py_Void();
12515 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12516 PyObject
*resultobj
= 0;
12517 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12518 wxString
*result
= 0 ;
12521 PyObject
*swig_obj
[1] ;
12523 if (!args
) SWIG_fail
;
12524 swig_obj
[0] = args
;
12525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12526 if (!SWIG_IsOK(res1
)) {
12527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12529 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12530 result
= (wxString
*)& ((arg1
)->facename
);
12533 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12535 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12544 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12545 PyObject
*resultobj
= 0;
12546 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12547 wxFontEncoding arg2
;
12552 PyObject
*swig_obj
[2] ;
12554 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12556 if (!SWIG_IsOK(res1
)) {
12557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12559 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12560 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12561 if (!SWIG_IsOK(ecode2
)) {
12562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12564 arg2
= static_cast< wxFontEncoding
>(val2
);
12565 if (arg1
) (arg1
)->encoding
= arg2
;
12567 resultobj
= SWIG_Py_Void();
12574 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12575 PyObject
*resultobj
= 0;
12576 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12577 wxFontEncoding result
;
12580 PyObject
*swig_obj
[1] ;
12582 if (!args
) SWIG_fail
;
12583 swig_obj
[0] = args
;
12584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12585 if (!SWIG_IsOK(res1
)) {
12586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12588 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12589 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12590 resultobj
= SWIG_From_int(static_cast< int >(result
));
12597 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12598 PyObject
*resultobj
= 0;
12599 wxNativeEncodingInfo
*result
= 0 ;
12601 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12604 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12605 wxPyEndAllowThreads(__tstate
);
12606 if (PyErr_Occurred()) SWIG_fail
;
12608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12615 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12616 PyObject
*resultobj
= 0;
12617 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12620 PyObject
*swig_obj
[1] ;
12622 if (!args
) SWIG_fail
;
12623 swig_obj
[0] = args
;
12624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12625 if (!SWIG_IsOK(res1
)) {
12626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12628 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12633 wxPyEndAllowThreads(__tstate
);
12634 if (PyErr_Occurred()) SWIG_fail
;
12636 resultobj
= SWIG_Py_Void();
12643 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12644 PyObject
*resultobj
= 0;
12645 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12646 wxString
*arg2
= 0 ;
12650 bool temp2
= false ;
12651 PyObject
* obj0
= 0 ;
12652 PyObject
* obj1
= 0 ;
12653 char * kwnames
[] = {
12654 (char *) "self",(char *) "s", NULL
12657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12659 if (!SWIG_IsOK(res1
)) {
12660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12662 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12664 arg2
= wxString_in_helper(obj1
);
12665 if (arg2
== NULL
) SWIG_fail
;
12669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12670 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12671 wxPyEndAllowThreads(__tstate
);
12672 if (PyErr_Occurred()) SWIG_fail
;
12675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12691 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12692 PyObject
*resultobj
= 0;
12693 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12697 PyObject
*swig_obj
[1] ;
12699 if (!args
) SWIG_fail
;
12700 swig_obj
[0] = args
;
12701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12702 if (!SWIG_IsOK(res1
)) {
12703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
12705 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12708 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
12709 wxPyEndAllowThreads(__tstate
);
12710 if (PyErr_Occurred()) SWIG_fail
;
12714 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12716 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12725 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12727 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12728 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
12729 return SWIG_Py_Void();
12732 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12733 return SWIG_Python_InitShadowInstance(args
);
12736 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12737 PyObject
*resultobj
= 0;
12738 wxFontEncoding arg1
;
12739 wxNativeEncodingInfo
*result
= 0 ;
12742 PyObject
* obj0
= 0 ;
12743 char * kwnames
[] = {
12744 (char *) "encoding", NULL
12747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12748 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12749 if (!SWIG_IsOK(ecode1
)) {
12750 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12752 arg1
= static_cast< wxFontEncoding
>(val1
);
12754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12755 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
12756 wxPyEndAllowThreads(__tstate
);
12757 if (PyErr_Occurred()) SWIG_fail
;
12759 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12766 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12767 PyObject
*resultobj
= 0;
12768 wxNativeEncodingInfo
*arg1
= 0 ;
12772 PyObject
* obj0
= 0 ;
12773 char * kwnames
[] = {
12774 (char *) "info", NULL
12777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12778 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
12779 if (!SWIG_IsOK(res1
)) {
12780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12783 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12785 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12788 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
12789 wxPyEndAllowThreads(__tstate
);
12790 if (PyErr_Occurred()) SWIG_fail
;
12793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12801 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12802 PyObject
*resultobj
= 0;
12803 wxFontMapper
*result
= 0 ;
12805 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
12807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12808 result
= (wxFontMapper
*)new wxFontMapper();
12809 wxPyEndAllowThreads(__tstate
);
12810 if (PyErr_Occurred()) SWIG_fail
;
12812 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
12819 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12820 PyObject
*resultobj
= 0;
12821 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12824 PyObject
*swig_obj
[1] ;
12826 if (!args
) SWIG_fail
;
12827 swig_obj
[0] = args
;
12828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
12829 if (!SWIG_IsOK(res1
)) {
12830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12832 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12837 wxPyEndAllowThreads(__tstate
);
12838 if (PyErr_Occurred()) SWIG_fail
;
12840 resultobj
= SWIG_Py_Void();
12847 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12848 PyObject
*resultobj
= 0;
12849 wxFontMapper
*result
= 0 ;
12851 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
12853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12854 result
= (wxFontMapper
*)wxFontMapper::Get();
12855 wxPyEndAllowThreads(__tstate
);
12856 if (PyErr_Occurred()) SWIG_fail
;
12858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12865 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12866 PyObject
*resultobj
= 0;
12867 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12868 wxFontMapper
*result
= 0 ;
12871 PyObject
* obj0
= 0 ;
12872 char * kwnames
[] = {
12873 (char *) "mapper", NULL
12876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
12877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12878 if (!SWIG_IsOK(res1
)) {
12879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12881 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12884 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
12885 wxPyEndAllowThreads(__tstate
);
12886 if (PyErr_Occurred()) SWIG_fail
;
12888 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12895 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12896 PyObject
*resultobj
= 0;
12897 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12898 wxString
*arg2
= 0 ;
12899 bool arg3
= (bool) true ;
12900 wxFontEncoding result
;
12903 bool temp2
= false ;
12906 PyObject
* obj0
= 0 ;
12907 PyObject
* obj1
= 0 ;
12908 PyObject
* obj2
= 0 ;
12909 char * kwnames
[] = {
12910 (char *) "self",(char *) "charset",(char *) "interactive", NULL
12913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12915 if (!SWIG_IsOK(res1
)) {
12916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12918 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12920 arg2
= wxString_in_helper(obj1
);
12921 if (arg2
== NULL
) SWIG_fail
;
12925 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12926 if (!SWIG_IsOK(ecode3
)) {
12927 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
12929 arg3
= static_cast< bool >(val3
);
12932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12933 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
12934 wxPyEndAllowThreads(__tstate
);
12935 if (PyErr_Occurred()) SWIG_fail
;
12937 resultobj
= SWIG_From_int(static_cast< int >(result
));
12952 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12953 PyObject
*resultobj
= 0;
12956 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
12958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12959 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
12960 wxPyEndAllowThreads(__tstate
);
12961 if (PyErr_Occurred()) SWIG_fail
;
12963 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
12970 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12971 PyObject
*resultobj
= 0;
12973 wxFontEncoding result
;
12976 PyObject
* obj0
= 0 ;
12977 char * kwnames
[] = {
12981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
12982 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
12983 if (!SWIG_IsOK(ecode1
)) {
12984 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
12986 arg1
= static_cast< size_t >(val1
);
12988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12989 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
12990 wxPyEndAllowThreads(__tstate
);
12991 if (PyErr_Occurred()) SWIG_fail
;
12993 resultobj
= SWIG_From_int(static_cast< int >(result
));
13000 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13001 PyObject
*resultobj
= 0;
13002 wxFontEncoding arg1
;
13006 PyObject
* obj0
= 0 ;
13007 char * kwnames
[] = {
13008 (char *) "encoding", NULL
13011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13012 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13013 if (!SWIG_IsOK(ecode1
)) {
13014 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13016 arg1
= static_cast< wxFontEncoding
>(val1
);
13018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13019 result
= wxFontMapper::GetEncodingName(arg1
);
13020 wxPyEndAllowThreads(__tstate
);
13021 if (PyErr_Occurred()) SWIG_fail
;
13025 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13027 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13036 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13037 PyObject
*resultobj
= 0;
13038 wxFontEncoding arg1
;
13042 PyObject
* obj0
= 0 ;
13043 char * kwnames
[] = {
13044 (char *) "encoding", NULL
13047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13048 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13049 if (!SWIG_IsOK(ecode1
)) {
13050 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13052 arg1
= static_cast< wxFontEncoding
>(val1
);
13054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13055 result
= wxFontMapper::GetEncodingDescription(arg1
);
13056 wxPyEndAllowThreads(__tstate
);
13057 if (PyErr_Occurred()) SWIG_fail
;
13061 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13063 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13072 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13073 PyObject
*resultobj
= 0;
13074 wxString
*arg1
= 0 ;
13075 wxFontEncoding result
;
13076 bool temp1
= false ;
13077 PyObject
* obj0
= 0 ;
13078 char * kwnames
[] = {
13079 (char *) "name", NULL
13082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13084 arg1
= wxString_in_helper(obj0
);
13085 if (arg1
== NULL
) SWIG_fail
;
13089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13090 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13091 wxPyEndAllowThreads(__tstate
);
13092 if (PyErr_Occurred()) SWIG_fail
;
13094 resultobj
= SWIG_From_int(static_cast< int >(result
));
13109 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13110 PyObject
*resultobj
= 0;
13111 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13112 wxString
*arg2
= 0 ;
13115 bool temp2
= false ;
13116 PyObject
* obj0
= 0 ;
13117 PyObject
* obj1
= 0 ;
13118 char * kwnames
[] = {
13119 (char *) "self",(char *) "prefix", NULL
13122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13124 if (!SWIG_IsOK(res1
)) {
13125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13127 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13129 arg2
= wxString_in_helper(obj1
);
13130 if (arg2
== NULL
) SWIG_fail
;
13134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13135 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13136 wxPyEndAllowThreads(__tstate
);
13137 if (PyErr_Occurred()) SWIG_fail
;
13139 resultobj
= SWIG_Py_Void();
13154 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13155 PyObject
*resultobj
= 0;
13158 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13161 result
= wxFontMapper::GetDefaultConfigPath();
13162 wxPyEndAllowThreads(__tstate
);
13163 if (PyErr_Occurred()) SWIG_fail
;
13167 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13169 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13178 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13179 PyObject
*resultobj
= 0;
13180 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13181 wxFontEncoding arg2
;
13182 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13183 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13184 bool arg4
= (bool) true ;
13185 PyObject
*result
= 0 ;
13190 bool temp3
= false ;
13193 PyObject
* obj0
= 0 ;
13194 PyObject
* obj1
= 0 ;
13195 PyObject
* obj2
= 0 ;
13196 PyObject
* obj3
= 0 ;
13197 char * kwnames
[] = {
13198 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13203 if (!SWIG_IsOK(res1
)) {
13204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13206 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13207 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13208 if (!SWIG_IsOK(ecode2
)) {
13209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13211 arg2
= static_cast< wxFontEncoding
>(val2
);
13214 arg3
= wxString_in_helper(obj2
);
13215 if (arg3
== NULL
) SWIG_fail
;
13220 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13221 if (!SWIG_IsOK(ecode4
)) {
13222 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13224 arg4
= static_cast< bool >(val4
);
13227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13228 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13229 wxPyEndAllowThreads(__tstate
);
13230 if (PyErr_Occurred()) SWIG_fail
;
13232 resultobj
= result
;
13247 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13248 PyObject
*resultobj
= 0;
13249 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13250 wxFontEncoding arg2
;
13251 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13252 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13258 bool temp3
= false ;
13259 PyObject
* obj0
= 0 ;
13260 PyObject
* obj1
= 0 ;
13261 PyObject
* obj2
= 0 ;
13262 char * kwnames
[] = {
13263 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13268 if (!SWIG_IsOK(res1
)) {
13269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13271 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13272 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13273 if (!SWIG_IsOK(ecode2
)) {
13274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13276 arg2
= static_cast< wxFontEncoding
>(val2
);
13279 arg3
= wxString_in_helper(obj2
);
13280 if (arg3
== NULL
) SWIG_fail
;
13285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13286 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13287 wxPyEndAllowThreads(__tstate
);
13288 if (PyErr_Occurred()) SWIG_fail
;
13291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13307 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13308 PyObject
*resultobj
= 0;
13309 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13310 wxWindow
*arg2
= (wxWindow
*) 0 ;
13315 PyObject
* obj0
= 0 ;
13316 PyObject
* obj1
= 0 ;
13317 char * kwnames
[] = {
13318 (char *) "self",(char *) "parent", NULL
13321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13323 if (!SWIG_IsOK(res1
)) {
13324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13326 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13327 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13328 if (!SWIG_IsOK(res2
)) {
13329 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13331 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13334 (arg1
)->SetDialogParent(arg2
);
13335 wxPyEndAllowThreads(__tstate
);
13336 if (PyErr_Occurred()) SWIG_fail
;
13338 resultobj
= SWIG_Py_Void();
13345 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13346 PyObject
*resultobj
= 0;
13347 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13348 wxString
*arg2
= 0 ;
13351 bool temp2
= false ;
13352 PyObject
* obj0
= 0 ;
13353 PyObject
* obj1
= 0 ;
13354 char * kwnames
[] = {
13355 (char *) "self",(char *) "title", NULL
13358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13360 if (!SWIG_IsOK(res1
)) {
13361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13363 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13365 arg2
= wxString_in_helper(obj1
);
13366 if (arg2
== NULL
) SWIG_fail
;
13370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13371 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13372 wxPyEndAllowThreads(__tstate
);
13373 if (PyErr_Occurred()) SWIG_fail
;
13375 resultobj
= SWIG_Py_Void();
13390 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13392 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13393 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13394 return SWIG_Py_Void();
13397 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13398 return SWIG_Python_InitShadowInstance(args
);
13401 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13402 PyObject
*resultobj
= 0;
13407 bool arg5
= (bool) false ;
13408 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13409 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13410 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13411 wxFont
*result
= 0 ;
13422 bool temp6
= false ;
13425 PyObject
* obj0
= 0 ;
13426 PyObject
* obj1
= 0 ;
13427 PyObject
* obj2
= 0 ;
13428 PyObject
* obj3
= 0 ;
13429 PyObject
* obj4
= 0 ;
13430 PyObject
* obj5
= 0 ;
13431 PyObject
* obj6
= 0 ;
13432 char * kwnames
[] = {
13433 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13437 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13438 if (!SWIG_IsOK(ecode1
)) {
13439 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13441 arg1
= static_cast< int >(val1
);
13442 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13443 if (!SWIG_IsOK(ecode2
)) {
13444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13446 arg2
= static_cast< int >(val2
);
13447 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13448 if (!SWIG_IsOK(ecode3
)) {
13449 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13451 arg3
= static_cast< int >(val3
);
13452 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13453 if (!SWIG_IsOK(ecode4
)) {
13454 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13456 arg4
= static_cast< int >(val4
);
13458 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13459 if (!SWIG_IsOK(ecode5
)) {
13460 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13462 arg5
= static_cast< bool >(val5
);
13466 arg6
= wxString_in_helper(obj5
);
13467 if (arg6
== NULL
) SWIG_fail
;
13472 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13473 if (!SWIG_IsOK(ecode7
)) {
13474 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13476 arg7
= static_cast< wxFontEncoding
>(val7
);
13479 if (!wxPyCheckForApp()) SWIG_fail
;
13480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13481 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13482 wxPyEndAllowThreads(__tstate
);
13483 if (PyErr_Occurred()) SWIG_fail
;
13485 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13500 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13501 PyObject
*resultobj
= 0;
13502 wxFont
*arg1
= (wxFont
*) 0 ;
13505 PyObject
*swig_obj
[1] ;
13507 if (!args
) SWIG_fail
;
13508 swig_obj
[0] = args
;
13509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13510 if (!SWIG_IsOK(res1
)) {
13511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13513 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13518 wxPyEndAllowThreads(__tstate
);
13519 if (PyErr_Occurred()) SWIG_fail
;
13521 resultobj
= SWIG_Py_Void();
13528 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13529 PyObject
*resultobj
= 0;
13530 wxNativeFontInfo
*arg1
= 0 ;
13531 wxFont
*result
= 0 ;
13534 PyObject
* obj0
= 0 ;
13535 char * kwnames
[] = {
13536 (char *) "info", NULL
13539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13540 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13541 if (!SWIG_IsOK(res1
)) {
13542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13545 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13547 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13549 if (!wxPyCheckForApp()) SWIG_fail
;
13550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13551 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13552 wxPyEndAllowThreads(__tstate
);
13553 if (PyErr_Occurred()) SWIG_fail
;
13555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13562 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13563 PyObject
*resultobj
= 0;
13564 wxString
*arg1
= 0 ;
13565 wxFont
*result
= 0 ;
13566 bool temp1
= false ;
13567 PyObject
* obj0
= 0 ;
13568 char * kwnames
[] = {
13569 (char *) "info", NULL
13572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13574 arg1
= wxString_in_helper(obj0
);
13575 if (arg1
== NULL
) SWIG_fail
;
13579 if (!wxPyCheckForApp()) SWIG_fail
;
13580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13581 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13582 wxPyEndAllowThreads(__tstate
);
13583 if (PyErr_Occurred()) SWIG_fail
;
13585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13600 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13601 PyObject
*resultobj
= 0;
13603 wxFontFamily arg2
;
13604 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13605 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13606 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13607 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13608 wxFont
*result
= 0 ;
13615 bool temp4
= false ;
13618 PyObject
* obj0
= 0 ;
13619 PyObject
* obj1
= 0 ;
13620 PyObject
* obj2
= 0 ;
13621 PyObject
* obj3
= 0 ;
13622 PyObject
* obj4
= 0 ;
13623 char * kwnames
[] = {
13624 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13628 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13629 if (!SWIG_IsOK(ecode1
)) {
13630 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
13632 arg1
= static_cast< int >(val1
);
13633 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13634 if (!SWIG_IsOK(ecode2
)) {
13635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
13637 arg2
= static_cast< wxFontFamily
>(val2
);
13639 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13640 if (!SWIG_IsOK(ecode3
)) {
13641 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
13643 arg3
= static_cast< int >(val3
);
13647 arg4
= wxString_in_helper(obj3
);
13648 if (arg4
== NULL
) SWIG_fail
;
13653 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13654 if (!SWIG_IsOK(ecode5
)) {
13655 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13657 arg5
= static_cast< wxFontEncoding
>(val5
);
13660 if (!wxPyCheckForApp()) SWIG_fail
;
13661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13662 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13663 wxPyEndAllowThreads(__tstate
);
13664 if (PyErr_Occurred()) SWIG_fail
;
13666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13681 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13682 PyObject
*resultobj
= 0;
13687 bool arg5
= (bool) false ;
13688 wxString
const &arg6_defvalue
= wxEmptyString
;
13689 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13690 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13691 wxFont
*result
= 0 ;
13701 bool temp6
= false ;
13704 PyObject
* obj0
= 0 ;
13705 PyObject
* obj1
= 0 ;
13706 PyObject
* obj2
= 0 ;
13707 PyObject
* obj3
= 0 ;
13708 PyObject
* obj4
= 0 ;
13709 PyObject
* obj5
= 0 ;
13710 PyObject
* obj6
= 0 ;
13711 char * kwnames
[] = {
13712 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
13715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13718 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13720 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13721 if (!SWIG_IsOK(ecode2
)) {
13722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
13724 arg2
= static_cast< int >(val2
);
13725 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13726 if (!SWIG_IsOK(ecode3
)) {
13727 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13729 arg3
= static_cast< int >(val3
);
13730 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13731 if (!SWIG_IsOK(ecode4
)) {
13732 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
13734 arg4
= static_cast< int >(val4
);
13736 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13737 if (!SWIG_IsOK(ecode5
)) {
13738 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
13740 arg5
= static_cast< bool >(val5
);
13744 arg6
= wxString_in_helper(obj5
);
13745 if (arg6
== NULL
) SWIG_fail
;
13750 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13751 if (!SWIG_IsOK(ecode7
)) {
13752 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13754 arg7
= static_cast< wxFontEncoding
>(val7
);
13757 if (!wxPyCheckForApp()) SWIG_fail
;
13758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13759 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13760 wxPyEndAllowThreads(__tstate
);
13761 if (PyErr_Occurred()) SWIG_fail
;
13763 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13778 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13779 PyObject
*resultobj
= 0;
13781 wxFontFamily arg2
;
13782 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13783 wxString
const &arg4_defvalue
= wxEmptyString
;
13784 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13785 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13786 wxFont
*result
= 0 ;
13792 bool temp4
= false ;
13795 PyObject
* obj0
= 0 ;
13796 PyObject
* obj1
= 0 ;
13797 PyObject
* obj2
= 0 ;
13798 PyObject
* obj3
= 0 ;
13799 PyObject
* obj4
= 0 ;
13800 char * kwnames
[] = {
13801 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13807 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13809 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13810 if (!SWIG_IsOK(ecode2
)) {
13811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
13813 arg2
= static_cast< wxFontFamily
>(val2
);
13815 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13816 if (!SWIG_IsOK(ecode3
)) {
13817 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13819 arg3
= static_cast< int >(val3
);
13823 arg4
= wxString_in_helper(obj3
);
13824 if (arg4
== NULL
) SWIG_fail
;
13829 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13830 if (!SWIG_IsOK(ecode5
)) {
13831 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13833 arg5
= static_cast< wxFontEncoding
>(val5
);
13836 if (!wxPyCheckForApp()) SWIG_fail
;
13837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13838 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13839 wxPyEndAllowThreads(__tstate
);
13840 if (PyErr_Occurred()) SWIG_fail
;
13842 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13857 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13858 PyObject
*resultobj
= 0;
13859 wxFont
*arg1
= (wxFont
*) 0 ;
13863 PyObject
*swig_obj
[1] ;
13865 if (!args
) SWIG_fail
;
13866 swig_obj
[0] = args
;
13867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13868 if (!SWIG_IsOK(res1
)) {
13869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
13871 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13874 result
= (bool)((wxFont
const *)arg1
)->IsOk();
13875 wxPyEndAllowThreads(__tstate
);
13876 if (PyErr_Occurred()) SWIG_fail
;
13879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13887 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13888 PyObject
*resultobj
= 0;
13889 wxFont
*arg1
= (wxFont
*) 0 ;
13890 wxFont
*arg2
= (wxFont
*) 0 ;
13896 PyObject
* obj0
= 0 ;
13897 PyObject
* obj1
= 0 ;
13898 char * kwnames
[] = {
13899 (char *) "self",(char *) "other", NULL
13902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13904 if (!SWIG_IsOK(res1
)) {
13905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
13907 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13908 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
13909 if (!SWIG_IsOK(res2
)) {
13910 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
13912 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13915 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
13916 wxPyEndAllowThreads(__tstate
);
13917 if (PyErr_Occurred()) SWIG_fail
;
13920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13928 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13929 PyObject
*resultobj
= 0;
13930 wxFont
*arg1
= (wxFont
*) 0 ;
13931 wxFont
*arg2
= (wxFont
*) 0 ;
13937 PyObject
* obj0
= 0 ;
13938 PyObject
* obj1
= 0 ;
13939 char * kwnames
[] = {
13940 (char *) "self",(char *) "other", NULL
13943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13945 if (!SWIG_IsOK(res1
)) {
13946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
13948 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13949 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
13950 if (!SWIG_IsOK(res2
)) {
13951 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
13953 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13956 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
13957 wxPyEndAllowThreads(__tstate
);
13958 if (PyErr_Occurred()) SWIG_fail
;
13961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13969 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13970 PyObject
*resultobj
= 0;
13971 wxFont
*arg1
= (wxFont
*) 0 ;
13975 PyObject
*swig_obj
[1] ;
13977 if (!args
) SWIG_fail
;
13978 swig_obj
[0] = args
;
13979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13980 if (!SWIG_IsOK(res1
)) {
13981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
13983 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13986 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
13987 wxPyEndAllowThreads(__tstate
);
13988 if (PyErr_Occurred()) SWIG_fail
;
13990 resultobj
= SWIG_From_int(static_cast< int >(result
));
13997 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13998 PyObject
*resultobj
= 0;
13999 wxFont
*arg1
= (wxFont
*) 0 ;
14003 PyObject
*swig_obj
[1] ;
14005 if (!args
) SWIG_fail
;
14006 swig_obj
[0] = args
;
14007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14008 if (!SWIG_IsOK(res1
)) {
14009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14011 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14014 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14015 wxPyEndAllowThreads(__tstate
);
14016 if (PyErr_Occurred()) SWIG_fail
;
14018 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14025 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14026 PyObject
*resultobj
= 0;
14027 wxFont
*arg1
= (wxFont
*) 0 ;
14031 PyObject
*swig_obj
[1] ;
14033 if (!args
) SWIG_fail
;
14034 swig_obj
[0] = args
;
14035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14036 if (!SWIG_IsOK(res1
)) {
14037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14039 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14042 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14043 wxPyEndAllowThreads(__tstate
);
14044 if (PyErr_Occurred()) SWIG_fail
;
14047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14055 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14056 PyObject
*resultobj
= 0;
14057 wxFont
*arg1
= (wxFont
*) 0 ;
14061 PyObject
*swig_obj
[1] ;
14063 if (!args
) SWIG_fail
;
14064 swig_obj
[0] = args
;
14065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14066 if (!SWIG_IsOK(res1
)) {
14067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14069 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14072 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14073 wxPyEndAllowThreads(__tstate
);
14074 if (PyErr_Occurred()) SWIG_fail
;
14076 resultobj
= SWIG_From_int(static_cast< int >(result
));
14083 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14084 PyObject
*resultobj
= 0;
14085 wxFont
*arg1
= (wxFont
*) 0 ;
14089 PyObject
*swig_obj
[1] ;
14091 if (!args
) SWIG_fail
;
14092 swig_obj
[0] = args
;
14093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14094 if (!SWIG_IsOK(res1
)) {
14095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14097 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14100 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14101 wxPyEndAllowThreads(__tstate
);
14102 if (PyErr_Occurred()) SWIG_fail
;
14104 resultobj
= SWIG_From_int(static_cast< int >(result
));
14111 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14112 PyObject
*resultobj
= 0;
14113 wxFont
*arg1
= (wxFont
*) 0 ;
14117 PyObject
*swig_obj
[1] ;
14119 if (!args
) SWIG_fail
;
14120 swig_obj
[0] = args
;
14121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14122 if (!SWIG_IsOK(res1
)) {
14123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14125 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14128 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14129 wxPyEndAllowThreads(__tstate
);
14130 if (PyErr_Occurred()) SWIG_fail
;
14132 resultobj
= SWIG_From_int(static_cast< int >(result
));
14139 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14140 PyObject
*resultobj
= 0;
14141 wxFont
*arg1
= (wxFont
*) 0 ;
14145 PyObject
*swig_obj
[1] ;
14147 if (!args
) SWIG_fail
;
14148 swig_obj
[0] = args
;
14149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14150 if (!SWIG_IsOK(res1
)) {
14151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14153 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14156 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14157 wxPyEndAllowThreads(__tstate
);
14158 if (PyErr_Occurred()) SWIG_fail
;
14161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14169 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14170 PyObject
*resultobj
= 0;
14171 wxFont
*arg1
= (wxFont
*) 0 ;
14175 PyObject
*swig_obj
[1] ;
14177 if (!args
) SWIG_fail
;
14178 swig_obj
[0] = args
;
14179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14180 if (!SWIG_IsOK(res1
)) {
14181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14183 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14186 result
= ((wxFont
const *)arg1
)->GetFaceName();
14187 wxPyEndAllowThreads(__tstate
);
14188 if (PyErr_Occurred()) SWIG_fail
;
14192 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14194 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14203 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14204 PyObject
*resultobj
= 0;
14205 wxFont
*arg1
= (wxFont
*) 0 ;
14206 wxFontEncoding result
;
14209 PyObject
*swig_obj
[1] ;
14211 if (!args
) SWIG_fail
;
14212 swig_obj
[0] = args
;
14213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14214 if (!SWIG_IsOK(res1
)) {
14215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14217 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14220 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14221 wxPyEndAllowThreads(__tstate
);
14222 if (PyErr_Occurred()) SWIG_fail
;
14224 resultobj
= SWIG_From_int(static_cast< int >(result
));
14231 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14232 PyObject
*resultobj
= 0;
14233 wxFont
*arg1
= (wxFont
*) 0 ;
14234 wxNativeFontInfo
*result
= 0 ;
14237 PyObject
*swig_obj
[1] ;
14239 if (!args
) SWIG_fail
;
14240 swig_obj
[0] = args
;
14241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14242 if (!SWIG_IsOK(res1
)) {
14243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14245 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14248 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14249 wxPyEndAllowThreads(__tstate
);
14250 if (PyErr_Occurred()) SWIG_fail
;
14252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14259 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14260 PyObject
*resultobj
= 0;
14261 wxFont
*arg1
= (wxFont
*) 0 ;
14265 PyObject
*swig_obj
[1] ;
14267 if (!args
) SWIG_fail
;
14268 swig_obj
[0] = args
;
14269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14270 if (!SWIG_IsOK(res1
)) {
14271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14273 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14276 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14277 wxPyEndAllowThreads(__tstate
);
14278 if (PyErr_Occurred()) SWIG_fail
;
14281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14289 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14290 PyObject
*resultobj
= 0;
14291 wxFont
*arg1
= (wxFont
*) 0 ;
14295 PyObject
*swig_obj
[1] ;
14297 if (!args
) SWIG_fail
;
14298 swig_obj
[0] = args
;
14299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14300 if (!SWIG_IsOK(res1
)) {
14301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14303 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14306 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14307 wxPyEndAllowThreads(__tstate
);
14308 if (PyErr_Occurred()) SWIG_fail
;
14312 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14314 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14323 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14324 PyObject
*resultobj
= 0;
14325 wxFont
*arg1
= (wxFont
*) 0 ;
14329 PyObject
*swig_obj
[1] ;
14331 if (!args
) SWIG_fail
;
14332 swig_obj
[0] = args
;
14333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14334 if (!SWIG_IsOK(res1
)) {
14335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14337 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14340 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14341 wxPyEndAllowThreads(__tstate
);
14342 if (PyErr_Occurred()) SWIG_fail
;
14346 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14348 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14357 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14358 PyObject
*resultobj
= 0;
14359 wxFont
*arg1
= (wxFont
*) 0 ;
14365 PyObject
* obj0
= 0 ;
14366 PyObject
* obj1
= 0 ;
14367 char * kwnames
[] = {
14368 (char *) "self",(char *) "pointSize", NULL
14371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14373 if (!SWIG_IsOK(res1
)) {
14374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14376 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14377 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14378 if (!SWIG_IsOK(ecode2
)) {
14379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14381 arg2
= static_cast< int >(val2
);
14383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14384 (arg1
)->SetPointSize(arg2
);
14385 wxPyEndAllowThreads(__tstate
);
14386 if (PyErr_Occurred()) SWIG_fail
;
14388 resultobj
= SWIG_Py_Void();
14395 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14396 PyObject
*resultobj
= 0;
14397 wxFont
*arg1
= (wxFont
*) 0 ;
14402 PyObject
* obj0
= 0 ;
14403 PyObject
* obj1
= 0 ;
14404 char * kwnames
[] = {
14405 (char *) "self",(char *) "pixelSize", NULL
14408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14410 if (!SWIG_IsOK(res1
)) {
14411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14413 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14416 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14420 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14421 wxPyEndAllowThreads(__tstate
);
14422 if (PyErr_Occurred()) SWIG_fail
;
14424 resultobj
= SWIG_Py_Void();
14431 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14432 PyObject
*resultobj
= 0;
14433 wxFont
*arg1
= (wxFont
*) 0 ;
14439 PyObject
* obj0
= 0 ;
14440 PyObject
* obj1
= 0 ;
14441 char * kwnames
[] = {
14442 (char *) "self",(char *) "family", NULL
14445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14447 if (!SWIG_IsOK(res1
)) {
14448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14450 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14451 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14452 if (!SWIG_IsOK(ecode2
)) {
14453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14455 arg2
= static_cast< int >(val2
);
14457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14458 (arg1
)->SetFamily(arg2
);
14459 wxPyEndAllowThreads(__tstate
);
14460 if (PyErr_Occurred()) SWIG_fail
;
14462 resultobj
= SWIG_Py_Void();
14469 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14470 PyObject
*resultobj
= 0;
14471 wxFont
*arg1
= (wxFont
*) 0 ;
14477 PyObject
* obj0
= 0 ;
14478 PyObject
* obj1
= 0 ;
14479 char * kwnames
[] = {
14480 (char *) "self",(char *) "style", NULL
14483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14485 if (!SWIG_IsOK(res1
)) {
14486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14488 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14489 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14490 if (!SWIG_IsOK(ecode2
)) {
14491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14493 arg2
= static_cast< int >(val2
);
14495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14496 (arg1
)->SetStyle(arg2
);
14497 wxPyEndAllowThreads(__tstate
);
14498 if (PyErr_Occurred()) SWIG_fail
;
14500 resultobj
= SWIG_Py_Void();
14507 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14508 PyObject
*resultobj
= 0;
14509 wxFont
*arg1
= (wxFont
*) 0 ;
14515 PyObject
* obj0
= 0 ;
14516 PyObject
* obj1
= 0 ;
14517 char * kwnames
[] = {
14518 (char *) "self",(char *) "weight", NULL
14521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14523 if (!SWIG_IsOK(res1
)) {
14524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14526 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14527 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14528 if (!SWIG_IsOK(ecode2
)) {
14529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14531 arg2
= static_cast< int >(val2
);
14533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14534 (arg1
)->SetWeight(arg2
);
14535 wxPyEndAllowThreads(__tstate
);
14536 if (PyErr_Occurred()) SWIG_fail
;
14538 resultobj
= SWIG_Py_Void();
14545 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14546 PyObject
*resultobj
= 0;
14547 wxFont
*arg1
= (wxFont
*) 0 ;
14548 wxString
*arg2
= 0 ;
14552 bool temp2
= false ;
14553 PyObject
* obj0
= 0 ;
14554 PyObject
* obj1
= 0 ;
14555 char * kwnames
[] = {
14556 (char *) "self",(char *) "faceName", NULL
14559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14561 if (!SWIG_IsOK(res1
)) {
14562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14564 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14566 arg2
= wxString_in_helper(obj1
);
14567 if (arg2
== NULL
) SWIG_fail
;
14571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14572 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14573 wxPyEndAllowThreads(__tstate
);
14574 if (PyErr_Occurred()) SWIG_fail
;
14577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14593 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14594 PyObject
*resultobj
= 0;
14595 wxFont
*arg1
= (wxFont
*) 0 ;
14601 PyObject
* obj0
= 0 ;
14602 PyObject
* obj1
= 0 ;
14603 char * kwnames
[] = {
14604 (char *) "self",(char *) "underlined", NULL
14607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14609 if (!SWIG_IsOK(res1
)) {
14610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14612 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14613 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14614 if (!SWIG_IsOK(ecode2
)) {
14615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14617 arg2
= static_cast< bool >(val2
);
14619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14620 (arg1
)->SetUnderlined(arg2
);
14621 wxPyEndAllowThreads(__tstate
);
14622 if (PyErr_Occurred()) SWIG_fail
;
14624 resultobj
= SWIG_Py_Void();
14631 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14632 PyObject
*resultobj
= 0;
14633 wxFont
*arg1
= (wxFont
*) 0 ;
14634 wxFontEncoding arg2
;
14639 PyObject
* obj0
= 0 ;
14640 PyObject
* obj1
= 0 ;
14641 char * kwnames
[] = {
14642 (char *) "self",(char *) "encoding", NULL
14645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14647 if (!SWIG_IsOK(res1
)) {
14648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
14650 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14651 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14652 if (!SWIG_IsOK(ecode2
)) {
14653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14655 arg2
= static_cast< wxFontEncoding
>(val2
);
14657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14658 (arg1
)->SetEncoding(arg2
);
14659 wxPyEndAllowThreads(__tstate
);
14660 if (PyErr_Occurred()) SWIG_fail
;
14662 resultobj
= SWIG_Py_Void();
14669 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14670 PyObject
*resultobj
= 0;
14671 wxFont
*arg1
= (wxFont
*) 0 ;
14672 wxNativeFontInfo
*arg2
= 0 ;
14677 PyObject
* obj0
= 0 ;
14678 PyObject
* obj1
= 0 ;
14679 char * kwnames
[] = {
14680 (char *) "self",(char *) "info", NULL
14683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14685 if (!SWIG_IsOK(res1
)) {
14686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
14688 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14689 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14690 if (!SWIG_IsOK(res2
)) {
14691 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14694 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14696 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
14698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14699 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
14700 wxPyEndAllowThreads(__tstate
);
14701 if (PyErr_Occurred()) SWIG_fail
;
14703 resultobj
= SWIG_Py_Void();
14710 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14711 PyObject
*resultobj
= 0;
14712 wxFont
*arg1
= (wxFont
*) 0 ;
14713 wxString
*arg2
= 0 ;
14717 bool temp2
= false ;
14718 PyObject
* obj0
= 0 ;
14719 PyObject
* obj1
= 0 ;
14720 char * kwnames
[] = {
14721 (char *) "self",(char *) "info", NULL
14724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14726 if (!SWIG_IsOK(res1
)) {
14727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
14729 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14731 arg2
= wxString_in_helper(obj1
);
14732 if (arg2
== NULL
) SWIG_fail
;
14736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14737 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
14738 wxPyEndAllowThreads(__tstate
);
14739 if (PyErr_Occurred()) SWIG_fail
;
14742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14758 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14759 PyObject
*resultobj
= 0;
14760 wxFont
*arg1
= (wxFont
*) 0 ;
14761 wxString
*arg2
= 0 ;
14765 bool temp2
= false ;
14766 PyObject
* obj0
= 0 ;
14767 PyObject
* obj1
= 0 ;
14768 char * kwnames
[] = {
14769 (char *) "self",(char *) "info", NULL
14772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14774 if (!SWIG_IsOK(res1
)) {
14775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
14777 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14779 arg2
= wxString_in_helper(obj1
);
14780 if (arg2
== NULL
) SWIG_fail
;
14784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14785 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
14786 wxPyEndAllowThreads(__tstate
);
14787 if (PyErr_Occurred()) SWIG_fail
;
14790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14806 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14807 PyObject
*resultobj
= 0;
14808 wxFont
*arg1
= (wxFont
*) 0 ;
14812 PyObject
*swig_obj
[1] ;
14814 if (!args
) SWIG_fail
;
14815 swig_obj
[0] = args
;
14816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14817 if (!SWIG_IsOK(res1
)) {
14818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
14820 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14823 result
= ((wxFont
const *)arg1
)->GetFamilyString();
14824 wxPyEndAllowThreads(__tstate
);
14825 if (PyErr_Occurred()) SWIG_fail
;
14829 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14831 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14840 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14841 PyObject
*resultobj
= 0;
14842 wxFont
*arg1
= (wxFont
*) 0 ;
14846 PyObject
*swig_obj
[1] ;
14848 if (!args
) SWIG_fail
;
14849 swig_obj
[0] = args
;
14850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14851 if (!SWIG_IsOK(res1
)) {
14852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
14854 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14857 result
= ((wxFont
const *)arg1
)->GetStyleString();
14858 wxPyEndAllowThreads(__tstate
);
14859 if (PyErr_Occurred()) SWIG_fail
;
14863 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14865 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14874 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14875 PyObject
*resultobj
= 0;
14876 wxFont
*arg1
= (wxFont
*) 0 ;
14880 PyObject
*swig_obj
[1] ;
14882 if (!args
) SWIG_fail
;
14883 swig_obj
[0] = args
;
14884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14885 if (!SWIG_IsOK(res1
)) {
14886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
14888 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14891 result
= ((wxFont
const *)arg1
)->GetWeightString();
14892 wxPyEndAllowThreads(__tstate
);
14893 if (PyErr_Occurred()) SWIG_fail
;
14897 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14899 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14908 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14909 PyObject
*resultobj
= 0;
14910 wxFont
*arg1
= (wxFont
*) 0 ;
14911 bool arg2
= (bool) true ;
14916 PyObject
* obj0
= 0 ;
14917 PyObject
* obj1
= 0 ;
14918 char * kwnames
[] = {
14919 (char *) "self",(char *) "no", NULL
14922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14924 if (!SWIG_IsOK(res1
)) {
14925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
14927 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14929 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14930 if (!SWIG_IsOK(ecode2
)) {
14931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
14933 arg2
= static_cast< bool >(val2
);
14936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14937 (arg1
)->SetNoAntiAliasing(arg2
);
14938 wxPyEndAllowThreads(__tstate
);
14939 if (PyErr_Occurred()) SWIG_fail
;
14941 resultobj
= SWIG_Py_Void();
14948 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14949 PyObject
*resultobj
= 0;
14950 wxFont
*arg1
= (wxFont
*) 0 ;
14954 PyObject
*swig_obj
[1] ;
14956 if (!args
) SWIG_fail
;
14957 swig_obj
[0] = args
;
14958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14959 if (!SWIG_IsOK(res1
)) {
14960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
14962 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14965 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
14966 wxPyEndAllowThreads(__tstate
);
14967 if (PyErr_Occurred()) SWIG_fail
;
14970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14978 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14979 PyObject
*resultobj
= 0;
14980 wxFontEncoding result
;
14982 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
14984 if (!wxPyCheckForApp()) SWIG_fail
;
14985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14986 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
14987 wxPyEndAllowThreads(__tstate
);
14988 if (PyErr_Occurred()) SWIG_fail
;
14990 resultobj
= SWIG_From_int(static_cast< int >(result
));
14997 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14998 PyObject
*resultobj
= 0;
14999 wxFontEncoding arg1
;
15002 PyObject
* obj0
= 0 ;
15003 char * kwnames
[] = {
15004 (char *) "encoding", NULL
15007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15008 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15009 if (!SWIG_IsOK(ecode1
)) {
15010 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15012 arg1
= static_cast< wxFontEncoding
>(val1
);
15014 if (!wxPyCheckForApp()) SWIG_fail
;
15015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15016 wxFont::SetDefaultEncoding(arg1
);
15017 wxPyEndAllowThreads(__tstate
);
15018 if (PyErr_Occurred()) SWIG_fail
;
15020 resultobj
= SWIG_Py_Void();
15027 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15029 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15030 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15031 return SWIG_Py_Void();
15034 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15035 return SWIG_Python_InitShadowInstance(args
);
15038 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15039 PyObject
*resultobj
= 0;
15040 wxPyFontEnumerator
*result
= 0 ;
15042 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15044 if (!wxPyCheckForApp()) SWIG_fail
;
15045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15046 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15047 wxPyEndAllowThreads(__tstate
);
15048 if (PyErr_Occurred()) SWIG_fail
;
15050 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15057 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15058 PyObject
*resultobj
= 0;
15059 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15062 PyObject
*swig_obj
[1] ;
15064 if (!args
) SWIG_fail
;
15065 swig_obj
[0] = args
;
15066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15067 if (!SWIG_IsOK(res1
)) {
15068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15070 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15075 wxPyEndAllowThreads(__tstate
);
15076 if (PyErr_Occurred()) SWIG_fail
;
15078 resultobj
= SWIG_Py_Void();
15085 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15086 PyObject
*resultobj
= 0;
15087 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15088 PyObject
*arg2
= (PyObject
*) 0 ;
15089 PyObject
*arg3
= (PyObject
*) 0 ;
15095 PyObject
* obj0
= 0 ;
15096 PyObject
* obj1
= 0 ;
15097 PyObject
* obj2
= 0 ;
15098 PyObject
* obj3
= 0 ;
15099 char * kwnames
[] = {
15100 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15105 if (!SWIG_IsOK(res1
)) {
15106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15108 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15111 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15112 if (!SWIG_IsOK(ecode4
)) {
15113 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15115 arg4
= static_cast< bool >(val4
);
15117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15118 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15119 wxPyEndAllowThreads(__tstate
);
15120 if (PyErr_Occurred()) SWIG_fail
;
15122 resultobj
= SWIG_Py_Void();
15129 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15130 PyObject
*resultobj
= 0;
15131 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15132 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15133 bool arg3
= (bool) false ;
15141 PyObject
* obj0
= 0 ;
15142 PyObject
* obj1
= 0 ;
15143 PyObject
* obj2
= 0 ;
15144 char * kwnames
[] = {
15145 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15150 if (!SWIG_IsOK(res1
)) {
15151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15153 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15155 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15156 if (!SWIG_IsOK(ecode2
)) {
15157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15159 arg2
= static_cast< wxFontEncoding
>(val2
);
15162 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15163 if (!SWIG_IsOK(ecode3
)) {
15164 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15166 arg3
= static_cast< bool >(val3
);
15169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15170 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15171 wxPyEndAllowThreads(__tstate
);
15172 if (PyErr_Occurred()) SWIG_fail
;
15175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15183 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15184 PyObject
*resultobj
= 0;
15185 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15186 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15187 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15191 bool temp2
= false ;
15192 PyObject
* obj0
= 0 ;
15193 PyObject
* obj1
= 0 ;
15194 char * kwnames
[] = {
15195 (char *) "self",(char *) "facename", NULL
15198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15200 if (!SWIG_IsOK(res1
)) {
15201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15203 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15206 arg2
= wxString_in_helper(obj1
);
15207 if (arg2
== NULL
) SWIG_fail
;
15212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15213 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15214 wxPyEndAllowThreads(__tstate
);
15215 if (PyErr_Occurred()) SWIG_fail
;
15218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15234 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15235 PyObject
*resultobj
= 0;
15236 PyObject
*result
= 0 ;
15238 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15241 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15242 wxPyEndAllowThreads(__tstate
);
15243 if (PyErr_Occurred()) SWIG_fail
;
15245 resultobj
= result
;
15252 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15253 PyObject
*resultobj
= 0;
15254 PyObject
*result
= 0 ;
15256 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15259 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15260 wxPyEndAllowThreads(__tstate
);
15261 if (PyErr_Occurred()) SWIG_fail
;
15263 resultobj
= result
;
15270 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15271 PyObject
*resultobj
= 0;
15272 wxString
*arg1
= 0 ;
15274 bool temp1
= false ;
15275 PyObject
* obj0
= 0 ;
15276 char * kwnames
[] = {
15277 (char *) "str", NULL
15280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15282 arg1
= wxString_in_helper(obj0
);
15283 if (arg1
== NULL
) SWIG_fail
;
15287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15288 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15289 wxPyEndAllowThreads(__tstate
);
15290 if (PyErr_Occurred()) SWIG_fail
;
15293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15309 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15311 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15312 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15313 return SWIG_Py_Void();
15316 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15317 return SWIG_Python_InitShadowInstance(args
);
15320 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15321 PyObject
*resultobj
= 0;
15322 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15328 PyObject
*swig_obj
[2] ;
15330 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15332 if (!SWIG_IsOK(res1
)) {
15333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15335 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15336 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15337 if (!SWIG_IsOK(ecode2
)) {
15338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15340 arg2
= static_cast< int >(val2
);
15341 if (arg1
) (arg1
)->Language
= arg2
;
15343 resultobj
= SWIG_Py_Void();
15350 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15351 PyObject
*resultobj
= 0;
15352 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15356 PyObject
*swig_obj
[1] ;
15358 if (!args
) SWIG_fail
;
15359 swig_obj
[0] = args
;
15360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15361 if (!SWIG_IsOK(res1
)) {
15362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15364 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15365 result
= (int) ((arg1
)->Language
);
15366 resultobj
= SWIG_From_int(static_cast< int >(result
));
15373 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15374 PyObject
*resultobj
= 0;
15375 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15376 wxString
*arg2
= (wxString
*) 0 ;
15379 bool temp2
= false ;
15380 PyObject
*swig_obj
[2] ;
15382 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15384 if (!SWIG_IsOK(res1
)) {
15385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15387 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15389 arg2
= wxString_in_helper(swig_obj
[1]);
15390 if (arg2
== NULL
) SWIG_fail
;
15393 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15395 resultobj
= SWIG_Py_Void();
15410 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15411 PyObject
*resultobj
= 0;
15412 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15413 wxString
*result
= 0 ;
15416 PyObject
*swig_obj
[1] ;
15418 if (!args
) SWIG_fail
;
15419 swig_obj
[0] = args
;
15420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15421 if (!SWIG_IsOK(res1
)) {
15422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15424 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15425 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15428 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15430 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15439 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15440 PyObject
*resultobj
= 0;
15441 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15442 wxString
*arg2
= (wxString
*) 0 ;
15445 bool temp2
= false ;
15446 PyObject
*swig_obj
[2] ;
15448 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15450 if (!SWIG_IsOK(res1
)) {
15451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15453 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15455 arg2
= wxString_in_helper(swig_obj
[1]);
15456 if (arg2
== NULL
) SWIG_fail
;
15459 if (arg1
) (arg1
)->Description
= *arg2
;
15461 resultobj
= SWIG_Py_Void();
15476 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15477 PyObject
*resultobj
= 0;
15478 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15479 wxString
*result
= 0 ;
15482 PyObject
*swig_obj
[1] ;
15484 if (!args
) SWIG_fail
;
15485 swig_obj
[0] = args
;
15486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15487 if (!SWIG_IsOK(res1
)) {
15488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15490 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15491 result
= (wxString
*)& ((arg1
)->Description
);
15494 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15496 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15505 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15507 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15508 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15509 return SWIG_Py_Void();
15512 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15513 PyObject
*resultobj
= 0;
15514 int arg1
= (int) -1 ;
15515 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15516 wxLocale
*result
= 0 ;
15521 PyObject
* obj0
= 0 ;
15522 PyObject
* obj1
= 0 ;
15523 char * kwnames
[] = {
15524 (char *) "language",(char *) "flags", NULL
15527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15529 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15530 if (!SWIG_IsOK(ecode1
)) {
15531 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15533 arg1
= static_cast< int >(val1
);
15536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15537 if (!SWIG_IsOK(ecode2
)) {
15538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15540 arg2
= static_cast< int >(val2
);
15543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15544 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15545 wxPyEndAllowThreads(__tstate
);
15546 if (PyErr_Occurred()) SWIG_fail
;
15548 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15555 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15556 PyObject
*resultobj
= 0;
15557 wxLocale
*arg1
= (wxLocale
*) 0 ;
15560 PyObject
*swig_obj
[1] ;
15562 if (!args
) SWIG_fail
;
15563 swig_obj
[0] = args
;
15564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15565 if (!SWIG_IsOK(res1
)) {
15566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15568 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15573 wxPyEndAllowThreads(__tstate
);
15574 if (PyErr_Occurred()) SWIG_fail
;
15576 resultobj
= SWIG_Py_Void();
15583 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15584 PyObject
*resultobj
= 0;
15585 wxLocale
*arg1
= (wxLocale
*) 0 ;
15586 wxString
*arg2
= 0 ;
15587 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15588 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15589 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15590 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15591 bool arg5
= (bool) true ;
15592 bool arg6
= (bool) false ;
15596 bool temp2
= false ;
15597 bool temp3
= false ;
15598 bool temp4
= false ;
15603 PyObject
* obj0
= 0 ;
15604 PyObject
* obj1
= 0 ;
15605 PyObject
* obj2
= 0 ;
15606 PyObject
* obj3
= 0 ;
15607 PyObject
* obj4
= 0 ;
15608 PyObject
* obj5
= 0 ;
15609 char * kwnames
[] = {
15610 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15615 if (!SWIG_IsOK(res1
)) {
15616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15618 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15620 arg2
= wxString_in_helper(obj1
);
15621 if (arg2
== NULL
) SWIG_fail
;
15626 arg3
= wxString_in_helper(obj2
);
15627 if (arg3
== NULL
) SWIG_fail
;
15633 arg4
= wxString_in_helper(obj3
);
15634 if (arg4
== NULL
) SWIG_fail
;
15639 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
15640 if (!SWIG_IsOK(ecode5
)) {
15641 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
15643 arg5
= static_cast< bool >(val5
);
15646 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
15647 if (!SWIG_IsOK(ecode6
)) {
15648 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
15650 arg6
= static_cast< bool >(val6
);
15653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15654 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
15655 wxPyEndAllowThreads(__tstate
);
15656 if (PyErr_Occurred()) SWIG_fail
;
15659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15691 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15692 PyObject
*resultobj
= 0;
15693 wxLocale
*arg1
= (wxLocale
*) 0 ;
15694 int arg2
= (int) wxLANGUAGE_DEFAULT
;
15695 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15703 PyObject
* obj0
= 0 ;
15704 PyObject
* obj1
= 0 ;
15705 PyObject
* obj2
= 0 ;
15706 char * kwnames
[] = {
15707 (char *) "self",(char *) "language",(char *) "flags", NULL
15710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15712 if (!SWIG_IsOK(res1
)) {
15713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
15715 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15717 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15718 if (!SWIG_IsOK(ecode2
)) {
15719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
15721 arg2
= static_cast< int >(val2
);
15724 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15725 if (!SWIG_IsOK(ecode3
)) {
15726 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
15728 arg3
= static_cast< int >(val3
);
15731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15732 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
15733 wxPyEndAllowThreads(__tstate
);
15734 if (PyErr_Occurred()) SWIG_fail
;
15737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15745 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15746 PyObject
*resultobj
= 0;
15749 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
15751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15752 result
= (int)wxLocale::GetSystemLanguage();
15753 wxPyEndAllowThreads(__tstate
);
15754 if (PyErr_Occurred()) SWIG_fail
;
15756 resultobj
= SWIG_From_int(static_cast< int >(result
));
15763 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15764 PyObject
*resultobj
= 0;
15765 wxFontEncoding result
;
15767 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
15769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15770 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
15771 wxPyEndAllowThreads(__tstate
);
15772 if (PyErr_Occurred()) SWIG_fail
;
15774 resultobj
= SWIG_From_int(static_cast< int >(result
));
15781 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15782 PyObject
*resultobj
= 0;
15785 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
15787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15788 result
= wxLocale::GetSystemEncodingName();
15789 wxPyEndAllowThreads(__tstate
);
15790 if (PyErr_Occurred()) SWIG_fail
;
15794 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15796 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15805 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15806 PyObject
*resultobj
= 0;
15807 wxLocale
*arg1
= (wxLocale
*) 0 ;
15811 PyObject
*swig_obj
[1] ;
15813 if (!args
) SWIG_fail
;
15814 swig_obj
[0] = args
;
15815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15816 if (!SWIG_IsOK(res1
)) {
15817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
15819 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15822 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
15823 wxPyEndAllowThreads(__tstate
);
15824 if (PyErr_Occurred()) SWIG_fail
;
15827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15835 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15836 PyObject
*resultobj
= 0;
15837 wxLocale
*arg1
= (wxLocale
*) 0 ;
15841 PyObject
*swig_obj
[1] ;
15843 if (!args
) SWIG_fail
;
15844 swig_obj
[0] = args
;
15845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15846 if (!SWIG_IsOK(res1
)) {
15847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
15849 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15852 result
= ((wxLocale
const *)arg1
)->GetLocale();
15853 wxPyEndAllowThreads(__tstate
);
15854 if (PyErr_Occurred()) SWIG_fail
;
15858 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15860 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15869 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15870 PyObject
*resultobj
= 0;
15871 wxLocale
*arg1
= (wxLocale
*) 0 ;
15875 PyObject
*swig_obj
[1] ;
15877 if (!args
) SWIG_fail
;
15878 swig_obj
[0] = args
;
15879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15880 if (!SWIG_IsOK(res1
)) {
15881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
15883 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15886 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
15887 wxPyEndAllowThreads(__tstate
);
15888 if (PyErr_Occurred()) SWIG_fail
;
15890 resultobj
= SWIG_From_int(static_cast< int >(result
));
15897 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15898 PyObject
*resultobj
= 0;
15899 wxLocale
*arg1
= (wxLocale
*) 0 ;
15903 PyObject
*swig_obj
[1] ;
15905 if (!args
) SWIG_fail
;
15906 swig_obj
[0] = args
;
15907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15908 if (!SWIG_IsOK(res1
)) {
15909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
15911 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15914 result
= ((wxLocale
const *)arg1
)->GetSysName();
15915 wxPyEndAllowThreads(__tstate
);
15916 if (PyErr_Occurred()) SWIG_fail
;
15920 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15922 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15931 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15932 PyObject
*resultobj
= 0;
15933 wxLocale
*arg1
= (wxLocale
*) 0 ;
15937 PyObject
*swig_obj
[1] ;
15939 if (!args
) SWIG_fail
;
15940 swig_obj
[0] = args
;
15941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15942 if (!SWIG_IsOK(res1
)) {
15943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
15945 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15948 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
15949 wxPyEndAllowThreads(__tstate
);
15950 if (PyErr_Occurred()) SWIG_fail
;
15954 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15956 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15965 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15966 PyObject
*resultobj
= 0;
15967 wxString
*arg1
= 0 ;
15968 bool temp1
= false ;
15969 PyObject
* obj0
= 0 ;
15970 char * kwnames
[] = {
15971 (char *) "prefix", NULL
15974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
15976 arg1
= wxString_in_helper(obj0
);
15977 if (arg1
== NULL
) SWIG_fail
;
15981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15982 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
15983 wxPyEndAllowThreads(__tstate
);
15984 if (PyErr_Occurred()) SWIG_fail
;
15986 resultobj
= SWIG_Py_Void();
16001 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16002 PyObject
*resultobj
= 0;
16003 wxLocale
*arg1
= (wxLocale
*) 0 ;
16004 wxString
*arg2
= 0 ;
16008 bool temp2
= false ;
16009 PyObject
* obj0
= 0 ;
16010 PyObject
* obj1
= 0 ;
16011 char * kwnames
[] = {
16012 (char *) "self",(char *) "szDomain", NULL
16015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16017 if (!SWIG_IsOK(res1
)) {
16018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16020 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16022 arg2
= wxString_in_helper(obj1
);
16023 if (arg2
== NULL
) SWIG_fail
;
16027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16028 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16029 wxPyEndAllowThreads(__tstate
);
16030 if (PyErr_Occurred()) SWIG_fail
;
16033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16049 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16050 PyObject
*resultobj
= 0;
16055 PyObject
* obj0
= 0 ;
16056 char * kwnames
[] = {
16057 (char *) "lang", NULL
16060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16061 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16062 if (!SWIG_IsOK(ecode1
)) {
16063 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16065 arg1
= static_cast< int >(val1
);
16067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16068 result
= (bool)wxLocale::IsAvailable(arg1
);
16069 wxPyEndAllowThreads(__tstate
);
16070 if (PyErr_Occurred()) SWIG_fail
;
16073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16081 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16082 PyObject
*resultobj
= 0;
16083 wxLocale
*arg1
= (wxLocale
*) 0 ;
16084 wxString
*arg2
= 0 ;
16088 bool temp2
= false ;
16089 PyObject
* obj0
= 0 ;
16090 PyObject
* obj1
= 0 ;
16091 char * kwnames
[] = {
16092 (char *) "self",(char *) "szDomain", NULL
16095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16097 if (!SWIG_IsOK(res1
)) {
16098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16100 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16102 arg2
= wxString_in_helper(obj1
);
16103 if (arg2
== NULL
) SWIG_fail
;
16107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16108 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16109 wxPyEndAllowThreads(__tstate
);
16110 if (PyErr_Occurred()) SWIG_fail
;
16113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16129 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16130 PyObject
*resultobj
= 0;
16132 wxLanguageInfo
*result
= 0 ;
16135 PyObject
* obj0
= 0 ;
16136 char * kwnames
[] = {
16137 (char *) "lang", NULL
16140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16141 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16142 if (!SWIG_IsOK(ecode1
)) {
16143 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16145 arg1
= static_cast< int >(val1
);
16147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16148 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16149 wxPyEndAllowThreads(__tstate
);
16150 if (PyErr_Occurred()) SWIG_fail
;
16152 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16159 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16160 PyObject
*resultobj
= 0;
16165 PyObject
* obj0
= 0 ;
16166 char * kwnames
[] = {
16167 (char *) "lang", NULL
16170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16171 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16172 if (!SWIG_IsOK(ecode1
)) {
16173 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16175 arg1
= static_cast< int >(val1
);
16177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16178 result
= wxLocale::GetLanguageName(arg1
);
16179 wxPyEndAllowThreads(__tstate
);
16180 if (PyErr_Occurred()) SWIG_fail
;
16184 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16186 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16195 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16196 PyObject
*resultobj
= 0;
16197 wxString
*arg1
= 0 ;
16198 wxLanguageInfo
*result
= 0 ;
16199 bool temp1
= false ;
16200 PyObject
* obj0
= 0 ;
16201 char * kwnames
[] = {
16202 (char *) "locale", NULL
16205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16207 arg1
= wxString_in_helper(obj0
);
16208 if (arg1
== NULL
) SWIG_fail
;
16212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16213 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16214 wxPyEndAllowThreads(__tstate
);
16215 if (PyErr_Occurred()) SWIG_fail
;
16217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16232 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16233 PyObject
*resultobj
= 0;
16234 wxLanguageInfo
*arg1
= 0 ;
16237 PyObject
* obj0
= 0 ;
16238 char * kwnames
[] = {
16239 (char *) "info", NULL
16242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16243 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16244 if (!SWIG_IsOK(res1
)) {
16245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16248 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16250 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16253 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16254 wxPyEndAllowThreads(__tstate
);
16255 if (PyErr_Occurred()) SWIG_fail
;
16257 resultobj
= SWIG_Py_Void();
16264 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16265 PyObject
*resultobj
= 0;
16266 wxLocale
*arg1
= (wxLocale
*) 0 ;
16267 wxString
*arg2
= 0 ;
16268 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16269 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16273 bool temp2
= false ;
16274 bool temp3
= false ;
16275 PyObject
* obj0
= 0 ;
16276 PyObject
* obj1
= 0 ;
16277 PyObject
* obj2
= 0 ;
16278 char * kwnames
[] = {
16279 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16284 if (!SWIG_IsOK(res1
)) {
16285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16287 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16289 arg2
= wxString_in_helper(obj1
);
16290 if (arg2
== NULL
) SWIG_fail
;
16295 arg3
= wxString_in_helper(obj2
);
16296 if (arg3
== NULL
) SWIG_fail
;
16301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16302 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16303 wxPyEndAllowThreads(__tstate
);
16304 if (PyErr_Occurred()) SWIG_fail
;
16308 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16310 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16335 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16336 PyObject
*resultobj
= 0;
16337 wxLocale
*arg1
= (wxLocale
*) 0 ;
16338 wxString
*result
= 0 ;
16341 PyObject
*swig_obj
[1] ;
16343 if (!args
) SWIG_fail
;
16344 swig_obj
[0] = args
;
16345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16346 if (!SWIG_IsOK(res1
)) {
16347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16349 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16353 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16354 result
= (wxString
*) &_result_ref
;
16356 wxPyEndAllowThreads(__tstate
);
16357 if (PyErr_Occurred()) SWIG_fail
;
16361 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16363 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16372 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16374 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16375 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16376 return SWIG_Py_Void();
16379 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16380 return SWIG_Python_InitShadowInstance(args
);
16383 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16384 PyObject
*resultobj
= 0;
16385 int arg1
= (int) -1 ;
16386 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16387 wxPyLocale
*result
= 0 ;
16392 PyObject
* obj0
= 0 ;
16393 PyObject
* obj1
= 0 ;
16394 char * kwnames
[] = {
16395 (char *) "language",(char *) "flags", NULL
16398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16400 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16401 if (!SWIG_IsOK(ecode1
)) {
16402 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16404 arg1
= static_cast< int >(val1
);
16407 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16408 if (!SWIG_IsOK(ecode2
)) {
16409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16411 arg2
= static_cast< int >(val2
);
16414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16415 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16416 wxPyEndAllowThreads(__tstate
);
16417 if (PyErr_Occurred()) SWIG_fail
;
16419 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16426 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16427 PyObject
*resultobj
= 0;
16428 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16431 PyObject
*swig_obj
[1] ;
16433 if (!args
) SWIG_fail
;
16434 swig_obj
[0] = args
;
16435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16436 if (!SWIG_IsOK(res1
)) {
16437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16439 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16444 wxPyEndAllowThreads(__tstate
);
16445 if (PyErr_Occurred()) SWIG_fail
;
16447 resultobj
= SWIG_Py_Void();
16454 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16455 PyObject
*resultobj
= 0;
16456 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16457 PyObject
*arg2
= (PyObject
*) 0 ;
16458 PyObject
*arg3
= (PyObject
*) 0 ;
16461 PyObject
* obj0
= 0 ;
16462 PyObject
* obj1
= 0 ;
16463 PyObject
* obj2
= 0 ;
16464 char * kwnames
[] = {
16465 (char *) "self",(char *) "self",(char *) "_class", NULL
16468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16470 if (!SWIG_IsOK(res1
)) {
16471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16473 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16478 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16479 wxPyEndAllowThreads(__tstate
);
16480 if (PyErr_Occurred()) SWIG_fail
;
16482 resultobj
= SWIG_Py_Void();
16489 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16490 PyObject
*resultobj
= 0;
16491 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16492 wxChar
*arg2
= (wxChar
*) 0 ;
16493 wxChar
*arg3
= (wxChar
*) NULL
;
16494 wxChar
*result
= 0 ;
16501 PyObject
* obj0
= 0 ;
16502 PyObject
* obj1
= 0 ;
16503 PyObject
* obj2
= 0 ;
16504 char * kwnames
[] = {
16505 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16510 if (!SWIG_IsOK(res1
)) {
16511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16513 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16514 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16515 if (!SWIG_IsOK(res2
)) {
16516 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16518 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16520 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16521 if (!SWIG_IsOK(res3
)) {
16522 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16524 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16528 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16529 wxPyEndAllowThreads(__tstate
);
16530 if (PyErr_Occurred()) SWIG_fail
;
16532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16539 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16540 PyObject
*resultobj
= 0;
16541 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16542 wxChar
*arg2
= (wxChar
*) 0 ;
16543 wxChar
*arg3
= (wxChar
*) 0 ;
16545 wxChar
*arg5
= (wxChar
*) NULL
;
16546 wxChar
*result
= 0 ;
16557 PyObject
* obj0
= 0 ;
16558 PyObject
* obj1
= 0 ;
16559 PyObject
* obj2
= 0 ;
16560 PyObject
* obj3
= 0 ;
16561 PyObject
* obj4
= 0 ;
16562 char * kwnames
[] = {
16563 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16568 if (!SWIG_IsOK(res1
)) {
16569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16571 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16572 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16573 if (!SWIG_IsOK(res2
)) {
16574 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16576 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16577 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16578 if (!SWIG_IsOK(res3
)) {
16579 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16581 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16582 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16583 if (!SWIG_IsOK(ecode4
)) {
16584 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16586 arg4
= static_cast< size_t >(val4
);
16588 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16589 if (!SWIG_IsOK(res5
)) {
16590 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16592 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16596 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16597 wxPyEndAllowThreads(__tstate
);
16598 if (PyErr_Occurred()) SWIG_fail
;
16600 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16607 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16609 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16610 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16611 return SWIG_Py_Void();
16614 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16615 return SWIG_Python_InitShadowInstance(args
);
16618 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16619 PyObject
*resultobj
= 0;
16620 wxLocale
*result
= 0 ;
16622 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16625 result
= (wxLocale
*)wxGetLocale();
16626 wxPyEndAllowThreads(__tstate
);
16627 if (PyErr_Occurred()) SWIG_fail
;
16629 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
16636 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16637 PyObject
*resultobj
= 0;
16638 wxString
*arg1
= 0 ;
16640 bool temp1
= false ;
16642 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
16644 arg1
= wxString_in_helper(swig_obj
[0]);
16645 if (arg1
== NULL
) SWIG_fail
;
16649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16650 result
= wxGetTranslation((wxString
const &)*arg1
);
16651 wxPyEndAllowThreads(__tstate
);
16652 if (PyErr_Occurred()) SWIG_fail
;
16656 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16658 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16675 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16676 PyObject
*resultobj
= 0;
16677 wxString
*arg1
= 0 ;
16678 wxString
*arg2
= 0 ;
16680 bool temp1
= false ;
16681 bool temp2
= false ;
16683 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16685 arg1
= wxString_in_helper(swig_obj
[0]);
16686 if (arg1
== NULL
) SWIG_fail
;
16690 arg2
= wxString_in_helper(swig_obj
[1]);
16691 if (arg2
== NULL
) SWIG_fail
;
16695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16696 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
16697 wxPyEndAllowThreads(__tstate
);
16698 if (PyErr_Occurred()) SWIG_fail
;
16702 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16704 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16729 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16730 PyObject
*resultobj
= 0;
16731 wxString
*arg1
= 0 ;
16732 wxString
*arg2
= 0 ;
16735 bool temp1
= false ;
16736 bool temp2
= false ;
16740 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
16742 arg1
= wxString_in_helper(swig_obj
[0]);
16743 if (arg1
== NULL
) SWIG_fail
;
16747 arg2
= wxString_in_helper(swig_obj
[1]);
16748 if (arg2
== NULL
) SWIG_fail
;
16751 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16752 if (!SWIG_IsOK(ecode3
)) {
16753 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16755 arg3
= static_cast< size_t >(val3
);
16757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16758 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
16759 wxPyEndAllowThreads(__tstate
);
16760 if (PyErr_Occurred()) SWIG_fail
;
16764 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16766 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16791 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16792 PyObject
*resultobj
= 0;
16793 wxString
*arg1
= 0 ;
16794 wxString
*arg2
= 0 ;
16796 wxString
*arg4
= 0 ;
16798 bool temp1
= false ;
16799 bool temp2
= false ;
16802 bool temp4
= false ;
16804 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
16806 arg1
= wxString_in_helper(swig_obj
[0]);
16807 if (arg1
== NULL
) SWIG_fail
;
16811 arg2
= wxString_in_helper(swig_obj
[1]);
16812 if (arg2
== NULL
) SWIG_fail
;
16815 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16816 if (!SWIG_IsOK(ecode3
)) {
16817 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16819 arg3
= static_cast< size_t >(val3
);
16821 arg4
= wxString_in_helper(swig_obj
[3]);
16822 if (arg4
== NULL
) SWIG_fail
;
16826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16827 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
16828 wxPyEndAllowThreads(__tstate
);
16829 if (PyErr_Occurred()) SWIG_fail
;
16833 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16835 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16868 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
16872 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
16875 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
16878 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
16881 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
16884 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
16888 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
16893 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16894 PyObject
*resultobj
= 0;
16895 wxEncodingConverter
*result
= 0 ;
16897 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
16899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16900 result
= (wxEncodingConverter
*)new wxEncodingConverter();
16901 wxPyEndAllowThreads(__tstate
);
16902 if (PyErr_Occurred()) SWIG_fail
;
16904 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
16911 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16912 PyObject
*resultobj
= 0;
16913 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16916 PyObject
*swig_obj
[1] ;
16918 if (!args
) SWIG_fail
;
16919 swig_obj
[0] = args
;
16920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
16921 if (!SWIG_IsOK(res1
)) {
16922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16924 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16929 wxPyEndAllowThreads(__tstate
);
16930 if (PyErr_Occurred()) SWIG_fail
;
16932 resultobj
= SWIG_Py_Void();
16939 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16940 PyObject
*resultobj
= 0;
16941 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16942 wxFontEncoding arg2
;
16943 wxFontEncoding arg3
;
16944 int arg4
= (int) wxCONVERT_STRICT
;
16954 PyObject
* obj0
= 0 ;
16955 PyObject
* obj1
= 0 ;
16956 PyObject
* obj2
= 0 ;
16957 PyObject
* obj3
= 0 ;
16958 char * kwnames
[] = {
16959 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
16962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
16964 if (!SWIG_IsOK(res1
)) {
16965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16967 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16968 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16969 if (!SWIG_IsOK(ecode2
)) {
16970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16972 arg2
= static_cast< wxFontEncoding
>(val2
);
16973 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16974 if (!SWIG_IsOK(ecode3
)) {
16975 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
16977 arg3
= static_cast< wxFontEncoding
>(val3
);
16979 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16980 if (!SWIG_IsOK(ecode4
)) {
16981 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
16983 arg4
= static_cast< int >(val4
);
16986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16987 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
16988 wxPyEndAllowThreads(__tstate
);
16989 if (PyErr_Occurred()) SWIG_fail
;
16992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17000 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17001 PyObject
*resultobj
= 0;
17002 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17003 wxString
*arg2
= 0 ;
17007 bool temp2
= false ;
17008 PyObject
* obj0
= 0 ;
17009 PyObject
* obj1
= 0 ;
17010 char * kwnames
[] = {
17011 (char *) "self",(char *) "input", NULL
17014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17016 if (!SWIG_IsOK(res1
)) {
17017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17019 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17021 arg2
= wxString_in_helper(obj1
);
17022 if (arg2
== NULL
) SWIG_fail
;
17026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17027 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17028 wxPyEndAllowThreads(__tstate
);
17029 if (PyErr_Occurred()) SWIG_fail
;
17033 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17035 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17052 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17053 PyObject
*resultobj
= 0;
17054 wxFontEncoding arg1
;
17055 int arg2
= (int) wxPLATFORM_CURRENT
;
17056 wxFontEncodingArray result
;
17061 PyObject
* obj0
= 0 ;
17062 PyObject
* obj1
= 0 ;
17063 char * kwnames
[] = {
17064 (char *) "enc",(char *) "platform", NULL
17067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17068 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17069 if (!SWIG_IsOK(ecode1
)) {
17070 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17072 arg1
= static_cast< wxFontEncoding
>(val1
);
17074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17075 if (!SWIG_IsOK(ecode2
)) {
17076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17078 arg2
= static_cast< int >(val2
);
17081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17082 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17083 wxPyEndAllowThreads(__tstate
);
17084 if (PyErr_Occurred()) SWIG_fail
;
17087 resultobj
= PyList_New(0);
17088 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17089 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17090 PyList_Append(resultobj
, number
);
17100 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17101 PyObject
*resultobj
= 0;
17102 wxFontEncoding arg1
;
17103 wxFontEncodingArray result
;
17106 PyObject
* obj0
= 0 ;
17107 char * kwnames
[] = {
17108 (char *) "enc", NULL
17111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17112 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17113 if (!SWIG_IsOK(ecode1
)) {
17114 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17116 arg1
= static_cast< wxFontEncoding
>(val1
);
17118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17119 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17120 wxPyEndAllowThreads(__tstate
);
17121 if (PyErr_Occurred()) SWIG_fail
;
17124 resultobj
= PyList_New(0);
17125 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17126 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17127 PyList_Append(resultobj
, number
);
17137 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17138 PyObject
*resultobj
= 0;
17139 wxFontEncoding arg1
;
17140 wxFontEncoding arg2
;
17146 PyObject
* obj0
= 0 ;
17147 PyObject
* obj1
= 0 ;
17148 char * kwnames
[] = {
17149 (char *) "encIn",(char *) "encOut", NULL
17152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17153 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17154 if (!SWIG_IsOK(ecode1
)) {
17155 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17157 arg1
= static_cast< wxFontEncoding
>(val1
);
17158 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17159 if (!SWIG_IsOK(ecode2
)) {
17160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17162 arg2
= static_cast< wxFontEncoding
>(val2
);
17164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17165 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17166 wxPyEndAllowThreads(__tstate
);
17167 if (PyErr_Occurred()) SWIG_fail
;
17170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17178 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17180 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17181 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17182 return SWIG_Py_Void();
17185 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17186 return SWIG_Python_InitShadowInstance(args
);
17189 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17190 PyObject
*resultobj
= 0;
17191 wxDC
*arg1
= (wxDC
*) 0 ;
17194 PyObject
*swig_obj
[1] ;
17196 if (!args
) SWIG_fail
;
17197 swig_obj
[0] = args
;
17198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17199 if (!SWIG_IsOK(res1
)) {
17200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17202 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17207 wxPyEndAllowThreads(__tstate
);
17208 if (PyErr_Occurred()) SWIG_fail
;
17210 resultobj
= SWIG_Py_Void();
17217 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17218 PyObject
*resultobj
= 0;
17219 wxDC
*arg1
= (wxDC
*) 0 ;
17222 wxColour
*arg4
= 0 ;
17223 int arg5
= (int) wxFLOOD_SURFACE
;
17234 PyObject
* obj0
= 0 ;
17235 PyObject
* obj1
= 0 ;
17236 PyObject
* obj2
= 0 ;
17237 PyObject
* obj3
= 0 ;
17238 PyObject
* obj4
= 0 ;
17239 char * kwnames
[] = {
17240 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17245 if (!SWIG_IsOK(res1
)) {
17246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17248 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17249 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17250 if (!SWIG_IsOK(ecode2
)) {
17251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17253 arg2
= static_cast< int >(val2
);
17254 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17255 if (!SWIG_IsOK(ecode3
)) {
17256 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17258 arg3
= static_cast< int >(val3
);
17261 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17264 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17265 if (!SWIG_IsOK(ecode5
)) {
17266 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17268 arg5
= static_cast< int >(val5
);
17271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17272 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17273 wxPyEndAllowThreads(__tstate
);
17274 if (PyErr_Occurred()) SWIG_fail
;
17277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17285 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17286 PyObject
*resultobj
= 0;
17287 wxDC
*arg1
= (wxDC
*) 0 ;
17288 wxPoint
*arg2
= 0 ;
17289 wxColour
*arg3
= 0 ;
17290 int arg4
= (int) wxFLOOD_SURFACE
;
17298 PyObject
* obj0
= 0 ;
17299 PyObject
* obj1
= 0 ;
17300 PyObject
* obj2
= 0 ;
17301 PyObject
* obj3
= 0 ;
17302 char * kwnames
[] = {
17303 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17308 if (!SWIG_IsOK(res1
)) {
17309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17311 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17314 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17318 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17321 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17322 if (!SWIG_IsOK(ecode4
)) {
17323 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17325 arg4
= static_cast< int >(val4
);
17328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17329 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17330 wxPyEndAllowThreads(__tstate
);
17331 if (PyErr_Occurred()) SWIG_fail
;
17334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17342 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17343 PyObject
*resultobj
= 0;
17344 wxDC
*arg1
= (wxDC
*) 0 ;
17346 wxColour
*arg3
= 0 ;
17347 wxColour
*arg4
= 0 ;
17348 wxPoint
*arg5
= 0 ;
17355 PyObject
* obj0
= 0 ;
17356 PyObject
* obj1
= 0 ;
17357 PyObject
* obj2
= 0 ;
17358 PyObject
* obj3
= 0 ;
17359 PyObject
* obj4
= 0 ;
17360 char * kwnames
[] = {
17361 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17366 if (!SWIG_IsOK(res1
)) {
17367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17369 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17372 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17376 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17380 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17384 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17388 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17389 wxPyEndAllowThreads(__tstate
);
17390 if (PyErr_Occurred()) SWIG_fail
;
17392 resultobj
= SWIG_Py_Void();
17399 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17400 PyObject
*resultobj
= 0;
17401 wxDC
*arg1
= (wxDC
*) 0 ;
17403 wxColour
*arg3
= 0 ;
17404 wxColour
*arg4
= 0 ;
17405 wxDirection arg5
= (wxDirection
) wxEAST
;
17413 PyObject
* obj0
= 0 ;
17414 PyObject
* obj1
= 0 ;
17415 PyObject
* obj2
= 0 ;
17416 PyObject
* obj3
= 0 ;
17417 PyObject
* obj4
= 0 ;
17418 char * kwnames
[] = {
17419 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17424 if (!SWIG_IsOK(res1
)) {
17425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17427 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17430 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17434 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17438 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17441 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17442 if (!SWIG_IsOK(ecode5
)) {
17443 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17445 arg5
= static_cast< wxDirection
>(val5
);
17448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17449 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17450 wxPyEndAllowThreads(__tstate
);
17451 if (PyErr_Occurred()) SWIG_fail
;
17453 resultobj
= SWIG_Py_Void();
17460 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17461 PyObject
*resultobj
= 0;
17462 wxDC
*arg1
= (wxDC
*) 0 ;
17472 PyObject
* obj0
= 0 ;
17473 PyObject
* obj1
= 0 ;
17474 PyObject
* obj2
= 0 ;
17475 char * kwnames
[] = {
17476 (char *) "self",(char *) "x",(char *) "y", NULL
17479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17481 if (!SWIG_IsOK(res1
)) {
17482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17484 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17485 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17486 if (!SWIG_IsOK(ecode2
)) {
17487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17489 arg2
= static_cast< int >(val2
);
17490 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17491 if (!SWIG_IsOK(ecode3
)) {
17492 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17494 arg3
= static_cast< int >(val3
);
17496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17497 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17498 wxPyEndAllowThreads(__tstate
);
17499 if (PyErr_Occurred()) SWIG_fail
;
17501 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17508 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17509 PyObject
*resultobj
= 0;
17510 wxDC
*arg1
= (wxDC
*) 0 ;
17511 wxPoint
*arg2
= 0 ;
17516 PyObject
* obj0
= 0 ;
17517 PyObject
* obj1
= 0 ;
17518 char * kwnames
[] = {
17519 (char *) "self",(char *) "pt", NULL
17522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17524 if (!SWIG_IsOK(res1
)) {
17525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17527 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17530 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17534 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17535 wxPyEndAllowThreads(__tstate
);
17536 if (PyErr_Occurred()) SWIG_fail
;
17538 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17545 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17546 PyObject
*resultobj
= 0;
17547 wxDC
*arg1
= (wxDC
*) 0 ;
17562 PyObject
* obj0
= 0 ;
17563 PyObject
* obj1
= 0 ;
17564 PyObject
* obj2
= 0 ;
17565 PyObject
* obj3
= 0 ;
17566 PyObject
* obj4
= 0 ;
17567 char * kwnames
[] = {
17568 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17573 if (!SWIG_IsOK(res1
)) {
17574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17576 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17577 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17578 if (!SWIG_IsOK(ecode2
)) {
17579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17581 arg2
= static_cast< int >(val2
);
17582 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17583 if (!SWIG_IsOK(ecode3
)) {
17584 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17586 arg3
= static_cast< int >(val3
);
17587 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17588 if (!SWIG_IsOK(ecode4
)) {
17589 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17591 arg4
= static_cast< int >(val4
);
17592 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17593 if (!SWIG_IsOK(ecode5
)) {
17594 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17596 arg5
= static_cast< int >(val5
);
17598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17599 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17600 wxPyEndAllowThreads(__tstate
);
17601 if (PyErr_Occurred()) SWIG_fail
;
17603 resultobj
= SWIG_Py_Void();
17610 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17611 PyObject
*resultobj
= 0;
17612 wxDC
*arg1
= (wxDC
*) 0 ;
17613 wxPoint
*arg2
= 0 ;
17614 wxPoint
*arg3
= 0 ;
17619 PyObject
* obj0
= 0 ;
17620 PyObject
* obj1
= 0 ;
17621 PyObject
* obj2
= 0 ;
17622 char * kwnames
[] = {
17623 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17628 if (!SWIG_IsOK(res1
)) {
17629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17631 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17634 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17638 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17642 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
17643 wxPyEndAllowThreads(__tstate
);
17644 if (PyErr_Occurred()) SWIG_fail
;
17646 resultobj
= SWIG_Py_Void();
17653 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17654 PyObject
*resultobj
= 0;
17655 wxDC
*arg1
= (wxDC
*) 0 ;
17664 PyObject
* obj0
= 0 ;
17665 PyObject
* obj1
= 0 ;
17666 PyObject
* obj2
= 0 ;
17667 char * kwnames
[] = {
17668 (char *) "self",(char *) "x",(char *) "y", NULL
17671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17673 if (!SWIG_IsOK(res1
)) {
17674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
17676 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17677 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17678 if (!SWIG_IsOK(ecode2
)) {
17679 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
17681 arg2
= static_cast< int >(val2
);
17682 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17683 if (!SWIG_IsOK(ecode3
)) {
17684 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
17686 arg3
= static_cast< int >(val3
);
17688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17689 (arg1
)->CrossHair(arg2
,arg3
);
17690 wxPyEndAllowThreads(__tstate
);
17691 if (PyErr_Occurred()) SWIG_fail
;
17693 resultobj
= SWIG_Py_Void();
17700 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17701 PyObject
*resultobj
= 0;
17702 wxDC
*arg1
= (wxDC
*) 0 ;
17703 wxPoint
*arg2
= 0 ;
17707 PyObject
* obj0
= 0 ;
17708 PyObject
* obj1
= 0 ;
17709 char * kwnames
[] = {
17710 (char *) "self",(char *) "pt", NULL
17713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17715 if (!SWIG_IsOK(res1
)) {
17716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17718 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17721 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17725 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
17726 wxPyEndAllowThreads(__tstate
);
17727 if (PyErr_Occurred()) SWIG_fail
;
17729 resultobj
= SWIG_Py_Void();
17736 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17737 PyObject
*resultobj
= 0;
17738 wxDC
*arg1
= (wxDC
*) 0 ;
17759 PyObject
* obj0
= 0 ;
17760 PyObject
* obj1
= 0 ;
17761 PyObject
* obj2
= 0 ;
17762 PyObject
* obj3
= 0 ;
17763 PyObject
* obj4
= 0 ;
17764 PyObject
* obj5
= 0 ;
17765 PyObject
* obj6
= 0 ;
17766 char * kwnames
[] = {
17767 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
17770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17772 if (!SWIG_IsOK(res1
)) {
17773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
17775 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17776 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17777 if (!SWIG_IsOK(ecode2
)) {
17778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
17780 arg2
= static_cast< int >(val2
);
17781 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17782 if (!SWIG_IsOK(ecode3
)) {
17783 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
17785 arg3
= static_cast< int >(val3
);
17786 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17787 if (!SWIG_IsOK(ecode4
)) {
17788 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
17790 arg4
= static_cast< int >(val4
);
17791 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17792 if (!SWIG_IsOK(ecode5
)) {
17793 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
17795 arg5
= static_cast< int >(val5
);
17796 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17797 if (!SWIG_IsOK(ecode6
)) {
17798 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
17800 arg6
= static_cast< int >(val6
);
17801 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
17802 if (!SWIG_IsOK(ecode7
)) {
17803 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
17805 arg7
= static_cast< int >(val7
);
17807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17808 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17809 wxPyEndAllowThreads(__tstate
);
17810 if (PyErr_Occurred()) SWIG_fail
;
17812 resultobj
= SWIG_Py_Void();
17819 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17820 PyObject
*resultobj
= 0;
17821 wxDC
*arg1
= (wxDC
*) 0 ;
17822 wxPoint
*arg2
= 0 ;
17823 wxPoint
*arg3
= 0 ;
17824 wxPoint
*arg4
= 0 ;
17830 PyObject
* obj0
= 0 ;
17831 PyObject
* obj1
= 0 ;
17832 PyObject
* obj2
= 0 ;
17833 PyObject
* obj3
= 0 ;
17834 char * kwnames
[] = {
17835 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
17838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17840 if (!SWIG_IsOK(res1
)) {
17841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17843 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17846 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17850 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17854 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17858 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
17859 wxPyEndAllowThreads(__tstate
);
17860 if (PyErr_Occurred()) SWIG_fail
;
17862 resultobj
= SWIG_Py_Void();
17869 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17870 PyObject
*resultobj
= 0;
17871 wxDC
*arg1
= (wxDC
*) 0 ;
17886 PyObject
* obj0
= 0 ;
17887 PyObject
* obj1
= 0 ;
17888 PyObject
* obj2
= 0 ;
17889 PyObject
* obj3
= 0 ;
17890 PyObject
* obj4
= 0 ;
17891 char * kwnames
[] = {
17892 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17897 if (!SWIG_IsOK(res1
)) {
17898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
17900 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17901 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17902 if (!SWIG_IsOK(ecode2
)) {
17903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
17905 arg2
= static_cast< int >(val2
);
17906 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17907 if (!SWIG_IsOK(ecode3
)) {
17908 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
17910 arg3
= static_cast< int >(val3
);
17911 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17912 if (!SWIG_IsOK(ecode4
)) {
17913 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
17915 arg4
= static_cast< int >(val4
);
17916 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17917 if (!SWIG_IsOK(ecode5
)) {
17918 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
17920 arg5
= static_cast< int >(val5
);
17922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17923 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
17924 wxPyEndAllowThreads(__tstate
);
17925 if (PyErr_Occurred()) SWIG_fail
;
17927 resultobj
= SWIG_Py_Void();
17934 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17935 PyObject
*resultobj
= 0;
17936 wxDC
*arg1
= (wxDC
*) 0 ;
17941 PyObject
* obj0
= 0 ;
17942 PyObject
* obj1
= 0 ;
17943 char * kwnames
[] = {
17944 (char *) "self",(char *) "rect", NULL
17947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17949 if (!SWIG_IsOK(res1
)) {
17950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
17952 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17955 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17959 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
17960 wxPyEndAllowThreads(__tstate
);
17961 if (PyErr_Occurred()) SWIG_fail
;
17963 resultobj
= SWIG_Py_Void();
17970 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17971 PyObject
*resultobj
= 0;
17972 wxDC
*arg1
= (wxDC
*) 0 ;
17993 PyObject
* obj0
= 0 ;
17994 PyObject
* obj1
= 0 ;
17995 PyObject
* obj2
= 0 ;
17996 PyObject
* obj3
= 0 ;
17997 PyObject
* obj4
= 0 ;
17998 PyObject
* obj5
= 0 ;
17999 PyObject
* obj6
= 0 ;
18000 char * kwnames
[] = {
18001 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18006 if (!SWIG_IsOK(res1
)) {
18007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18009 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18011 if (!SWIG_IsOK(ecode2
)) {
18012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18014 arg2
= static_cast< int >(val2
);
18015 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18016 if (!SWIG_IsOK(ecode3
)) {
18017 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18019 arg3
= static_cast< int >(val3
);
18020 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18021 if (!SWIG_IsOK(ecode4
)) {
18022 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18024 arg4
= static_cast< int >(val4
);
18025 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18026 if (!SWIG_IsOK(ecode5
)) {
18027 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18029 arg5
= static_cast< int >(val5
);
18030 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18031 if (!SWIG_IsOK(ecode6
)) {
18032 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18034 arg6
= static_cast< double >(val6
);
18035 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18036 if (!SWIG_IsOK(ecode7
)) {
18037 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18039 arg7
= static_cast< double >(val7
);
18041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18042 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18043 wxPyEndAllowThreads(__tstate
);
18044 if (PyErr_Occurred()) SWIG_fail
;
18046 resultobj
= SWIG_Py_Void();
18053 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18054 PyObject
*resultobj
= 0;
18055 wxDC
*arg1
= (wxDC
*) 0 ;
18056 wxPoint
*arg2
= 0 ;
18068 PyObject
* obj0
= 0 ;
18069 PyObject
* obj1
= 0 ;
18070 PyObject
* obj2
= 0 ;
18071 PyObject
* obj3
= 0 ;
18072 PyObject
* obj4
= 0 ;
18073 char * kwnames
[] = {
18074 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18079 if (!SWIG_IsOK(res1
)) {
18080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18082 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18085 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18089 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18091 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18092 if (!SWIG_IsOK(ecode4
)) {
18093 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18095 arg4
= static_cast< double >(val4
);
18096 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18097 if (!SWIG_IsOK(ecode5
)) {
18098 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18100 arg5
= static_cast< double >(val5
);
18102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18103 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18104 wxPyEndAllowThreads(__tstate
);
18105 if (PyErr_Occurred()) SWIG_fail
;
18107 resultobj
= SWIG_Py_Void();
18114 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18115 PyObject
*resultobj
= 0;
18116 wxDC
*arg1
= (wxDC
*) 0 ;
18125 PyObject
* obj0
= 0 ;
18126 PyObject
* obj1
= 0 ;
18127 PyObject
* obj2
= 0 ;
18128 char * kwnames
[] = {
18129 (char *) "self",(char *) "x",(char *) "y", NULL
18132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18134 if (!SWIG_IsOK(res1
)) {
18135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18137 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18138 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18139 if (!SWIG_IsOK(ecode2
)) {
18140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18142 arg2
= static_cast< int >(val2
);
18143 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18144 if (!SWIG_IsOK(ecode3
)) {
18145 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18147 arg3
= static_cast< int >(val3
);
18149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18150 (arg1
)->DrawPoint(arg2
,arg3
);
18151 wxPyEndAllowThreads(__tstate
);
18152 if (PyErr_Occurred()) SWIG_fail
;
18154 resultobj
= SWIG_Py_Void();
18161 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18162 PyObject
*resultobj
= 0;
18163 wxDC
*arg1
= (wxDC
*) 0 ;
18164 wxPoint
*arg2
= 0 ;
18168 PyObject
* obj0
= 0 ;
18169 PyObject
* obj1
= 0 ;
18170 char * kwnames
[] = {
18171 (char *) "self",(char *) "pt", NULL
18174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18176 if (!SWIG_IsOK(res1
)) {
18177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18179 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18182 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18186 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18187 wxPyEndAllowThreads(__tstate
);
18188 if (PyErr_Occurred()) SWIG_fail
;
18190 resultobj
= SWIG_Py_Void();
18197 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18198 PyObject
*resultobj
= 0;
18199 wxDC
*arg1
= (wxDC
*) 0 ;
18214 PyObject
* obj0
= 0 ;
18215 PyObject
* obj1
= 0 ;
18216 PyObject
* obj2
= 0 ;
18217 PyObject
* obj3
= 0 ;
18218 PyObject
* obj4
= 0 ;
18219 char * kwnames
[] = {
18220 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18225 if (!SWIG_IsOK(res1
)) {
18226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18228 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18229 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18230 if (!SWIG_IsOK(ecode2
)) {
18231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18233 arg2
= static_cast< int >(val2
);
18234 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18235 if (!SWIG_IsOK(ecode3
)) {
18236 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18238 arg3
= static_cast< int >(val3
);
18239 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18240 if (!SWIG_IsOK(ecode4
)) {
18241 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18243 arg4
= static_cast< int >(val4
);
18244 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18245 if (!SWIG_IsOK(ecode5
)) {
18246 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18248 arg5
= static_cast< int >(val5
);
18250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18251 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18252 wxPyEndAllowThreads(__tstate
);
18253 if (PyErr_Occurred()) SWIG_fail
;
18255 resultobj
= SWIG_Py_Void();
18262 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18263 PyObject
*resultobj
= 0;
18264 wxDC
*arg1
= (wxDC
*) 0 ;
18269 PyObject
* obj0
= 0 ;
18270 PyObject
* obj1
= 0 ;
18271 char * kwnames
[] = {
18272 (char *) "self",(char *) "rect", NULL
18275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18277 if (!SWIG_IsOK(res1
)) {
18278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18280 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18283 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18287 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18288 wxPyEndAllowThreads(__tstate
);
18289 if (PyErr_Occurred()) SWIG_fail
;
18291 resultobj
= SWIG_Py_Void();
18298 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18299 PyObject
*resultobj
= 0;
18300 wxDC
*arg1
= (wxDC
*) 0 ;
18301 wxPoint
*arg2
= 0 ;
18307 PyObject
* obj0
= 0 ;
18308 PyObject
* obj1
= 0 ;
18309 PyObject
* obj2
= 0 ;
18310 char * kwnames
[] = {
18311 (char *) "self",(char *) "pt",(char *) "sz", NULL
18314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18316 if (!SWIG_IsOK(res1
)) {
18317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18319 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18322 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18326 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18330 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18331 wxPyEndAllowThreads(__tstate
);
18332 if (PyErr_Occurred()) SWIG_fail
;
18334 resultobj
= SWIG_Py_Void();
18341 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18342 PyObject
*resultobj
= 0;
18343 wxDC
*arg1
= (wxDC
*) 0 ;
18361 PyObject
* obj0
= 0 ;
18362 PyObject
* obj1
= 0 ;
18363 PyObject
* obj2
= 0 ;
18364 PyObject
* obj3
= 0 ;
18365 PyObject
* obj4
= 0 ;
18366 PyObject
* obj5
= 0 ;
18367 char * kwnames
[] = {
18368 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18373 if (!SWIG_IsOK(res1
)) {
18374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18376 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18377 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18378 if (!SWIG_IsOK(ecode2
)) {
18379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18381 arg2
= static_cast< int >(val2
);
18382 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18383 if (!SWIG_IsOK(ecode3
)) {
18384 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18386 arg3
= static_cast< int >(val3
);
18387 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18388 if (!SWIG_IsOK(ecode4
)) {
18389 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18391 arg4
= static_cast< int >(val4
);
18392 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18393 if (!SWIG_IsOK(ecode5
)) {
18394 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18396 arg5
= static_cast< int >(val5
);
18397 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18398 if (!SWIG_IsOK(ecode6
)) {
18399 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18401 arg6
= static_cast< double >(val6
);
18403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18404 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18405 wxPyEndAllowThreads(__tstate
);
18406 if (PyErr_Occurred()) SWIG_fail
;
18408 resultobj
= SWIG_Py_Void();
18415 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18416 PyObject
*resultobj
= 0;
18417 wxDC
*arg1
= (wxDC
*) 0 ;
18425 PyObject
* obj0
= 0 ;
18426 PyObject
* obj1
= 0 ;
18427 PyObject
* obj2
= 0 ;
18428 char * kwnames
[] = {
18429 (char *) "self",(char *) "r",(char *) "radius", NULL
18432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18434 if (!SWIG_IsOK(res1
)) {
18435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18437 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18440 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18442 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18443 if (!SWIG_IsOK(ecode3
)) {
18444 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18446 arg3
= static_cast< double >(val3
);
18448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18449 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18450 wxPyEndAllowThreads(__tstate
);
18451 if (PyErr_Occurred()) SWIG_fail
;
18453 resultobj
= SWIG_Py_Void();
18460 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18461 PyObject
*resultobj
= 0;
18462 wxDC
*arg1
= (wxDC
*) 0 ;
18463 wxPoint
*arg2
= 0 ;
18472 PyObject
* obj0
= 0 ;
18473 PyObject
* obj1
= 0 ;
18474 PyObject
* obj2
= 0 ;
18475 PyObject
* obj3
= 0 ;
18476 char * kwnames
[] = {
18477 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18482 if (!SWIG_IsOK(res1
)) {
18483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18485 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18488 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18492 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18494 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18495 if (!SWIG_IsOK(ecode4
)) {
18496 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18498 arg4
= static_cast< double >(val4
);
18500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18501 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18502 wxPyEndAllowThreads(__tstate
);
18503 if (PyErr_Occurred()) SWIG_fail
;
18505 resultobj
= SWIG_Py_Void();
18512 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18513 PyObject
*resultobj
= 0;
18514 wxDC
*arg1
= (wxDC
*) 0 ;
18526 PyObject
* obj0
= 0 ;
18527 PyObject
* obj1
= 0 ;
18528 PyObject
* obj2
= 0 ;
18529 PyObject
* obj3
= 0 ;
18530 char * kwnames
[] = {
18531 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18536 if (!SWIG_IsOK(res1
)) {
18537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18539 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18540 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18541 if (!SWIG_IsOK(ecode2
)) {
18542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18544 arg2
= static_cast< int >(val2
);
18545 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18546 if (!SWIG_IsOK(ecode3
)) {
18547 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18549 arg3
= static_cast< int >(val3
);
18550 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18551 if (!SWIG_IsOK(ecode4
)) {
18552 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18554 arg4
= static_cast< int >(val4
);
18556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18557 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18558 wxPyEndAllowThreads(__tstate
);
18559 if (PyErr_Occurred()) SWIG_fail
;
18561 resultobj
= SWIG_Py_Void();
18568 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18569 PyObject
*resultobj
= 0;
18570 wxDC
*arg1
= (wxDC
*) 0 ;
18571 wxPoint
*arg2
= 0 ;
18578 PyObject
* obj0
= 0 ;
18579 PyObject
* obj1
= 0 ;
18580 PyObject
* obj2
= 0 ;
18581 char * kwnames
[] = {
18582 (char *) "self",(char *) "pt",(char *) "radius", NULL
18585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18587 if (!SWIG_IsOK(res1
)) {
18588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18590 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18593 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18595 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18596 if (!SWIG_IsOK(ecode3
)) {
18597 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18599 arg3
= static_cast< int >(val3
);
18601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18602 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18603 wxPyEndAllowThreads(__tstate
);
18604 if (PyErr_Occurred()) SWIG_fail
;
18606 resultobj
= SWIG_Py_Void();
18613 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18614 PyObject
*resultobj
= 0;
18615 wxDC
*arg1
= (wxDC
*) 0 ;
18630 PyObject
* obj0
= 0 ;
18631 PyObject
* obj1
= 0 ;
18632 PyObject
* obj2
= 0 ;
18633 PyObject
* obj3
= 0 ;
18634 PyObject
* obj4
= 0 ;
18635 char * kwnames
[] = {
18636 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18641 if (!SWIG_IsOK(res1
)) {
18642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
18644 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18645 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18646 if (!SWIG_IsOK(ecode2
)) {
18647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
18649 arg2
= static_cast< int >(val2
);
18650 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18651 if (!SWIG_IsOK(ecode3
)) {
18652 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
18654 arg3
= static_cast< int >(val3
);
18655 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18656 if (!SWIG_IsOK(ecode4
)) {
18657 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
18659 arg4
= static_cast< int >(val4
);
18660 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18661 if (!SWIG_IsOK(ecode5
)) {
18662 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
18664 arg5
= static_cast< int >(val5
);
18666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18667 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
18668 wxPyEndAllowThreads(__tstate
);
18669 if (PyErr_Occurred()) SWIG_fail
;
18671 resultobj
= SWIG_Py_Void();
18678 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18679 PyObject
*resultobj
= 0;
18680 wxDC
*arg1
= (wxDC
*) 0 ;
18685 PyObject
* obj0
= 0 ;
18686 PyObject
* obj1
= 0 ;
18687 char * kwnames
[] = {
18688 (char *) "self",(char *) "rect", NULL
18691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18693 if (!SWIG_IsOK(res1
)) {
18694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
18696 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18699 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18703 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
18704 wxPyEndAllowThreads(__tstate
);
18705 if (PyErr_Occurred()) SWIG_fail
;
18707 resultobj
= SWIG_Py_Void();
18714 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18715 PyObject
*resultobj
= 0;
18716 wxDC
*arg1
= (wxDC
*) 0 ;
18717 wxPoint
*arg2
= 0 ;
18723 PyObject
* obj0
= 0 ;
18724 PyObject
* obj1
= 0 ;
18725 PyObject
* obj2
= 0 ;
18726 char * kwnames
[] = {
18727 (char *) "self",(char *) "pt",(char *) "sz", NULL
18730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18732 if (!SWIG_IsOK(res1
)) {
18733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18735 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18738 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18742 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18746 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18747 wxPyEndAllowThreads(__tstate
);
18748 if (PyErr_Occurred()) SWIG_fail
;
18750 resultobj
= SWIG_Py_Void();
18757 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18758 PyObject
*resultobj
= 0;
18759 wxDC
*arg1
= (wxDC
*) 0 ;
18771 PyObject
* obj0
= 0 ;
18772 PyObject
* obj1
= 0 ;
18773 PyObject
* obj2
= 0 ;
18774 PyObject
* obj3
= 0 ;
18775 char * kwnames
[] = {
18776 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
18779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18781 if (!SWIG_IsOK(res1
)) {
18782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
18784 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18785 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18786 if (!SWIG_IsOK(res2
)) {
18787 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18790 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18792 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18793 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18794 if (!SWIG_IsOK(ecode3
)) {
18795 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
18797 arg3
= static_cast< int >(val3
);
18798 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18799 if (!SWIG_IsOK(ecode4
)) {
18800 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
18802 arg4
= static_cast< int >(val4
);
18804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18805 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
18806 wxPyEndAllowThreads(__tstate
);
18807 if (PyErr_Occurred()) SWIG_fail
;
18809 resultobj
= SWIG_Py_Void();
18816 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18817 PyObject
*resultobj
= 0;
18818 wxDC
*arg1
= (wxDC
*) 0 ;
18820 wxPoint
*arg3
= 0 ;
18826 PyObject
* obj0
= 0 ;
18827 PyObject
* obj1
= 0 ;
18828 PyObject
* obj2
= 0 ;
18829 char * kwnames
[] = {
18830 (char *) "self",(char *) "icon",(char *) "pt", NULL
18833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18835 if (!SWIG_IsOK(res1
)) {
18836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18838 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18839 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18840 if (!SWIG_IsOK(res2
)) {
18841 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
18844 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
18846 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18849 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18853 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
18854 wxPyEndAllowThreads(__tstate
);
18855 if (PyErr_Occurred()) SWIG_fail
;
18857 resultobj
= SWIG_Py_Void();
18864 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18865 PyObject
*resultobj
= 0;
18866 wxDC
*arg1
= (wxDC
*) 0 ;
18867 wxBitmap
*arg2
= 0 ;
18870 bool arg5
= (bool) false ;
18881 PyObject
* obj0
= 0 ;
18882 PyObject
* obj1
= 0 ;
18883 PyObject
* obj2
= 0 ;
18884 PyObject
* obj3
= 0 ;
18885 PyObject
* obj4
= 0 ;
18886 char * kwnames
[] = {
18887 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
18890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18892 if (!SWIG_IsOK(res1
)) {
18893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
18895 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18896 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
18897 if (!SWIG_IsOK(res2
)) {
18898 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18901 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18903 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
18904 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18905 if (!SWIG_IsOK(ecode3
)) {
18906 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
18908 arg3
= static_cast< int >(val3
);
18909 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18910 if (!SWIG_IsOK(ecode4
)) {
18911 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
18913 arg4
= static_cast< int >(val4
);
18915 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
18916 if (!SWIG_IsOK(ecode5
)) {
18917 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
18919 arg5
= static_cast< bool >(val5
);
18922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18923 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
18924 wxPyEndAllowThreads(__tstate
);
18925 if (PyErr_Occurred()) SWIG_fail
;
18927 resultobj
= SWIG_Py_Void();
18934 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18935 PyObject
*resultobj
= 0;
18936 wxDC
*arg1
= (wxDC
*) 0 ;
18937 wxBitmap
*arg2
= 0 ;
18938 wxPoint
*arg3
= 0 ;
18939 bool arg4
= (bool) false ;
18947 PyObject
* obj0
= 0 ;
18948 PyObject
* obj1
= 0 ;
18949 PyObject
* obj2
= 0 ;
18950 PyObject
* obj3
= 0 ;
18951 char * kwnames
[] = {
18952 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
18955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18957 if (!SWIG_IsOK(res1
)) {
18958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18960 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18961 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
18962 if (!SWIG_IsOK(res2
)) {
18963 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18966 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18968 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
18971 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18974 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
18975 if (!SWIG_IsOK(ecode4
)) {
18976 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
18978 arg4
= static_cast< bool >(val4
);
18981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18982 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
18983 wxPyEndAllowThreads(__tstate
);
18984 if (PyErr_Occurred()) SWIG_fail
;
18986 resultobj
= SWIG_Py_Void();
18993 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18994 PyObject
*resultobj
= 0;
18995 wxDC
*arg1
= (wxDC
*) 0 ;
18996 wxString
*arg2
= 0 ;
19001 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 *) "x",(char *) "y", NULL
19014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",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_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19019 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19021 arg2
= wxString_in_helper(obj1
);
19022 if (arg2
== NULL
) SWIG_fail
;
19025 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19026 if (!SWIG_IsOK(ecode3
)) {
19027 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19029 arg3
= static_cast< int >(val3
);
19030 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19031 if (!SWIG_IsOK(ecode4
)) {
19032 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19034 arg4
= static_cast< int >(val4
);
19036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19037 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19038 wxPyEndAllowThreads(__tstate
);
19039 if (PyErr_Occurred()) SWIG_fail
;
19041 resultobj
= SWIG_Py_Void();
19056 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19057 PyObject
*resultobj
= 0;
19058 wxDC
*arg1
= (wxDC
*) 0 ;
19059 wxString
*arg2
= 0 ;
19060 wxPoint
*arg3
= 0 ;
19063 bool temp2
= false ;
19065 PyObject
* obj0
= 0 ;
19066 PyObject
* obj1
= 0 ;
19067 PyObject
* obj2
= 0 ;
19068 char * kwnames
[] = {
19069 (char *) "self",(char *) "text",(char *) "pt", NULL
19072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19074 if (!SWIG_IsOK(res1
)) {
19075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19077 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19079 arg2
= wxString_in_helper(obj1
);
19080 if (arg2
== NULL
) SWIG_fail
;
19085 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19089 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19090 wxPyEndAllowThreads(__tstate
);
19091 if (PyErr_Occurred()) SWIG_fail
;
19093 resultobj
= SWIG_Py_Void();
19108 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19109 PyObject
*resultobj
= 0;
19110 wxDC
*arg1
= (wxDC
*) 0 ;
19111 wxString
*arg2
= 0 ;
19117 bool temp2
= false ;
19124 PyObject
* obj0
= 0 ;
19125 PyObject
* obj1
= 0 ;
19126 PyObject
* obj2
= 0 ;
19127 PyObject
* obj3
= 0 ;
19128 PyObject
* obj4
= 0 ;
19129 char * kwnames
[] = {
19130 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19135 if (!SWIG_IsOK(res1
)) {
19136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19138 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19140 arg2
= wxString_in_helper(obj1
);
19141 if (arg2
== NULL
) SWIG_fail
;
19144 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19145 if (!SWIG_IsOK(ecode3
)) {
19146 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19148 arg3
= static_cast< int >(val3
);
19149 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19150 if (!SWIG_IsOK(ecode4
)) {
19151 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19153 arg4
= static_cast< int >(val4
);
19154 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19155 if (!SWIG_IsOK(ecode5
)) {
19156 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19158 arg5
= static_cast< double >(val5
);
19160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19161 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19162 wxPyEndAllowThreads(__tstate
);
19163 if (PyErr_Occurred()) SWIG_fail
;
19165 resultobj
= SWIG_Py_Void();
19180 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19181 PyObject
*resultobj
= 0;
19182 wxDC
*arg1
= (wxDC
*) 0 ;
19183 wxString
*arg2
= 0 ;
19184 wxPoint
*arg3
= 0 ;
19188 bool temp2
= false ;
19192 PyObject
* obj0
= 0 ;
19193 PyObject
* obj1
= 0 ;
19194 PyObject
* obj2
= 0 ;
19195 PyObject
* obj3
= 0 ;
19196 char * kwnames
[] = {
19197 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19202 if (!SWIG_IsOK(res1
)) {
19203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19205 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19207 arg2
= wxString_in_helper(obj1
);
19208 if (arg2
== NULL
) SWIG_fail
;
19213 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19215 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19216 if (!SWIG_IsOK(ecode4
)) {
19217 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19219 arg4
= static_cast< double >(val4
);
19221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19222 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19223 wxPyEndAllowThreads(__tstate
);
19224 if (PyErr_Occurred()) SWIG_fail
;
19226 resultobj
= SWIG_Py_Void();
19241 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19242 PyObject
*resultobj
= 0;
19243 wxDC
*arg1
= (wxDC
*) 0 ;
19248 wxDC
*arg6
= (wxDC
*) 0 ;
19251 int arg9
= (int) wxCOPY
;
19252 bool arg10
= (bool) false ;
19253 int arg11
= (int) -1 ;
19254 int arg12
= (int) -1 ;
19280 PyObject
* obj0
= 0 ;
19281 PyObject
* obj1
= 0 ;
19282 PyObject
* obj2
= 0 ;
19283 PyObject
* obj3
= 0 ;
19284 PyObject
* obj4
= 0 ;
19285 PyObject
* obj5
= 0 ;
19286 PyObject
* obj6
= 0 ;
19287 PyObject
* obj7
= 0 ;
19288 PyObject
* obj8
= 0 ;
19289 PyObject
* obj9
= 0 ;
19290 PyObject
* obj10
= 0 ;
19291 PyObject
* obj11
= 0 ;
19292 char * kwnames
[] = {
19293 (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
19296 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
;
19297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19298 if (!SWIG_IsOK(res1
)) {
19299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19301 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19303 if (!SWIG_IsOK(ecode2
)) {
19304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19306 arg2
= static_cast< int >(val2
);
19307 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19308 if (!SWIG_IsOK(ecode3
)) {
19309 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19311 arg3
= static_cast< int >(val3
);
19312 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19313 if (!SWIG_IsOK(ecode4
)) {
19314 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19316 arg4
= static_cast< int >(val4
);
19317 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19318 if (!SWIG_IsOK(ecode5
)) {
19319 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19321 arg5
= static_cast< int >(val5
);
19322 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19323 if (!SWIG_IsOK(res6
)) {
19324 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19326 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19327 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19328 if (!SWIG_IsOK(ecode7
)) {
19329 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19331 arg7
= static_cast< int >(val7
);
19332 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19333 if (!SWIG_IsOK(ecode8
)) {
19334 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19336 arg8
= static_cast< int >(val8
);
19338 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19339 if (!SWIG_IsOK(ecode9
)) {
19340 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19342 arg9
= static_cast< int >(val9
);
19345 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19346 if (!SWIG_IsOK(ecode10
)) {
19347 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19349 arg10
= static_cast< bool >(val10
);
19352 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19353 if (!SWIG_IsOK(ecode11
)) {
19354 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19356 arg11
= static_cast< int >(val11
);
19359 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19360 if (!SWIG_IsOK(ecode12
)) {
19361 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19363 arg12
= static_cast< int >(val12
);
19366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19367 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19368 wxPyEndAllowThreads(__tstate
);
19369 if (PyErr_Occurred()) SWIG_fail
;
19372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19380 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19381 PyObject
*resultobj
= 0;
19382 wxDC
*arg1
= (wxDC
*) 0 ;
19383 wxPoint
*arg2
= 0 ;
19385 wxDC
*arg4
= (wxDC
*) 0 ;
19386 wxPoint
*arg5
= 0 ;
19387 int arg6
= (int) wxCOPY
;
19388 bool arg7
= (bool) false ;
19389 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19390 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19404 PyObject
* obj0
= 0 ;
19405 PyObject
* obj1
= 0 ;
19406 PyObject
* obj2
= 0 ;
19407 PyObject
* obj3
= 0 ;
19408 PyObject
* obj4
= 0 ;
19409 PyObject
* obj5
= 0 ;
19410 PyObject
* obj6
= 0 ;
19411 PyObject
* obj7
= 0 ;
19412 char * kwnames
[] = {
19413 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19418 if (!SWIG_IsOK(res1
)) {
19419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19421 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19424 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19428 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19430 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19431 if (!SWIG_IsOK(res4
)) {
19432 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19434 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19437 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19440 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19441 if (!SWIG_IsOK(ecode6
)) {
19442 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19444 arg6
= static_cast< int >(val6
);
19447 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19448 if (!SWIG_IsOK(ecode7
)) {
19449 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19451 arg7
= static_cast< bool >(val7
);
19456 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19461 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19462 wxPyEndAllowThreads(__tstate
);
19463 if (PyErr_Occurred()) SWIG_fail
;
19466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19474 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19475 PyObject
*resultobj
= 0;
19476 wxDC
*arg1
= (wxDC
*) 0 ;
19491 PyObject
* obj0
= 0 ;
19492 PyObject
* obj1
= 0 ;
19493 PyObject
* obj2
= 0 ;
19494 PyObject
* obj3
= 0 ;
19495 PyObject
* obj4
= 0 ;
19496 char * kwnames
[] = {
19497 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19502 if (!SWIG_IsOK(res1
)) {
19503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19505 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19507 if (!SWIG_IsOK(ecode2
)) {
19508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19510 arg2
= static_cast< int >(val2
);
19511 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19512 if (!SWIG_IsOK(ecode3
)) {
19513 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19515 arg3
= static_cast< int >(val3
);
19516 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19517 if (!SWIG_IsOK(ecode4
)) {
19518 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19520 arg4
= static_cast< int >(val4
);
19521 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19522 if (!SWIG_IsOK(ecode5
)) {
19523 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19525 arg5
= static_cast< int >(val5
);
19527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19528 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19529 wxPyEndAllowThreads(__tstate
);
19530 if (PyErr_Occurred()) SWIG_fail
;
19532 resultobj
= SWIG_Py_Void();
19539 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19540 PyObject
*resultobj
= 0;
19541 wxDC
*arg1
= (wxDC
*) 0 ;
19542 wxPoint
*arg2
= 0 ;
19548 PyObject
* obj0
= 0 ;
19549 PyObject
* obj1
= 0 ;
19550 PyObject
* obj2
= 0 ;
19551 char * kwnames
[] = {
19552 (char *) "self",(char *) "pt",(char *) "sz", NULL
19555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19557 if (!SWIG_IsOK(res1
)) {
19558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19560 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19563 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19567 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19571 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19572 wxPyEndAllowThreads(__tstate
);
19573 if (PyErr_Occurred()) SWIG_fail
;
19575 resultobj
= SWIG_Py_Void();
19582 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19583 PyObject
*resultobj
= 0;
19584 wxDC
*arg1
= (wxDC
*) 0 ;
19585 wxRegion
*arg2
= 0 ;
19590 PyObject
* obj0
= 0 ;
19591 PyObject
* obj1
= 0 ;
19592 char * kwnames
[] = {
19593 (char *) "self",(char *) "region", NULL
19596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19598 if (!SWIG_IsOK(res1
)) {
19599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19601 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19602 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
19603 if (!SWIG_IsOK(res2
)) {
19604 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19607 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19609 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
19611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19612 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
19613 wxPyEndAllowThreads(__tstate
);
19614 if (PyErr_Occurred()) SWIG_fail
;
19616 resultobj
= SWIG_Py_Void();
19623 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19624 PyObject
*resultobj
= 0;
19625 wxDC
*arg1
= (wxDC
*) 0 ;
19630 PyObject
* obj0
= 0 ;
19631 PyObject
* obj1
= 0 ;
19632 char * kwnames
[] = {
19633 (char *) "self",(char *) "rect", NULL
19636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) 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_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
19641 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19644 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19648 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
19649 wxPyEndAllowThreads(__tstate
);
19650 if (PyErr_Occurred()) SWIG_fail
;
19652 resultobj
= SWIG_Py_Void();
19659 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19660 PyObject
*resultobj
= 0;
19661 wxDC
*arg1
= (wxDC
*) 0 ;
19663 wxPoint
*arg3
= (wxPoint
*) 0 ;
19664 int arg4
= (int) 0 ;
19665 int arg5
= (int) 0 ;
19672 PyObject
* obj0
= 0 ;
19673 PyObject
* obj1
= 0 ;
19674 PyObject
* obj2
= 0 ;
19675 PyObject
* obj3
= 0 ;
19676 char * kwnames
[] = {
19677 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
19680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19682 if (!SWIG_IsOK(res1
)) {
19683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
19685 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19687 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19688 if (arg3
== NULL
) SWIG_fail
;
19691 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19692 if (!SWIG_IsOK(ecode4
)) {
19693 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
19695 arg4
= static_cast< int >(val4
);
19698 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19699 if (!SWIG_IsOK(ecode5
)) {
19700 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
19702 arg5
= static_cast< int >(val5
);
19705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19706 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
19707 wxPyEndAllowThreads(__tstate
);
19708 if (PyErr_Occurred()) SWIG_fail
;
19710 resultobj
= SWIG_Py_Void();
19712 if (arg3
) delete [] arg3
;
19717 if (arg3
) delete [] arg3
;
19723 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19724 PyObject
*resultobj
= 0;
19725 wxDC
*arg1
= (wxDC
*) 0 ;
19727 wxPoint
*arg3
= (wxPoint
*) 0 ;
19728 int arg4
= (int) 0 ;
19729 int arg5
= (int) 0 ;
19730 int arg6
= (int) wxODDEVEN_RULE
;
19739 PyObject
* obj0
= 0 ;
19740 PyObject
* obj1
= 0 ;
19741 PyObject
* obj2
= 0 ;
19742 PyObject
* obj3
= 0 ;
19743 PyObject
* obj4
= 0 ;
19744 char * kwnames
[] = {
19745 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
19748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19750 if (!SWIG_IsOK(res1
)) {
19751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
19753 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19755 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19756 if (arg3
== NULL
) SWIG_fail
;
19759 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19760 if (!SWIG_IsOK(ecode4
)) {
19761 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
19763 arg4
= static_cast< int >(val4
);
19766 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19767 if (!SWIG_IsOK(ecode5
)) {
19768 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
19770 arg5
= static_cast< int >(val5
);
19773 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
19774 if (!SWIG_IsOK(ecode6
)) {
19775 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
19777 arg6
= static_cast< int >(val6
);
19780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19781 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
19782 wxPyEndAllowThreads(__tstate
);
19783 if (PyErr_Occurred()) SWIG_fail
;
19785 resultobj
= SWIG_Py_Void();
19787 if (arg3
) delete [] arg3
;
19792 if (arg3
) delete [] arg3
;
19798 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19799 PyObject
*resultobj
= 0;
19800 wxDC
*arg1
= (wxDC
*) 0 ;
19801 wxString
*arg2
= 0 ;
19803 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19804 int arg5
= (int) -1 ;
19807 bool temp2
= false ;
19813 PyObject
* obj0
= 0 ;
19814 PyObject
* obj1
= 0 ;
19815 PyObject
* obj2
= 0 ;
19816 PyObject
* obj3
= 0 ;
19817 PyObject
* obj4
= 0 ;
19818 char * kwnames
[] = {
19819 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
19822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19824 if (!SWIG_IsOK(res1
)) {
19825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
19827 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19829 arg2
= wxString_in_helper(obj1
);
19830 if (arg2
== NULL
) SWIG_fail
;
19835 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
19838 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19839 if (!SWIG_IsOK(ecode4
)) {
19840 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
19842 arg4
= static_cast< int >(val4
);
19845 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19846 if (!SWIG_IsOK(ecode5
)) {
19847 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
19849 arg5
= static_cast< int >(val5
);
19852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19853 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
19854 wxPyEndAllowThreads(__tstate
);
19855 if (PyErr_Occurred()) SWIG_fail
;
19857 resultobj
= SWIG_Py_Void();
19872 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19873 PyObject
*resultobj
= 0;
19874 wxDC
*arg1
= (wxDC
*) 0 ;
19875 wxString
*arg2
= 0 ;
19876 wxBitmap
*arg3
= 0 ;
19878 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19879 int arg6
= (int) -1 ;
19883 bool temp2
= false ;
19891 PyObject
* obj0
= 0 ;
19892 PyObject
* obj1
= 0 ;
19893 PyObject
* obj2
= 0 ;
19894 PyObject
* obj3
= 0 ;
19895 PyObject
* obj4
= 0 ;
19896 PyObject
* obj5
= 0 ;
19897 char * kwnames
[] = {
19898 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
19901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19903 if (!SWIG_IsOK(res1
)) {
19904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
19906 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19908 arg2
= wxString_in_helper(obj1
);
19909 if (arg2
== NULL
) SWIG_fail
;
19912 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19913 if (!SWIG_IsOK(res3
)) {
19914 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
19917 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
19919 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
19922 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
19925 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19926 if (!SWIG_IsOK(ecode5
)) {
19927 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
19929 arg5
= static_cast< int >(val5
);
19932 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19933 if (!SWIG_IsOK(ecode6
)) {
19934 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
19936 arg6
= static_cast< int >(val6
);
19939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19940 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
19941 wxPyEndAllowThreads(__tstate
);
19942 if (PyErr_Occurred()) SWIG_fail
;
19944 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
19959 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19960 PyObject
*resultobj
= 0;
19961 wxDC
*arg1
= (wxDC
*) 0 ;
19963 wxPoint
*arg3
= (wxPoint
*) 0 ;
19966 PyObject
* obj0
= 0 ;
19967 PyObject
* obj1
= 0 ;
19968 char * kwnames
[] = {
19969 (char *) "self",(char *) "points", NULL
19972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19974 if (!SWIG_IsOK(res1
)) {
19975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
19977 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19979 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19980 if (arg3
== NULL
) SWIG_fail
;
19983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19984 (arg1
)->DrawSpline(arg2
,arg3
);
19985 wxPyEndAllowThreads(__tstate
);
19986 if (PyErr_Occurred()) SWIG_fail
;
19988 resultobj
= SWIG_Py_Void();
19990 if (arg3
) delete [] arg3
;
19995 if (arg3
) delete [] arg3
;
20001 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20002 PyObject
*resultobj
= 0;
20003 wxDC
*arg1
= (wxDC
*) 0 ;
20006 PyObject
*swig_obj
[1] ;
20008 if (!args
) SWIG_fail
;
20009 swig_obj
[0] = args
;
20010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20011 if (!SWIG_IsOK(res1
)) {
20012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20014 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20018 wxPyEndAllowThreads(__tstate
);
20019 if (PyErr_Occurred()) SWIG_fail
;
20021 resultobj
= SWIG_Py_Void();
20028 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20029 PyObject
*resultobj
= 0;
20030 wxDC
*arg1
= (wxDC
*) 0 ;
20031 wxString
*arg2
= 0 ;
20035 bool temp2
= false ;
20036 PyObject
* obj0
= 0 ;
20037 PyObject
* obj1
= 0 ;
20038 char * kwnames
[] = {
20039 (char *) "self",(char *) "message", NULL
20042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20044 if (!SWIG_IsOK(res1
)) {
20045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20047 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20049 arg2
= wxString_in_helper(obj1
);
20050 if (arg2
== NULL
) SWIG_fail
;
20054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20055 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20056 wxPyEndAllowThreads(__tstate
);
20057 if (PyErr_Occurred()) SWIG_fail
;
20060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20076 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20077 PyObject
*resultobj
= 0;
20078 wxDC
*arg1
= (wxDC
*) 0 ;
20081 PyObject
*swig_obj
[1] ;
20083 if (!args
) SWIG_fail
;
20084 swig_obj
[0] = args
;
20085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20086 if (!SWIG_IsOK(res1
)) {
20087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20089 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20093 wxPyEndAllowThreads(__tstate
);
20094 if (PyErr_Occurred()) SWIG_fail
;
20096 resultobj
= SWIG_Py_Void();
20103 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20104 PyObject
*resultobj
= 0;
20105 wxDC
*arg1
= (wxDC
*) 0 ;
20108 PyObject
*swig_obj
[1] ;
20110 if (!args
) SWIG_fail
;
20111 swig_obj
[0] = args
;
20112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20113 if (!SWIG_IsOK(res1
)) {
20114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20116 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20119 (arg1
)->StartPage();
20120 wxPyEndAllowThreads(__tstate
);
20121 if (PyErr_Occurred()) SWIG_fail
;
20123 resultobj
= SWIG_Py_Void();
20130 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20131 PyObject
*resultobj
= 0;
20132 wxDC
*arg1
= (wxDC
*) 0 ;
20135 PyObject
*swig_obj
[1] ;
20137 if (!args
) SWIG_fail
;
20138 swig_obj
[0] = args
;
20139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20140 if (!SWIG_IsOK(res1
)) {
20141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20143 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20147 wxPyEndAllowThreads(__tstate
);
20148 if (PyErr_Occurred()) SWIG_fail
;
20150 resultobj
= SWIG_Py_Void();
20157 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20158 PyObject
*resultobj
= 0;
20159 wxDC
*arg1
= (wxDC
*) 0 ;
20165 PyObject
* obj0
= 0 ;
20166 PyObject
* obj1
= 0 ;
20167 char * kwnames
[] = {
20168 (char *) "self",(char *) "font", NULL
20171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20173 if (!SWIG_IsOK(res1
)) {
20174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20176 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20177 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20178 if (!SWIG_IsOK(res2
)) {
20179 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20182 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20184 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20187 (arg1
)->SetFont((wxFont
const &)*arg2
);
20188 wxPyEndAllowThreads(__tstate
);
20189 if (PyErr_Occurred()) SWIG_fail
;
20191 resultobj
= SWIG_Py_Void();
20198 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20199 PyObject
*resultobj
= 0;
20200 wxDC
*arg1
= (wxDC
*) 0 ;
20206 PyObject
* obj0
= 0 ;
20207 PyObject
* obj1
= 0 ;
20208 char * kwnames
[] = {
20209 (char *) "self",(char *) "pen", NULL
20212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20214 if (!SWIG_IsOK(res1
)) {
20215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20217 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20218 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20219 if (!SWIG_IsOK(res2
)) {
20220 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20223 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20225 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20228 (arg1
)->SetPen((wxPen
const &)*arg2
);
20229 wxPyEndAllowThreads(__tstate
);
20230 if (PyErr_Occurred()) SWIG_fail
;
20232 resultobj
= SWIG_Py_Void();
20239 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20240 PyObject
*resultobj
= 0;
20241 wxDC
*arg1
= (wxDC
*) 0 ;
20242 wxBrush
*arg2
= 0 ;
20247 PyObject
* obj0
= 0 ;
20248 PyObject
* obj1
= 0 ;
20249 char * kwnames
[] = {
20250 (char *) "self",(char *) "brush", NULL
20253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20255 if (!SWIG_IsOK(res1
)) {
20256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20258 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20259 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20260 if (!SWIG_IsOK(res2
)) {
20261 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20264 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20266 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20269 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20270 wxPyEndAllowThreads(__tstate
);
20271 if (PyErr_Occurred()) SWIG_fail
;
20273 resultobj
= SWIG_Py_Void();
20280 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20281 PyObject
*resultobj
= 0;
20282 wxDC
*arg1
= (wxDC
*) 0 ;
20283 wxBrush
*arg2
= 0 ;
20288 PyObject
* obj0
= 0 ;
20289 PyObject
* obj1
= 0 ;
20290 char * kwnames
[] = {
20291 (char *) "self",(char *) "brush", NULL
20294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20296 if (!SWIG_IsOK(res1
)) {
20297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20299 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20300 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20301 if (!SWIG_IsOK(res2
)) {
20302 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20305 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20307 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20310 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20311 wxPyEndAllowThreads(__tstate
);
20312 if (PyErr_Occurred()) SWIG_fail
;
20314 resultobj
= SWIG_Py_Void();
20321 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20322 PyObject
*resultobj
= 0;
20323 wxDC
*arg1
= (wxDC
*) 0 ;
20329 PyObject
* obj0
= 0 ;
20330 PyObject
* obj1
= 0 ;
20331 char * kwnames
[] = {
20332 (char *) "self",(char *) "mode", NULL
20335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20337 if (!SWIG_IsOK(res1
)) {
20338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20340 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20342 if (!SWIG_IsOK(ecode2
)) {
20343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20345 arg2
= static_cast< int >(val2
);
20347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20348 (arg1
)->SetBackgroundMode(arg2
);
20349 wxPyEndAllowThreads(__tstate
);
20350 if (PyErr_Occurred()) SWIG_fail
;
20352 resultobj
= SWIG_Py_Void();
20359 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20360 PyObject
*resultobj
= 0;
20361 wxDC
*arg1
= (wxDC
*) 0 ;
20362 wxPalette
*arg2
= 0 ;
20367 PyObject
* obj0
= 0 ;
20368 PyObject
* obj1
= 0 ;
20369 char * kwnames
[] = {
20370 (char *) "self",(char *) "palette", NULL
20373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20375 if (!SWIG_IsOK(res1
)) {
20376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20378 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20379 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20380 if (!SWIG_IsOK(res2
)) {
20381 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20384 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20386 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20389 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20390 wxPyEndAllowThreads(__tstate
);
20391 if (PyErr_Occurred()) SWIG_fail
;
20393 resultobj
= SWIG_Py_Void();
20400 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20401 PyObject
*resultobj
= 0;
20402 wxDC
*arg1
= (wxDC
*) 0 ;
20405 PyObject
*swig_obj
[1] ;
20407 if (!args
) SWIG_fail
;
20408 swig_obj
[0] = args
;
20409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20410 if (!SWIG_IsOK(res1
)) {
20411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20413 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20416 (arg1
)->DestroyClippingRegion();
20417 wxPyEndAllowThreads(__tstate
);
20418 if (PyErr_Occurred()) SWIG_fail
;
20420 resultobj
= SWIG_Py_Void();
20427 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20428 PyObject
*resultobj
= 0;
20429 wxDC
*arg1
= (wxDC
*) 0 ;
20430 int *arg2
= (int *) 0 ;
20431 int *arg3
= (int *) 0 ;
20432 int *arg4
= (int *) 0 ;
20433 int *arg5
= (int *) 0 ;
20437 int res2
= SWIG_TMPOBJ
;
20439 int res3
= SWIG_TMPOBJ
;
20441 int res4
= SWIG_TMPOBJ
;
20443 int res5
= SWIG_TMPOBJ
;
20444 PyObject
*swig_obj
[1] ;
20450 if (!args
) SWIG_fail
;
20451 swig_obj
[0] = args
;
20452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20453 if (!SWIG_IsOK(res1
)) {
20454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20456 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20459 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20460 wxPyEndAllowThreads(__tstate
);
20461 if (PyErr_Occurred()) SWIG_fail
;
20463 resultobj
= SWIG_Py_Void();
20464 if (SWIG_IsTmpObj(res2
)) {
20465 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20467 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20468 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20470 if (SWIG_IsTmpObj(res3
)) {
20471 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20473 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20474 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20476 if (SWIG_IsTmpObj(res4
)) {
20477 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20479 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20480 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20482 if (SWIG_IsTmpObj(res5
)) {
20483 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20485 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20486 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20494 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20495 PyObject
*resultobj
= 0;
20496 wxDC
*arg1
= (wxDC
*) 0 ;
20500 PyObject
*swig_obj
[1] ;
20502 if (!args
) SWIG_fail
;
20503 swig_obj
[0] = args
;
20504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20505 if (!SWIG_IsOK(res1
)) {
20506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20508 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20511 result
= wxDC_GetClippingRect(arg1
);
20512 wxPyEndAllowThreads(__tstate
);
20513 if (PyErr_Occurred()) SWIG_fail
;
20515 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20522 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20523 PyObject
*resultobj
= 0;
20524 wxDC
*arg1
= (wxDC
*) 0 ;
20528 PyObject
*swig_obj
[1] ;
20530 if (!args
) SWIG_fail
;
20531 swig_obj
[0] = args
;
20532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20533 if (!SWIG_IsOK(res1
)) {
20534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20536 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20539 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20540 wxPyEndAllowThreads(__tstate
);
20541 if (PyErr_Occurred()) SWIG_fail
;
20543 resultobj
= SWIG_From_int(static_cast< int >(result
));
20550 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20551 PyObject
*resultobj
= 0;
20552 wxDC
*arg1
= (wxDC
*) 0 ;
20556 PyObject
*swig_obj
[1] ;
20558 if (!args
) SWIG_fail
;
20559 swig_obj
[0] = args
;
20560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20561 if (!SWIG_IsOK(res1
)) {
20562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20564 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20567 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20568 wxPyEndAllowThreads(__tstate
);
20569 if (PyErr_Occurred()) SWIG_fail
;
20571 resultobj
= SWIG_From_int(static_cast< int >(result
));
20578 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20579 PyObject
*resultobj
= 0;
20580 wxDC
*arg1
= (wxDC
*) 0 ;
20581 wxString
*arg2
= 0 ;
20582 int *arg3
= (int *) 0 ;
20583 int *arg4
= (int *) 0 ;
20586 bool temp2
= false ;
20588 int res3
= SWIG_TMPOBJ
;
20590 int res4
= SWIG_TMPOBJ
;
20591 PyObject
* obj0
= 0 ;
20592 PyObject
* obj1
= 0 ;
20593 char * kwnames
[] = {
20594 (char *) "self",(char *) "string", NULL
20599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20601 if (!SWIG_IsOK(res1
)) {
20602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20604 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20606 arg2
= wxString_in_helper(obj1
);
20607 if (arg2
== NULL
) SWIG_fail
;
20611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20612 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
20613 wxPyEndAllowThreads(__tstate
);
20614 if (PyErr_Occurred()) SWIG_fail
;
20616 resultobj
= SWIG_Py_Void();
20617 if (SWIG_IsTmpObj(res3
)) {
20618 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20620 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20621 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20623 if (SWIG_IsTmpObj(res4
)) {
20624 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20626 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20627 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20643 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20644 PyObject
*resultobj
= 0;
20645 wxDC
*arg1
= (wxDC
*) 0 ;
20646 wxString
*arg2
= 0 ;
20647 int *arg3
= (int *) 0 ;
20648 int *arg4
= (int *) 0 ;
20649 int *arg5
= (int *) 0 ;
20650 int *arg6
= (int *) 0 ;
20651 wxFont
*arg7
= (wxFont
*) NULL
;
20654 bool temp2
= false ;
20656 int res3
= SWIG_TMPOBJ
;
20658 int res4
= SWIG_TMPOBJ
;
20660 int res5
= SWIG_TMPOBJ
;
20662 int res6
= SWIG_TMPOBJ
;
20665 PyObject
* obj0
= 0 ;
20666 PyObject
* obj1
= 0 ;
20667 PyObject
* obj2
= 0 ;
20668 char * kwnames
[] = {
20669 (char *) "self",(char *) "string",(char *) "font", NULL
20676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20678 if (!SWIG_IsOK(res1
)) {
20679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20681 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20683 arg2
= wxString_in_helper(obj1
);
20684 if (arg2
== NULL
) SWIG_fail
;
20688 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
20689 if (!SWIG_IsOK(res7
)) {
20690 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
20692 arg7
= reinterpret_cast< wxFont
* >(argp7
);
20695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20696 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20697 wxPyEndAllowThreads(__tstate
);
20698 if (PyErr_Occurred()) SWIG_fail
;
20700 resultobj
= SWIG_Py_Void();
20701 if (SWIG_IsTmpObj(res3
)) {
20702 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20704 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20705 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20707 if (SWIG_IsTmpObj(res4
)) {
20708 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20710 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20711 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20713 if (SWIG_IsTmpObj(res5
)) {
20714 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20716 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20717 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20719 if (SWIG_IsTmpObj(res6
)) {
20720 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
20722 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20723 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
20739 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20740 PyObject
*resultobj
= 0;
20741 wxDC
*arg1
= (wxDC
*) 0 ;
20742 wxString
*arg2
= 0 ;
20743 int *arg3
= (int *) 0 ;
20744 int *arg4
= (int *) 0 ;
20745 int *arg5
= (int *) 0 ;
20746 wxFont
*arg6
= (wxFont
*) NULL
;
20749 bool temp2
= false ;
20751 int res3
= SWIG_TMPOBJ
;
20753 int res4
= SWIG_TMPOBJ
;
20755 int res5
= SWIG_TMPOBJ
;
20758 PyObject
* obj0
= 0 ;
20759 PyObject
* obj1
= 0 ;
20760 PyObject
* obj2
= 0 ;
20761 char * kwnames
[] = {
20762 (char *) "self",(char *) "text",(char *) "font", NULL
20768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20770 if (!SWIG_IsOK(res1
)) {
20771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20773 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20775 arg2
= wxString_in_helper(obj1
);
20776 if (arg2
== NULL
) SWIG_fail
;
20780 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
20781 if (!SWIG_IsOK(res6
)) {
20782 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
20784 arg6
= reinterpret_cast< wxFont
* >(argp6
);
20787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20788 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
20789 wxPyEndAllowThreads(__tstate
);
20790 if (PyErr_Occurred()) SWIG_fail
;
20792 resultobj
= SWIG_Py_Void();
20793 if (SWIG_IsTmpObj(res3
)) {
20794 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20796 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20797 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20799 if (SWIG_IsTmpObj(res4
)) {
20800 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20802 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20803 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20805 if (SWIG_IsTmpObj(res5
)) {
20806 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20808 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20809 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20825 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20826 PyObject
*resultobj
= 0;
20827 wxDC
*arg1
= (wxDC
*) 0 ;
20828 wxString
*arg2
= 0 ;
20832 bool temp2
= false ;
20833 PyObject
* obj0
= 0 ;
20834 PyObject
* obj1
= 0 ;
20835 char * kwnames
[] = {
20836 (char *) "self",(char *) "text", NULL
20839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20841 if (!SWIG_IsOK(res1
)) {
20842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
20844 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20846 arg2
= wxString_in_helper(obj1
);
20847 if (arg2
== NULL
) SWIG_fail
;
20851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20852 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
20853 wxPyEndAllowThreads(__tstate
);
20854 if (PyErr_Occurred()) SWIG_fail
;
20857 resultobj
= wxArrayInt2PyList_helper(result
);
20873 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20874 PyObject
*resultobj
= 0;
20875 wxDC
*arg1
= (wxDC
*) 0 ;
20879 PyObject
*swig_obj
[1] ;
20881 if (!args
) SWIG_fail
;
20882 swig_obj
[0] = args
;
20883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20884 if (!SWIG_IsOK(res1
)) {
20885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
20887 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20890 result
= (arg1
)->GetSize();
20891 wxPyEndAllowThreads(__tstate
);
20892 if (PyErr_Occurred()) SWIG_fail
;
20894 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20901 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20902 PyObject
*resultobj
= 0;
20903 wxDC
*arg1
= (wxDC
*) 0 ;
20904 int *arg2
= (int *) 0 ;
20905 int *arg3
= (int *) 0 ;
20909 int res2
= SWIG_TMPOBJ
;
20911 int res3
= SWIG_TMPOBJ
;
20912 PyObject
*swig_obj
[1] ;
20916 if (!args
) SWIG_fail
;
20917 swig_obj
[0] = args
;
20918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20919 if (!SWIG_IsOK(res1
)) {
20920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
20922 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20925 (arg1
)->GetSize(arg2
,arg3
);
20926 wxPyEndAllowThreads(__tstate
);
20927 if (PyErr_Occurred()) SWIG_fail
;
20929 resultobj
= SWIG_Py_Void();
20930 if (SWIG_IsTmpObj(res2
)) {
20931 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20933 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20934 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20936 if (SWIG_IsTmpObj(res3
)) {
20937 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20939 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20940 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20948 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20949 PyObject
*resultobj
= 0;
20950 wxDC
*arg1
= (wxDC
*) 0 ;
20954 PyObject
*swig_obj
[1] ;
20956 if (!args
) SWIG_fail
;
20957 swig_obj
[0] = args
;
20958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20959 if (!SWIG_IsOK(res1
)) {
20960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
20962 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20965 result
= ((wxDC
const *)arg1
)->GetSizeMM();
20966 wxPyEndAllowThreads(__tstate
);
20967 if (PyErr_Occurred()) SWIG_fail
;
20969 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20976 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20977 PyObject
*resultobj
= 0;
20978 wxDC
*arg1
= (wxDC
*) 0 ;
20979 int *arg2
= (int *) 0 ;
20980 int *arg3
= (int *) 0 ;
20984 int res2
= SWIG_TMPOBJ
;
20986 int res3
= SWIG_TMPOBJ
;
20987 PyObject
*swig_obj
[1] ;
20991 if (!args
) SWIG_fail
;
20992 swig_obj
[0] = args
;
20993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20994 if (!SWIG_IsOK(res1
)) {
20995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
20997 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21000 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21001 wxPyEndAllowThreads(__tstate
);
21002 if (PyErr_Occurred()) SWIG_fail
;
21004 resultobj
= SWIG_Py_Void();
21005 if (SWIG_IsTmpObj(res2
)) {
21006 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21008 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21009 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21011 if (SWIG_IsTmpObj(res3
)) {
21012 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21014 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21015 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21023 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21024 PyObject
*resultobj
= 0;
21025 wxDC
*arg1
= (wxDC
*) 0 ;
21032 PyObject
* obj0
= 0 ;
21033 PyObject
* obj1
= 0 ;
21034 char * kwnames
[] = {
21035 (char *) "self",(char *) "x", NULL
21038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21040 if (!SWIG_IsOK(res1
)) {
21041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21043 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21044 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21045 if (!SWIG_IsOK(ecode2
)) {
21046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21048 arg2
= static_cast< int >(val2
);
21050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21051 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21052 wxPyEndAllowThreads(__tstate
);
21053 if (PyErr_Occurred()) SWIG_fail
;
21055 resultobj
= SWIG_From_int(static_cast< int >(result
));
21062 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21063 PyObject
*resultobj
= 0;
21064 wxDC
*arg1
= (wxDC
*) 0 ;
21071 PyObject
* obj0
= 0 ;
21072 PyObject
* obj1
= 0 ;
21073 char * kwnames
[] = {
21074 (char *) "self",(char *) "y", NULL
21077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21079 if (!SWIG_IsOK(res1
)) {
21080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21082 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21084 if (!SWIG_IsOK(ecode2
)) {
21085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21087 arg2
= static_cast< int >(val2
);
21089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21090 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21091 wxPyEndAllowThreads(__tstate
);
21092 if (PyErr_Occurred()) SWIG_fail
;
21094 resultobj
= SWIG_From_int(static_cast< int >(result
));
21101 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21102 PyObject
*resultobj
= 0;
21103 wxDC
*arg1
= (wxDC
*) 0 ;
21110 PyObject
* obj0
= 0 ;
21111 PyObject
* obj1
= 0 ;
21112 char * kwnames
[] = {
21113 (char *) "self",(char *) "x", NULL
21116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21118 if (!SWIG_IsOK(res1
)) {
21119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21121 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21122 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21123 if (!SWIG_IsOK(ecode2
)) {
21124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21126 arg2
= static_cast< int >(val2
);
21128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21129 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21130 wxPyEndAllowThreads(__tstate
);
21131 if (PyErr_Occurred()) SWIG_fail
;
21133 resultobj
= SWIG_From_int(static_cast< int >(result
));
21140 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21141 PyObject
*resultobj
= 0;
21142 wxDC
*arg1
= (wxDC
*) 0 ;
21149 PyObject
* obj0
= 0 ;
21150 PyObject
* obj1
= 0 ;
21151 char * kwnames
[] = {
21152 (char *) "self",(char *) "y", NULL
21155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21157 if (!SWIG_IsOK(res1
)) {
21158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21160 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21162 if (!SWIG_IsOK(ecode2
)) {
21163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21165 arg2
= static_cast< int >(val2
);
21167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21168 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21169 wxPyEndAllowThreads(__tstate
);
21170 if (PyErr_Occurred()) SWIG_fail
;
21172 resultobj
= SWIG_From_int(static_cast< int >(result
));
21179 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21180 PyObject
*resultobj
= 0;
21181 wxDC
*arg1
= (wxDC
*) 0 ;
21188 PyObject
* obj0
= 0 ;
21189 PyObject
* obj1
= 0 ;
21190 char * kwnames
[] = {
21191 (char *) "self",(char *) "x", NULL
21194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21196 if (!SWIG_IsOK(res1
)) {
21197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21199 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21200 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21201 if (!SWIG_IsOK(ecode2
)) {
21202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21204 arg2
= static_cast< int >(val2
);
21206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21207 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21208 wxPyEndAllowThreads(__tstate
);
21209 if (PyErr_Occurred()) SWIG_fail
;
21211 resultobj
= SWIG_From_int(static_cast< int >(result
));
21218 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21219 PyObject
*resultobj
= 0;
21220 wxDC
*arg1
= (wxDC
*) 0 ;
21227 PyObject
* obj0
= 0 ;
21228 PyObject
* obj1
= 0 ;
21229 char * kwnames
[] = {
21230 (char *) "self",(char *) "y", NULL
21233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21235 if (!SWIG_IsOK(res1
)) {
21236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21238 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21239 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21240 if (!SWIG_IsOK(ecode2
)) {
21241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21243 arg2
= static_cast< int >(val2
);
21245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21246 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21247 wxPyEndAllowThreads(__tstate
);
21248 if (PyErr_Occurred()) SWIG_fail
;
21250 resultobj
= SWIG_From_int(static_cast< int >(result
));
21257 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21258 PyObject
*resultobj
= 0;
21259 wxDC
*arg1
= (wxDC
*) 0 ;
21266 PyObject
* obj0
= 0 ;
21267 PyObject
* obj1
= 0 ;
21268 char * kwnames
[] = {
21269 (char *) "self",(char *) "x", NULL
21272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21274 if (!SWIG_IsOK(res1
)) {
21275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21277 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21278 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21279 if (!SWIG_IsOK(ecode2
)) {
21280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21282 arg2
= static_cast< int >(val2
);
21284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21285 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21286 wxPyEndAllowThreads(__tstate
);
21287 if (PyErr_Occurred()) SWIG_fail
;
21289 resultobj
= SWIG_From_int(static_cast< int >(result
));
21296 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21297 PyObject
*resultobj
= 0;
21298 wxDC
*arg1
= (wxDC
*) 0 ;
21305 PyObject
* obj0
= 0 ;
21306 PyObject
* obj1
= 0 ;
21307 char * kwnames
[] = {
21308 (char *) "self",(char *) "y", NULL
21311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21313 if (!SWIG_IsOK(res1
)) {
21314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21316 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21317 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21318 if (!SWIG_IsOK(ecode2
)) {
21319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21321 arg2
= static_cast< int >(val2
);
21323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21324 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21325 wxPyEndAllowThreads(__tstate
);
21326 if (PyErr_Occurred()) SWIG_fail
;
21328 resultobj
= SWIG_From_int(static_cast< int >(result
));
21335 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21336 PyObject
*resultobj
= 0;
21337 wxDC
*arg1
= (wxDC
*) 0 ;
21341 PyObject
*swig_obj
[1] ;
21343 if (!args
) SWIG_fail
;
21344 swig_obj
[0] = args
;
21345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21346 if (!SWIG_IsOK(res1
)) {
21347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21349 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21352 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21353 wxPyEndAllowThreads(__tstate
);
21354 if (PyErr_Occurred()) SWIG_fail
;
21357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21365 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21366 PyObject
*resultobj
= 0;
21367 wxDC
*arg1
= (wxDC
*) 0 ;
21371 PyObject
*swig_obj
[1] ;
21373 if (!args
) SWIG_fail
;
21374 swig_obj
[0] = args
;
21375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21376 if (!SWIG_IsOK(res1
)) {
21377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21379 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21382 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21383 wxPyEndAllowThreads(__tstate
);
21384 if (PyErr_Occurred()) SWIG_fail
;
21387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21395 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21396 PyObject
*resultobj
= 0;
21397 wxDC
*arg1
= (wxDC
*) 0 ;
21401 PyObject
*swig_obj
[1] ;
21403 if (!args
) SWIG_fail
;
21404 swig_obj
[0] = args
;
21405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21406 if (!SWIG_IsOK(res1
)) {
21407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21409 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21412 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21413 wxPyEndAllowThreads(__tstate
);
21414 if (PyErr_Occurred()) SWIG_fail
;
21416 resultobj
= SWIG_From_int(static_cast< int >(result
));
21423 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21424 PyObject
*resultobj
= 0;
21425 wxDC
*arg1
= (wxDC
*) 0 ;
21429 PyObject
*swig_obj
[1] ;
21431 if (!args
) SWIG_fail
;
21432 swig_obj
[0] = args
;
21433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21434 if (!SWIG_IsOK(res1
)) {
21435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21437 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21440 result
= ((wxDC
const *)arg1
)->GetPPI();
21441 wxPyEndAllowThreads(__tstate
);
21442 if (PyErr_Occurred()) SWIG_fail
;
21444 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21451 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21452 PyObject
*resultobj
= 0;
21453 wxDC
*arg1
= (wxDC
*) 0 ;
21457 PyObject
*swig_obj
[1] ;
21459 if (!args
) SWIG_fail
;
21460 swig_obj
[0] = args
;
21461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21462 if (!SWIG_IsOK(res1
)) {
21463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
21465 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21468 result
= (bool)((wxDC
const *)arg1
)->IsOk();
21469 wxPyEndAllowThreads(__tstate
);
21470 if (PyErr_Occurred()) SWIG_fail
;
21473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21481 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21482 PyObject
*resultobj
= 0;
21483 wxDC
*arg1
= (wxDC
*) 0 ;
21487 PyObject
*swig_obj
[1] ;
21489 if (!args
) SWIG_fail
;
21490 swig_obj
[0] = args
;
21491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21492 if (!SWIG_IsOK(res1
)) {
21493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21495 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21498 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21499 wxPyEndAllowThreads(__tstate
);
21500 if (PyErr_Occurred()) SWIG_fail
;
21502 resultobj
= SWIG_From_int(static_cast< int >(result
));
21509 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21510 PyObject
*resultobj
= 0;
21511 wxDC
*arg1
= (wxDC
*) 0 ;
21512 wxBrush
*result
= 0 ;
21515 PyObject
*swig_obj
[1] ;
21517 if (!args
) SWIG_fail
;
21518 swig_obj
[0] = args
;
21519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21520 if (!SWIG_IsOK(res1
)) {
21521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21523 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21527 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21528 result
= (wxBrush
*) &_result_ref
;
21530 wxPyEndAllowThreads(__tstate
);
21531 if (PyErr_Occurred()) SWIG_fail
;
21534 wxBrush
* resultptr
= new wxBrush(*result
);
21535 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21543 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21544 PyObject
*resultobj
= 0;
21545 wxDC
*arg1
= (wxDC
*) 0 ;
21546 wxBrush
*result
= 0 ;
21549 PyObject
*swig_obj
[1] ;
21551 if (!args
) SWIG_fail
;
21552 swig_obj
[0] = args
;
21553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21554 if (!SWIG_IsOK(res1
)) {
21555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21557 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21561 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21562 result
= (wxBrush
*) &_result_ref
;
21564 wxPyEndAllowThreads(__tstate
);
21565 if (PyErr_Occurred()) SWIG_fail
;
21568 wxBrush
* resultptr
= new wxBrush(*result
);
21569 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21577 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21578 PyObject
*resultobj
= 0;
21579 wxDC
*arg1
= (wxDC
*) 0 ;
21580 wxFont
*result
= 0 ;
21583 PyObject
*swig_obj
[1] ;
21585 if (!args
) SWIG_fail
;
21586 swig_obj
[0] = args
;
21587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21588 if (!SWIG_IsOK(res1
)) {
21589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21591 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21595 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
21596 result
= (wxFont
*) &_result_ref
;
21598 wxPyEndAllowThreads(__tstate
);
21599 if (PyErr_Occurred()) SWIG_fail
;
21602 wxFont
* resultptr
= new wxFont(*result
);
21603 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21611 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21612 PyObject
*resultobj
= 0;
21613 wxDC
*arg1
= (wxDC
*) 0 ;
21614 wxPen
*result
= 0 ;
21617 PyObject
*swig_obj
[1] ;
21619 if (!args
) SWIG_fail
;
21620 swig_obj
[0] = args
;
21621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21622 if (!SWIG_IsOK(res1
)) {
21623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
21625 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21629 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
21630 result
= (wxPen
*) &_result_ref
;
21632 wxPyEndAllowThreads(__tstate
);
21633 if (PyErr_Occurred()) SWIG_fail
;
21636 wxPen
* resultptr
= new wxPen(*result
);
21637 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
21645 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21646 PyObject
*resultobj
= 0;
21647 wxDC
*arg1
= (wxDC
*) 0 ;
21648 wxColour
*result
= 0 ;
21651 PyObject
*swig_obj
[1] ;
21653 if (!args
) SWIG_fail
;
21654 swig_obj
[0] = args
;
21655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21656 if (!SWIG_IsOK(res1
)) {
21657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21659 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21663 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
21664 result
= (wxColour
*) &_result_ref
;
21666 wxPyEndAllowThreads(__tstate
);
21667 if (PyErr_Occurred()) SWIG_fail
;
21669 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21676 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21677 PyObject
*resultobj
= 0;
21678 wxDC
*arg1
= (wxDC
*) 0 ;
21679 wxColour
*result
= 0 ;
21682 PyObject
*swig_obj
[1] ;
21684 if (!args
) SWIG_fail
;
21685 swig_obj
[0] = args
;
21686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21687 if (!SWIG_IsOK(res1
)) {
21688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
21690 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21694 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
21695 result
= (wxColour
*) &_result_ref
;
21697 wxPyEndAllowThreads(__tstate
);
21698 if (PyErr_Occurred()) SWIG_fail
;
21700 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21707 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21708 PyObject
*resultobj
= 0;
21709 wxDC
*arg1
= (wxDC
*) 0 ;
21710 wxColour
*arg2
= 0 ;
21714 PyObject
* obj0
= 0 ;
21715 PyObject
* obj1
= 0 ;
21716 char * kwnames
[] = {
21717 (char *) "self",(char *) "colour", NULL
21720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21722 if (!SWIG_IsOK(res1
)) {
21723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
21725 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21728 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21732 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
21733 wxPyEndAllowThreads(__tstate
);
21734 if (PyErr_Occurred()) SWIG_fail
;
21736 resultobj
= SWIG_Py_Void();
21743 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21744 PyObject
*resultobj
= 0;
21745 wxDC
*arg1
= (wxDC
*) 0 ;
21746 wxColour
*arg2
= 0 ;
21750 PyObject
* obj0
= 0 ;
21751 PyObject
* obj1
= 0 ;
21752 char * kwnames
[] = {
21753 (char *) "self",(char *) "colour", NULL
21756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21758 if (!SWIG_IsOK(res1
)) {
21759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21761 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21764 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21768 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
21769 wxPyEndAllowThreads(__tstate
);
21770 if (PyErr_Occurred()) SWIG_fail
;
21772 resultobj
= SWIG_Py_Void();
21779 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21780 PyObject
*resultobj
= 0;
21781 wxDC
*arg1
= (wxDC
*) 0 ;
21785 PyObject
*swig_obj
[1] ;
21787 if (!args
) SWIG_fail
;
21788 swig_obj
[0] = args
;
21789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21790 if (!SWIG_IsOK(res1
)) {
21791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21793 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21796 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
21797 wxPyEndAllowThreads(__tstate
);
21798 if (PyErr_Occurred()) SWIG_fail
;
21800 resultobj
= SWIG_From_int(static_cast< int >(result
));
21807 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21808 PyObject
*resultobj
= 0;
21809 wxDC
*arg1
= (wxDC
*) 0 ;
21815 PyObject
* obj0
= 0 ;
21816 PyObject
* obj1
= 0 ;
21817 char * kwnames
[] = {
21818 (char *) "self",(char *) "mode", NULL
21821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21823 if (!SWIG_IsOK(res1
)) {
21824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
21826 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21827 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21828 if (!SWIG_IsOK(ecode2
)) {
21829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
21831 arg2
= static_cast< int >(val2
);
21833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21834 (arg1
)->SetMapMode(arg2
);
21835 wxPyEndAllowThreads(__tstate
);
21836 if (PyErr_Occurred()) SWIG_fail
;
21838 resultobj
= SWIG_Py_Void();
21845 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21846 PyObject
*resultobj
= 0;
21847 wxDC
*arg1
= (wxDC
*) 0 ;
21848 double *arg2
= (double *) 0 ;
21849 double *arg3
= (double *) 0 ;
21853 int res2
= SWIG_TMPOBJ
;
21855 int res3
= SWIG_TMPOBJ
;
21856 PyObject
*swig_obj
[1] ;
21860 if (!args
) SWIG_fail
;
21861 swig_obj
[0] = args
;
21862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21863 if (!SWIG_IsOK(res1
)) {
21864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
21866 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21869 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
21870 wxPyEndAllowThreads(__tstate
);
21871 if (PyErr_Occurred()) SWIG_fail
;
21873 resultobj
= SWIG_Py_Void();
21874 if (SWIG_IsTmpObj(res2
)) {
21875 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
21877 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21878 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
21880 if (SWIG_IsTmpObj(res3
)) {
21881 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
21883 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21884 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
21892 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21893 PyObject
*resultobj
= 0;
21894 wxDC
*arg1
= (wxDC
*) 0 ;
21903 PyObject
* obj0
= 0 ;
21904 PyObject
* obj1
= 0 ;
21905 PyObject
* obj2
= 0 ;
21906 char * kwnames
[] = {
21907 (char *) "self",(char *) "x",(char *) "y", NULL
21910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21912 if (!SWIG_IsOK(res1
)) {
21913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
21915 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21916 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
21917 if (!SWIG_IsOK(ecode2
)) {
21918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
21920 arg2
= static_cast< double >(val2
);
21921 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21922 if (!SWIG_IsOK(ecode3
)) {
21923 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
21925 arg3
= static_cast< double >(val3
);
21927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21928 (arg1
)->SetUserScale(arg2
,arg3
);
21929 wxPyEndAllowThreads(__tstate
);
21930 if (PyErr_Occurred()) SWIG_fail
;
21932 resultobj
= SWIG_Py_Void();
21939 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21940 PyObject
*resultobj
= 0;
21941 wxDC
*arg1
= (wxDC
*) 0 ;
21942 double *arg2
= (double *) 0 ;
21943 double *arg3
= (double *) 0 ;
21947 int res2
= SWIG_TMPOBJ
;
21949 int res3
= SWIG_TMPOBJ
;
21950 PyObject
*swig_obj
[1] ;
21954 if (!args
) SWIG_fail
;
21955 swig_obj
[0] = args
;
21956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21957 if (!SWIG_IsOK(res1
)) {
21958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
21960 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21963 (arg1
)->GetLogicalScale(arg2
,arg3
);
21964 wxPyEndAllowThreads(__tstate
);
21965 if (PyErr_Occurred()) SWIG_fail
;
21967 resultobj
= SWIG_Py_Void();
21968 if (SWIG_IsTmpObj(res2
)) {
21969 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
21971 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21972 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
21974 if (SWIG_IsTmpObj(res3
)) {
21975 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
21977 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21978 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
21986 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21987 PyObject
*resultobj
= 0;
21988 wxDC
*arg1
= (wxDC
*) 0 ;
21997 PyObject
* obj0
= 0 ;
21998 PyObject
* obj1
= 0 ;
21999 PyObject
* obj2
= 0 ;
22000 char * kwnames
[] = {
22001 (char *) "self",(char *) "x",(char *) "y", NULL
22004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22006 if (!SWIG_IsOK(res1
)) {
22007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22009 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22010 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22011 if (!SWIG_IsOK(ecode2
)) {
22012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22014 arg2
= static_cast< double >(val2
);
22015 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22016 if (!SWIG_IsOK(ecode3
)) {
22017 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22019 arg3
= static_cast< double >(val3
);
22021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22022 (arg1
)->SetLogicalScale(arg2
,arg3
);
22023 wxPyEndAllowThreads(__tstate
);
22024 if (PyErr_Occurred()) SWIG_fail
;
22026 resultobj
= SWIG_Py_Void();
22033 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22034 PyObject
*resultobj
= 0;
22035 wxDC
*arg1
= (wxDC
*) 0 ;
22039 PyObject
*swig_obj
[1] ;
22041 if (!args
) SWIG_fail
;
22042 swig_obj
[0] = args
;
22043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22044 if (!SWIG_IsOK(res1
)) {
22045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22047 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22050 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22051 wxPyEndAllowThreads(__tstate
);
22052 if (PyErr_Occurred()) SWIG_fail
;
22054 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22061 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22062 PyObject
*resultobj
= 0;
22063 wxDC
*arg1
= (wxDC
*) 0 ;
22064 int *arg2
= (int *) 0 ;
22065 int *arg3
= (int *) 0 ;
22069 int res2
= SWIG_TMPOBJ
;
22071 int res3
= SWIG_TMPOBJ
;
22072 PyObject
*swig_obj
[1] ;
22076 if (!args
) SWIG_fail
;
22077 swig_obj
[0] = args
;
22078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22079 if (!SWIG_IsOK(res1
)) {
22080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22082 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22085 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22086 wxPyEndAllowThreads(__tstate
);
22087 if (PyErr_Occurred()) SWIG_fail
;
22089 resultobj
= SWIG_Py_Void();
22090 if (SWIG_IsTmpObj(res2
)) {
22091 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22093 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22094 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22096 if (SWIG_IsTmpObj(res3
)) {
22097 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22099 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22100 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22108 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22109 PyObject
*resultobj
= 0;
22110 wxDC
*arg1
= (wxDC
*) 0 ;
22119 PyObject
* obj0
= 0 ;
22120 PyObject
* obj1
= 0 ;
22121 PyObject
* obj2
= 0 ;
22122 char * kwnames
[] = {
22123 (char *) "self",(char *) "x",(char *) "y", NULL
22126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22128 if (!SWIG_IsOK(res1
)) {
22129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22131 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22132 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22133 if (!SWIG_IsOK(ecode2
)) {
22134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22136 arg2
= static_cast< int >(val2
);
22137 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22138 if (!SWIG_IsOK(ecode3
)) {
22139 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22141 arg3
= static_cast< int >(val3
);
22143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22144 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22145 wxPyEndAllowThreads(__tstate
);
22146 if (PyErr_Occurred()) SWIG_fail
;
22148 resultobj
= SWIG_Py_Void();
22155 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22156 PyObject
*resultobj
= 0;
22157 wxDC
*arg1
= (wxDC
*) 0 ;
22158 wxPoint
*arg2
= 0 ;
22162 PyObject
* obj0
= 0 ;
22163 PyObject
* obj1
= 0 ;
22164 char * kwnames
[] = {
22165 (char *) "self",(char *) "point", NULL
22168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22170 if (!SWIG_IsOK(res1
)) {
22171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22173 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22176 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22180 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22181 wxPyEndAllowThreads(__tstate
);
22182 if (PyErr_Occurred()) SWIG_fail
;
22184 resultobj
= SWIG_Py_Void();
22191 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22192 PyObject
*resultobj
= 0;
22193 wxDC
*arg1
= (wxDC
*) 0 ;
22197 PyObject
*swig_obj
[1] ;
22199 if (!args
) SWIG_fail
;
22200 swig_obj
[0] = args
;
22201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22202 if (!SWIG_IsOK(res1
)) {
22203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22205 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22208 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22209 wxPyEndAllowThreads(__tstate
);
22210 if (PyErr_Occurred()) SWIG_fail
;
22212 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22219 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22220 PyObject
*resultobj
= 0;
22221 wxDC
*arg1
= (wxDC
*) 0 ;
22222 int *arg2
= (int *) 0 ;
22223 int *arg3
= (int *) 0 ;
22227 int res2
= SWIG_TMPOBJ
;
22229 int res3
= SWIG_TMPOBJ
;
22230 PyObject
*swig_obj
[1] ;
22234 if (!args
) SWIG_fail
;
22235 swig_obj
[0] = args
;
22236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22237 if (!SWIG_IsOK(res1
)) {
22238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22240 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22243 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22244 wxPyEndAllowThreads(__tstate
);
22245 if (PyErr_Occurred()) SWIG_fail
;
22247 resultobj
= SWIG_Py_Void();
22248 if (SWIG_IsTmpObj(res2
)) {
22249 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22251 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22252 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22254 if (SWIG_IsTmpObj(res3
)) {
22255 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22257 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22258 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22266 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22267 PyObject
*resultobj
= 0;
22268 wxDC
*arg1
= (wxDC
*) 0 ;
22277 PyObject
* obj0
= 0 ;
22278 PyObject
* obj1
= 0 ;
22279 PyObject
* obj2
= 0 ;
22280 char * kwnames
[] = {
22281 (char *) "self",(char *) "x",(char *) "y", NULL
22284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22286 if (!SWIG_IsOK(res1
)) {
22287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22289 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22290 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22291 if (!SWIG_IsOK(ecode2
)) {
22292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22294 arg2
= static_cast< int >(val2
);
22295 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22296 if (!SWIG_IsOK(ecode3
)) {
22297 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22299 arg3
= static_cast< int >(val3
);
22301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22302 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22303 wxPyEndAllowThreads(__tstate
);
22304 if (PyErr_Occurred()) SWIG_fail
;
22306 resultobj
= SWIG_Py_Void();
22313 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22314 PyObject
*resultobj
= 0;
22315 wxDC
*arg1
= (wxDC
*) 0 ;
22316 wxPoint
*arg2
= 0 ;
22320 PyObject
* obj0
= 0 ;
22321 PyObject
* obj1
= 0 ;
22322 char * kwnames
[] = {
22323 (char *) "self",(char *) "point", NULL
22326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22328 if (!SWIG_IsOK(res1
)) {
22329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22331 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22334 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22338 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22339 wxPyEndAllowThreads(__tstate
);
22340 if (PyErr_Occurred()) SWIG_fail
;
22342 resultobj
= SWIG_Py_Void();
22349 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22350 PyObject
*resultobj
= 0;
22351 wxDC
*arg1
= (wxDC
*) 0 ;
22360 PyObject
* obj0
= 0 ;
22361 PyObject
* obj1
= 0 ;
22362 PyObject
* obj2
= 0 ;
22363 char * kwnames
[] = {
22364 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22369 if (!SWIG_IsOK(res1
)) {
22370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22372 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22373 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22374 if (!SWIG_IsOK(ecode2
)) {
22375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22377 arg2
= static_cast< bool >(val2
);
22378 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22379 if (!SWIG_IsOK(ecode3
)) {
22380 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22382 arg3
= static_cast< bool >(val3
);
22384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22385 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22386 wxPyEndAllowThreads(__tstate
);
22387 if (PyErr_Occurred()) SWIG_fail
;
22389 resultobj
= SWIG_Py_Void();
22396 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22397 PyObject
*resultobj
= 0;
22398 wxDC
*arg1
= (wxDC
*) 0 ;
22402 PyObject
*swig_obj
[1] ;
22404 if (!args
) SWIG_fail
;
22405 swig_obj
[0] = args
;
22406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22407 if (!SWIG_IsOK(res1
)) {
22408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22410 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22413 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22414 wxPyEndAllowThreads(__tstate
);
22415 if (PyErr_Occurred()) SWIG_fail
;
22417 resultobj
= SWIG_From_int(static_cast< int >(result
));
22424 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22425 PyObject
*resultobj
= 0;
22426 wxDC
*arg1
= (wxDC
*) 0 ;
22432 PyObject
* obj0
= 0 ;
22433 PyObject
* obj1
= 0 ;
22434 char * kwnames
[] = {
22435 (char *) "self",(char *) "function", NULL
22438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22440 if (!SWIG_IsOK(res1
)) {
22441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22443 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22445 if (!SWIG_IsOK(ecode2
)) {
22446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22448 arg2
= static_cast< int >(val2
);
22450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22451 (arg1
)->SetLogicalFunction(arg2
);
22452 wxPyEndAllowThreads(__tstate
);
22453 if (PyErr_Occurred()) SWIG_fail
;
22455 resultobj
= SWIG_Py_Void();
22462 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22463 PyObject
*resultobj
= 0;
22464 wxDC
*arg1
= (wxDC
*) 0 ;
22467 PyObject
*swig_obj
[1] ;
22469 if (!args
) SWIG_fail
;
22470 swig_obj
[0] = args
;
22471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22472 if (!SWIG_IsOK(res1
)) {
22473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22475 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22478 (arg1
)->ComputeScaleAndOrigin();
22479 wxPyEndAllowThreads(__tstate
);
22480 if (PyErr_Occurred()) SWIG_fail
;
22482 resultobj
= SWIG_Py_Void();
22489 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22490 PyObject
*resultobj
= 0;
22491 wxDC
*arg1
= (wxDC
*) 0 ;
22500 PyObject
* obj0
= 0 ;
22501 PyObject
* obj1
= 0 ;
22502 PyObject
* obj2
= 0 ;
22503 char * kwnames
[] = {
22504 (char *) "self",(char *) "x",(char *) "y", NULL
22507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22509 if (!SWIG_IsOK(res1
)) {
22510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22512 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22513 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22514 if (!SWIG_IsOK(ecode2
)) {
22515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22517 arg2
= static_cast< int >(val2
);
22518 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22519 if (!SWIG_IsOK(ecode3
)) {
22520 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22522 arg3
= static_cast< int >(val3
);
22524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22525 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22526 wxPyEndAllowThreads(__tstate
);
22527 if (PyErr_Occurred()) SWIG_fail
;
22529 resultobj
= SWIG_Py_Void();
22536 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22537 PyObject
*resultobj
= 0;
22538 wxDC
*arg1
= (wxDC
*) 0 ;
22539 wxPoint
*arg2
= 0 ;
22543 PyObject
* obj0
= 0 ;
22544 PyObject
* obj1
= 0 ;
22545 char * kwnames
[] = {
22546 (char *) "self",(char *) "point", NULL
22549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22551 if (!SWIG_IsOK(res1
)) {
22552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22554 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22557 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22561 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22562 wxPyEndAllowThreads(__tstate
);
22563 if (PyErr_Occurred()) SWIG_fail
;
22565 resultobj
= SWIG_Py_Void();
22572 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22573 PyObject
*resultobj
= 0;
22574 wxDC
*arg1
= (wxDC
*) 0 ;
22577 PyObject
*swig_obj
[1] ;
22579 if (!args
) SWIG_fail
;
22580 swig_obj
[0] = args
;
22581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22582 if (!SWIG_IsOK(res1
)) {
22583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22585 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22588 (arg1
)->ResetBoundingBox();
22589 wxPyEndAllowThreads(__tstate
);
22590 if (PyErr_Occurred()) SWIG_fail
;
22592 resultobj
= SWIG_Py_Void();
22599 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22600 PyObject
*resultobj
= 0;
22601 wxDC
*arg1
= (wxDC
*) 0 ;
22605 PyObject
*swig_obj
[1] ;
22607 if (!args
) SWIG_fail
;
22608 swig_obj
[0] = args
;
22609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22610 if (!SWIG_IsOK(res1
)) {
22611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
22613 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22616 result
= (int)((wxDC
const *)arg1
)->MinX();
22617 wxPyEndAllowThreads(__tstate
);
22618 if (PyErr_Occurred()) SWIG_fail
;
22620 resultobj
= SWIG_From_int(static_cast< int >(result
));
22627 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22628 PyObject
*resultobj
= 0;
22629 wxDC
*arg1
= (wxDC
*) 0 ;
22633 PyObject
*swig_obj
[1] ;
22635 if (!args
) SWIG_fail
;
22636 swig_obj
[0] = args
;
22637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22638 if (!SWIG_IsOK(res1
)) {
22639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
22641 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22644 result
= (int)((wxDC
const *)arg1
)->MaxX();
22645 wxPyEndAllowThreads(__tstate
);
22646 if (PyErr_Occurred()) SWIG_fail
;
22648 resultobj
= SWIG_From_int(static_cast< int >(result
));
22655 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22656 PyObject
*resultobj
= 0;
22657 wxDC
*arg1
= (wxDC
*) 0 ;
22661 PyObject
*swig_obj
[1] ;
22663 if (!args
) SWIG_fail
;
22664 swig_obj
[0] = args
;
22665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22666 if (!SWIG_IsOK(res1
)) {
22667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
22669 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22672 result
= (int)((wxDC
const *)arg1
)->MinY();
22673 wxPyEndAllowThreads(__tstate
);
22674 if (PyErr_Occurred()) SWIG_fail
;
22676 resultobj
= SWIG_From_int(static_cast< int >(result
));
22683 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22684 PyObject
*resultobj
= 0;
22685 wxDC
*arg1
= (wxDC
*) 0 ;
22689 PyObject
*swig_obj
[1] ;
22691 if (!args
) SWIG_fail
;
22692 swig_obj
[0] = args
;
22693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22694 if (!SWIG_IsOK(res1
)) {
22695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
22697 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22700 result
= (int)((wxDC
const *)arg1
)->MaxY();
22701 wxPyEndAllowThreads(__tstate
);
22702 if (PyErr_Occurred()) SWIG_fail
;
22704 resultobj
= SWIG_From_int(static_cast< int >(result
));
22711 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22712 PyObject
*resultobj
= 0;
22713 wxDC
*arg1
= (wxDC
*) 0 ;
22714 int *arg2
= (int *) 0 ;
22715 int *arg3
= (int *) 0 ;
22716 int *arg4
= (int *) 0 ;
22717 int *arg5
= (int *) 0 ;
22721 int res2
= SWIG_TMPOBJ
;
22723 int res3
= SWIG_TMPOBJ
;
22725 int res4
= SWIG_TMPOBJ
;
22727 int res5
= SWIG_TMPOBJ
;
22728 PyObject
*swig_obj
[1] ;
22734 if (!args
) SWIG_fail
;
22735 swig_obj
[0] = args
;
22736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22737 if (!SWIG_IsOK(res1
)) {
22738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22740 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22743 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
22744 wxPyEndAllowThreads(__tstate
);
22745 if (PyErr_Occurred()) SWIG_fail
;
22747 resultobj
= SWIG_Py_Void();
22748 if (SWIG_IsTmpObj(res2
)) {
22749 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22751 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22752 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22754 if (SWIG_IsTmpObj(res3
)) {
22755 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22757 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22758 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22760 if (SWIG_IsTmpObj(res4
)) {
22761 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22763 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22764 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22766 if (SWIG_IsTmpObj(res5
)) {
22767 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
22769 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22770 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
22778 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22779 PyObject
*resultobj
= 0;
22780 wxDC
*arg1
= (wxDC
*) 0 ;
22781 wxLayoutDirection result
;
22784 PyObject
*swig_obj
[1] ;
22786 if (!args
) SWIG_fail
;
22787 swig_obj
[0] = args
;
22788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22789 if (!SWIG_IsOK(res1
)) {
22790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
22792 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22795 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
22796 wxPyEndAllowThreads(__tstate
);
22797 if (PyErr_Occurred()) SWIG_fail
;
22799 resultobj
= SWIG_From_int(static_cast< int >(result
));
22806 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22807 PyObject
*resultobj
= 0;
22808 wxDC
*arg1
= (wxDC
*) 0 ;
22809 wxLayoutDirection arg2
;
22814 PyObject
* obj0
= 0 ;
22815 PyObject
* obj1
= 0 ;
22816 char * kwnames
[] = {
22817 (char *) "self",(char *) "dir", NULL
22820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22822 if (!SWIG_IsOK(res1
)) {
22823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
22825 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22826 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22827 if (!SWIG_IsOK(ecode2
)) {
22828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
22830 arg2
= static_cast< wxLayoutDirection
>(val2
);
22832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22833 (arg1
)->SetLayoutDirection(arg2
);
22834 wxPyEndAllowThreads(__tstate
);
22835 if (PyErr_Occurred()) SWIG_fail
;
22837 resultobj
= SWIG_Py_Void();
22844 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22845 PyObject
*resultobj
= 0;
22846 wxDC
*arg1
= (wxDC
*) 0 ;
22847 PyObject
*arg2
= (PyObject
*) 0 ;
22848 PyObject
*arg3
= (PyObject
*) 0 ;
22849 PyObject
*arg4
= (PyObject
*) 0 ;
22850 PyObject
*result
= 0 ;
22853 PyObject
* obj0
= 0 ;
22854 PyObject
* obj1
= 0 ;
22855 PyObject
* obj2
= 0 ;
22856 PyObject
* obj3
= 0 ;
22857 char * kwnames
[] = {
22858 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22863 if (!SWIG_IsOK(res1
)) {
22864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
22866 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22872 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
22873 wxPyEndAllowThreads(__tstate
);
22874 if (PyErr_Occurred()) SWIG_fail
;
22876 resultobj
= result
;
22883 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22884 PyObject
*resultobj
= 0;
22885 wxDC
*arg1
= (wxDC
*) 0 ;
22886 PyObject
*arg2
= (PyObject
*) 0 ;
22887 PyObject
*arg3
= (PyObject
*) 0 ;
22888 PyObject
*arg4
= (PyObject
*) 0 ;
22889 PyObject
*result
= 0 ;
22892 PyObject
* obj0
= 0 ;
22893 PyObject
* obj1
= 0 ;
22894 PyObject
* obj2
= 0 ;
22895 PyObject
* obj3
= 0 ;
22896 char * kwnames
[] = {
22897 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22902 if (!SWIG_IsOK(res1
)) {
22903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
22905 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22911 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
22912 wxPyEndAllowThreads(__tstate
);
22913 if (PyErr_Occurred()) SWIG_fail
;
22915 resultobj
= result
;
22922 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22923 PyObject
*resultobj
= 0;
22924 wxDC
*arg1
= (wxDC
*) 0 ;
22925 PyObject
*arg2
= (PyObject
*) 0 ;
22926 PyObject
*arg3
= (PyObject
*) 0 ;
22927 PyObject
*arg4
= (PyObject
*) 0 ;
22928 PyObject
*result
= 0 ;
22931 PyObject
* obj0
= 0 ;
22932 PyObject
* obj1
= 0 ;
22933 PyObject
* obj2
= 0 ;
22934 PyObject
* obj3
= 0 ;
22935 char * kwnames
[] = {
22936 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22941 if (!SWIG_IsOK(res1
)) {
22942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
22944 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22950 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
22951 wxPyEndAllowThreads(__tstate
);
22952 if (PyErr_Occurred()) SWIG_fail
;
22954 resultobj
= result
;
22961 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22962 PyObject
*resultobj
= 0;
22963 wxDC
*arg1
= (wxDC
*) 0 ;
22964 PyObject
*arg2
= (PyObject
*) 0 ;
22965 PyObject
*arg3
= (PyObject
*) 0 ;
22966 PyObject
*arg4
= (PyObject
*) 0 ;
22967 PyObject
*result
= 0 ;
22970 PyObject
* obj0
= 0 ;
22971 PyObject
* obj1
= 0 ;
22972 PyObject
* obj2
= 0 ;
22973 PyObject
* obj3
= 0 ;
22974 char * kwnames
[] = {
22975 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22980 if (!SWIG_IsOK(res1
)) {
22981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
22983 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22989 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
22990 wxPyEndAllowThreads(__tstate
);
22991 if (PyErr_Occurred()) SWIG_fail
;
22993 resultobj
= result
;
23000 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23001 PyObject
*resultobj
= 0;
23002 wxDC
*arg1
= (wxDC
*) 0 ;
23003 PyObject
*arg2
= (PyObject
*) 0 ;
23004 PyObject
*arg3
= (PyObject
*) 0 ;
23005 PyObject
*arg4
= (PyObject
*) 0 ;
23006 PyObject
*result
= 0 ;
23009 PyObject
* obj0
= 0 ;
23010 PyObject
* obj1
= 0 ;
23011 PyObject
* obj2
= 0 ;
23012 PyObject
* obj3
= 0 ;
23013 char * kwnames
[] = {
23014 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23019 if (!SWIG_IsOK(res1
)) {
23020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23022 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23028 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23029 wxPyEndAllowThreads(__tstate
);
23030 if (PyErr_Occurred()) SWIG_fail
;
23032 resultobj
= result
;
23039 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23040 PyObject
*resultobj
= 0;
23041 wxDC
*arg1
= (wxDC
*) 0 ;
23042 PyObject
*arg2
= (PyObject
*) 0 ;
23043 PyObject
*arg3
= (PyObject
*) 0 ;
23044 PyObject
*arg4
= (PyObject
*) 0 ;
23045 PyObject
*arg5
= (PyObject
*) 0 ;
23046 PyObject
*result
= 0 ;
23049 PyObject
* obj0
= 0 ;
23050 PyObject
* obj1
= 0 ;
23051 PyObject
* obj2
= 0 ;
23052 PyObject
* obj3
= 0 ;
23053 PyObject
* obj4
= 0 ;
23054 char * kwnames
[] = {
23055 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23060 if (!SWIG_IsOK(res1
)) {
23061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23063 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23070 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23071 wxPyEndAllowThreads(__tstate
);
23072 if (PyErr_Occurred()) SWIG_fail
;
23074 resultobj
= result
;
23081 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23083 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23084 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23085 return SWIG_Py_Void();
23088 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23089 PyObject
*resultobj
= 0;
23090 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
23091 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
23092 wxMemoryDC
*result
= 0 ;
23095 PyObject
* obj0
= 0 ;
23096 char * kwnames
[] = {
23097 (char *) "bitmap", NULL
23100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
23102 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23103 if (!SWIG_IsOK(res1
)) {
23104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap const &""'");
23107 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap const &""'");
23109 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
23112 if (!wxPyCheckForApp()) SWIG_fail
;
23113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23114 result
= (wxMemoryDC
*)new wxMemoryDC((wxBitmap
const &)*arg1
);
23115 wxPyEndAllowThreads(__tstate
);
23116 if (PyErr_Occurred()) SWIG_fail
;
23118 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
23125 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23126 PyObject
*resultobj
= 0;
23127 wxDC
*arg1
= (wxDC
*) 0 ;
23128 wxMemoryDC
*result
= 0 ;
23131 PyObject
* obj0
= 0 ;
23132 char * kwnames
[] = {
23133 (char *) "oldDC", NULL
23136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
23137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23138 if (!SWIG_IsOK(res1
)) {
23139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
23141 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23143 if (!wxPyCheckForApp()) SWIG_fail
;
23144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23145 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
23146 wxPyEndAllowThreads(__tstate
);
23147 if (PyErr_Occurred()) SWIG_fail
;
23149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
23156 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23157 PyObject
*resultobj
= 0;
23158 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
23159 wxBitmap
*arg2
= 0 ;
23164 PyObject
* obj0
= 0 ;
23165 PyObject
* obj1
= 0 ;
23166 char * kwnames
[] = {
23167 (char *) "self",(char *) "bitmap", NULL
23170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
23172 if (!SWIG_IsOK(res1
)) {
23173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
23175 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
23176 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23177 if (!SWIG_IsOK(res2
)) {
23178 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23181 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23183 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23186 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
23187 wxPyEndAllowThreads(__tstate
);
23188 if (PyErr_Occurred()) SWIG_fail
;
23190 resultobj
= SWIG_Py_Void();
23197 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23199 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23200 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
23201 return SWIG_Py_Void();
23204 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23205 return SWIG_Python_InitShadowInstance(args
);
23208 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23209 PyObject
*resultobj
= 0;
23210 wxScreenDC
*result
= 0 ;
23212 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23214 if (!wxPyCheckForApp()) SWIG_fail
;
23215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23216 result
= (wxScreenDC
*)new wxScreenDC();
23217 wxPyEndAllowThreads(__tstate
);
23218 if (PyErr_Occurred()) SWIG_fail
;
23220 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23227 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23228 PyObject
*resultobj
= 0;
23229 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23230 wxWindow
*arg2
= (wxWindow
*) 0 ;
23236 PyObject
* obj0
= 0 ;
23237 PyObject
* obj1
= 0 ;
23238 char * kwnames
[] = {
23239 (char *) "self",(char *) "window", NULL
23242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23244 if (!SWIG_IsOK(res1
)) {
23245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23247 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23248 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23249 if (!SWIG_IsOK(res2
)) {
23250 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23252 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23255 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23256 wxPyEndAllowThreads(__tstate
);
23257 if (PyErr_Occurred()) SWIG_fail
;
23260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23268 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23269 PyObject
*resultobj
= 0;
23270 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23271 wxRect
*arg2
= (wxRect
*) NULL
;
23277 PyObject
* obj0
= 0 ;
23278 PyObject
* obj1
= 0 ;
23279 char * kwnames
[] = {
23280 (char *) "self",(char *) "rect", NULL
23283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23285 if (!SWIG_IsOK(res1
)) {
23286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23288 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23290 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
23291 if (!SWIG_IsOK(res2
)) {
23292 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
23294 arg2
= reinterpret_cast< wxRect
* >(argp2
);
23297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23298 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23299 wxPyEndAllowThreads(__tstate
);
23300 if (PyErr_Occurred()) SWIG_fail
;
23303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23311 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23312 PyObject
*resultobj
= 0;
23313 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23317 PyObject
*swig_obj
[1] ;
23319 if (!args
) SWIG_fail
;
23320 swig_obj
[0] = args
;
23321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23322 if (!SWIG_IsOK(res1
)) {
23323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23325 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23328 result
= (bool)(arg1
)->EndDrawingOnTop();
23329 wxPyEndAllowThreads(__tstate
);
23330 if (PyErr_Occurred()) SWIG_fail
;
23333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23341 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23343 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23344 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
23345 return SWIG_Py_Void();
23348 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23349 return SWIG_Python_InitShadowInstance(args
);
23352 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23353 PyObject
*resultobj
= 0;
23354 wxWindow
*arg1
= (wxWindow
*) 0 ;
23355 wxWindowDC
*result
= 0 ;
23358 PyObject
* obj0
= 0 ;
23359 char * kwnames
[] = {
23360 (char *) "win", NULL
23363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
23364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23365 if (!SWIG_IsOK(res1
)) {
23366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23368 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23370 if (!wxPyCheckForApp()) SWIG_fail
;
23371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23372 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
23373 wxPyEndAllowThreads(__tstate
);
23374 if (PyErr_Occurred()) SWIG_fail
;
23376 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
23383 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23385 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23386 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
23387 return SWIG_Py_Void();
23390 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23391 return SWIG_Python_InitShadowInstance(args
);
23394 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23395 PyObject
*resultobj
= 0;
23396 wxWindow
*arg1
= (wxWindow
*) 0 ;
23397 wxClientDC
*result
= 0 ;
23400 PyObject
* obj0
= 0 ;
23401 char * kwnames
[] = {
23402 (char *) "win", NULL
23405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
23406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23407 if (!SWIG_IsOK(res1
)) {
23408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23410 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23412 if (!wxPyCheckForApp()) SWIG_fail
;
23413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23414 result
= (wxClientDC
*)new wxClientDC(arg1
);
23415 wxPyEndAllowThreads(__tstate
);
23416 if (PyErr_Occurred()) SWIG_fail
;
23418 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
23425 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23427 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23428 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
23429 return SWIG_Py_Void();
23432 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23433 return SWIG_Python_InitShadowInstance(args
);
23436 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23437 PyObject
*resultobj
= 0;
23438 wxWindow
*arg1
= (wxWindow
*) 0 ;
23439 wxPaintDC
*result
= 0 ;
23442 PyObject
* obj0
= 0 ;
23443 char * kwnames
[] = {
23444 (char *) "win", NULL
23447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
23448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23449 if (!SWIG_IsOK(res1
)) {
23450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23452 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23454 if (!wxPyCheckForApp()) SWIG_fail
;
23455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23456 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
23457 wxPyEndAllowThreads(__tstate
);
23458 if (PyErr_Occurred()) SWIG_fail
;
23460 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
23467 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23469 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23470 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
23471 return SWIG_Py_Void();
23474 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23475 return SWIG_Python_InitShadowInstance(args
);
23478 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23479 PyObject
*resultobj
= 0;
23480 wxDC
*arg1
= (wxDC
*) 0 ;
23481 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23482 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23483 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23484 wxBufferedDC
*result
= 0 ;
23492 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
23493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23494 if (!SWIG_IsOK(res1
)) {
23495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23497 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23499 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23500 if (!SWIG_IsOK(res2
)) {
23501 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23504 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23506 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23509 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23510 if (!SWIG_IsOK(ecode3
)) {
23511 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23513 arg3
= static_cast< int >(val3
);
23516 if (!wxPyCheckForApp()) SWIG_fail
;
23517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23518 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23519 wxPyEndAllowThreads(__tstate
);
23520 if (PyErr_Occurred()) SWIG_fail
;
23522 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23529 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23530 PyObject
*resultobj
= 0;
23531 wxDC
*arg1
= (wxDC
*) 0 ;
23533 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23534 wxBufferedDC
*result
= 0 ;
23541 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
23542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23543 if (!SWIG_IsOK(res1
)) {
23544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23546 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23549 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23552 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23553 if (!SWIG_IsOK(ecode3
)) {
23554 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23556 arg3
= static_cast< int >(val3
);
23559 if (!wxPyCheckForApp()) SWIG_fail
;
23560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23561 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
23562 wxPyEndAllowThreads(__tstate
);
23563 if (PyErr_Occurred()) SWIG_fail
;
23565 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23572 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
23576 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
23578 if ((argc
>= 1) && (argc
<= 3)) {
23582 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
23583 _v
= SWIG_CheckState(res
);
23585 if (!_v
) goto check_1
;
23587 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
23591 if ((argc
>= 2) && (argc
<= 3)) {
23592 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
23596 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
23601 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23602 PyObject
*resultobj
= 0;
23603 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23606 PyObject
*swig_obj
[1] ;
23608 if (!args
) SWIG_fail
;
23609 swig_obj
[0] = args
;
23610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
23611 if (!SWIG_IsOK(res1
)) {
23612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23614 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23619 wxPyEndAllowThreads(__tstate
);
23620 if (PyErr_Occurred()) SWIG_fail
;
23622 resultobj
= SWIG_Py_Void();
23629 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23630 PyObject
*resultobj
= 0;
23631 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23634 PyObject
*swig_obj
[1] ;
23636 if (!args
) SWIG_fail
;
23637 swig_obj
[0] = args
;
23638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
23639 if (!SWIG_IsOK(res1
)) {
23640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23642 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23646 wxPyEndAllowThreads(__tstate
);
23647 if (PyErr_Occurred()) SWIG_fail
;
23649 resultobj
= SWIG_Py_Void();
23656 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23658 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23659 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
23660 return SWIG_Py_Void();
23663 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23664 return SWIG_Python_InitShadowInstance(args
);
23667 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23668 PyObject
*resultobj
= 0;
23669 wxWindow
*arg1
= (wxWindow
*) 0 ;
23670 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23671 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23672 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23673 wxBufferedPaintDC
*result
= 0 ;
23680 PyObject
* obj0
= 0 ;
23681 PyObject
* obj1
= 0 ;
23682 PyObject
* obj2
= 0 ;
23683 char * kwnames
[] = {
23684 (char *) "window",(char *) "buffer",(char *) "style", NULL
23687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23689 if (!SWIG_IsOK(res1
)) {
23690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23692 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23694 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23695 if (!SWIG_IsOK(res2
)) {
23696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23699 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23701 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23704 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23705 if (!SWIG_IsOK(ecode3
)) {
23706 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
23708 arg3
= static_cast< int >(val3
);
23711 if (!wxPyCheckForApp()) SWIG_fail
;
23712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23713 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23714 wxPyEndAllowThreads(__tstate
);
23715 if (PyErr_Occurred()) SWIG_fail
;
23717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
23724 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23726 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23727 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
23728 return SWIG_Py_Void();
23731 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23732 return SWIG_Python_InitShadowInstance(args
);
23735 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23736 PyObject
*resultobj
= 0;
23737 wxWindow
*arg1
= (wxWindow
*) 0 ;
23738 wxAutoBufferedPaintDC
*result
= 0 ;
23741 PyObject
* obj0
= 0 ;
23742 char * kwnames
[] = {
23743 (char *) "win", NULL
23746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
23747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23748 if (!SWIG_IsOK(res1
)) {
23749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23751 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23754 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
23755 wxPyEndAllowThreads(__tstate
);
23756 if (PyErr_Occurred()) SWIG_fail
;
23758 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
23765 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23767 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23768 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
23769 return SWIG_Py_Void();
23772 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23773 return SWIG_Python_InitShadowInstance(args
);
23776 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23777 PyObject
*resultobj
= 0;
23778 wxWindow
*arg1
= (wxWindow
*) 0 ;
23782 PyObject
* obj0
= 0 ;
23783 char * kwnames
[] = {
23784 (char *) "window", NULL
23787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
23788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23789 if (!SWIG_IsOK(res1
)) {
23790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
23792 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23795 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
23796 wxPyEndAllowThreads(__tstate
);
23797 if (PyErr_Occurred()) SWIG_fail
;
23800 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
23808 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23809 PyObject
*resultobj
= 0;
23812 wxMirrorDC
*result
= 0 ;
23817 PyObject
* obj0
= 0 ;
23818 PyObject
* obj1
= 0 ;
23819 char * kwnames
[] = {
23820 (char *) "dc",(char *) "mirror", NULL
23823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23824 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23825 if (!SWIG_IsOK(res1
)) {
23826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23829 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23831 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23832 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23833 if (!SWIG_IsOK(ecode2
)) {
23834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
23836 arg2
= static_cast< bool >(val2
);
23838 if (!wxPyCheckForApp()) SWIG_fail
;
23839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23840 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
23841 wxPyEndAllowThreads(__tstate
);
23842 if (PyErr_Occurred()) SWIG_fail
;
23844 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
23851 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23853 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23854 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
23855 return SWIG_Py_Void();
23858 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23859 return SWIG_Python_InitShadowInstance(args
);
23862 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23863 PyObject
*resultobj
= 0;
23864 wxPrintData
*arg1
= 0 ;
23865 wxPostScriptDC
*result
= 0 ;
23868 PyObject
* obj0
= 0 ;
23869 char * kwnames
[] = {
23870 (char *) "printData", NULL
23873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
23874 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23875 if (!SWIG_IsOK(res1
)) {
23876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23879 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23881 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23883 if (!wxPyCheckForApp()) SWIG_fail
;
23884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23885 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
23886 wxPyEndAllowThreads(__tstate
);
23887 if (PyErr_Occurred()) SWIG_fail
;
23889 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
23896 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23897 PyObject
*resultobj
= 0;
23898 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23899 wxPrintData
*result
= 0 ;
23902 PyObject
*swig_obj
[1] ;
23904 if (!args
) SWIG_fail
;
23905 swig_obj
[0] = args
;
23906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23907 if (!SWIG_IsOK(res1
)) {
23908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23910 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23914 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23915 result
= (wxPrintData
*) &_result_ref
;
23917 wxPyEndAllowThreads(__tstate
);
23918 if (PyErr_Occurred()) SWIG_fail
;
23920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
23927 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23928 PyObject
*resultobj
= 0;
23929 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23930 wxPrintData
*arg2
= 0 ;
23935 PyObject
* obj0
= 0 ;
23936 PyObject
* obj1
= 0 ;
23937 char * kwnames
[] = {
23938 (char *) "self",(char *) "data", NULL
23941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23943 if (!SWIG_IsOK(res1
)) {
23944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23946 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23947 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23948 if (!SWIG_IsOK(res2
)) {
23949 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23952 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23954 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
23956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23957 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
23958 wxPyEndAllowThreads(__tstate
);
23959 if (PyErr_Occurred()) SWIG_fail
;
23961 resultobj
= SWIG_Py_Void();
23968 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23969 PyObject
*resultobj
= 0;
23973 PyObject
* obj0
= 0 ;
23974 char * kwnames
[] = {
23975 (char *) "ppi", NULL
23978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
23979 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23980 if (!SWIG_IsOK(ecode1
)) {
23981 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
23983 arg1
= static_cast< int >(val1
);
23985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23986 wxPostScriptDC::SetResolution(arg1
);
23987 wxPyEndAllowThreads(__tstate
);
23988 if (PyErr_Occurred()) SWIG_fail
;
23990 resultobj
= SWIG_Py_Void();
23997 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23998 PyObject
*resultobj
= 0;
24001 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24004 result
= (int)wxPostScriptDC::GetResolution();
24005 wxPyEndAllowThreads(__tstate
);
24006 if (PyErr_Occurred()) SWIG_fail
;
24008 resultobj
= SWIG_From_int(static_cast< int >(result
));
24015 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24017 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24018 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24019 return SWIG_Py_Void();
24022 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24023 return SWIG_Python_InitShadowInstance(args
);
24026 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24027 PyObject
*resultobj
= 0;
24028 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24029 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24030 wxMetaFile
*result
= 0 ;
24031 bool temp1
= false ;
24032 PyObject
* obj0
= 0 ;
24033 char * kwnames
[] = {
24034 (char *) "filename", NULL
24037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
24040 arg1
= wxString_in_helper(obj0
);
24041 if (arg1
== NULL
) SWIG_fail
;
24046 if (!wxPyCheckForApp()) SWIG_fail
;
24047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24048 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
24049 wxPyEndAllowThreads(__tstate
);
24050 if (PyErr_Occurred()) SWIG_fail
;
24052 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
24067 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24068 PyObject
*resultobj
= 0;
24069 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24072 PyObject
*swig_obj
[1] ;
24074 if (!args
) SWIG_fail
;
24075 swig_obj
[0] = args
;
24076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
24077 if (!SWIG_IsOK(res1
)) {
24078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24080 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24085 wxPyEndAllowThreads(__tstate
);
24086 if (PyErr_Occurred()) SWIG_fail
;
24088 resultobj
= SWIG_Py_Void();
24095 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24096 PyObject
*resultobj
= 0;
24097 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24101 PyObject
*swig_obj
[1] ;
24103 if (!args
) SWIG_fail
;
24104 swig_obj
[0] = args
;
24105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24106 if (!SWIG_IsOK(res1
)) {
24107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24109 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24112 result
= (bool)(arg1
)->IsOk();
24113 wxPyEndAllowThreads(__tstate
);
24114 if (PyErr_Occurred()) SWIG_fail
;
24117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24125 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24126 PyObject
*resultobj
= 0;
24127 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24128 int arg2
= (int) 0 ;
24129 int arg3
= (int) 0 ;
24137 PyObject
* obj0
= 0 ;
24138 PyObject
* obj1
= 0 ;
24139 PyObject
* obj2
= 0 ;
24140 char * kwnames
[] = {
24141 (char *) "self",(char *) "width",(char *) "height", NULL
24144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24146 if (!SWIG_IsOK(res1
)) {
24147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24149 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24152 if (!SWIG_IsOK(ecode2
)) {
24153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
24155 arg2
= static_cast< int >(val2
);
24158 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24159 if (!SWIG_IsOK(ecode3
)) {
24160 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
24162 arg3
= static_cast< int >(val3
);
24165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24166 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
24167 wxPyEndAllowThreads(__tstate
);
24168 if (PyErr_Occurred()) SWIG_fail
;
24171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24179 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24180 PyObject
*resultobj
= 0;
24181 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24185 PyObject
*swig_obj
[1] ;
24187 if (!args
) SWIG_fail
;
24188 swig_obj
[0] = args
;
24189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24190 if (!SWIG_IsOK(res1
)) {
24191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24193 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24196 result
= (arg1
)->GetSize();
24197 wxPyEndAllowThreads(__tstate
);
24198 if (PyErr_Occurred()) SWIG_fail
;
24200 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24207 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24208 PyObject
*resultobj
= 0;
24209 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24213 PyObject
*swig_obj
[1] ;
24215 if (!args
) SWIG_fail
;
24216 swig_obj
[0] = args
;
24217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24218 if (!SWIG_IsOK(res1
)) {
24219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24221 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24224 result
= (int)(arg1
)->GetWidth();
24225 wxPyEndAllowThreads(__tstate
);
24226 if (PyErr_Occurred()) SWIG_fail
;
24228 resultobj
= SWIG_From_int(static_cast< int >(result
));
24235 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24236 PyObject
*resultobj
= 0;
24237 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24241 PyObject
*swig_obj
[1] ;
24243 if (!args
) SWIG_fail
;
24244 swig_obj
[0] = args
;
24245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24246 if (!SWIG_IsOK(res1
)) {
24247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24249 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24252 result
= (int)(arg1
)->GetHeight();
24253 wxPyEndAllowThreads(__tstate
);
24254 if (PyErr_Occurred()) SWIG_fail
;
24256 resultobj
= SWIG_From_int(static_cast< int >(result
));
24263 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24265 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24266 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
24267 return SWIG_Py_Void();
24270 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24271 return SWIG_Python_InitShadowInstance(args
);
24274 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24275 PyObject
*resultobj
= 0;
24276 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24277 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24278 int arg2
= (int) 0 ;
24279 int arg3
= (int) 0 ;
24280 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24281 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24282 wxMetaFileDC
*result
= 0 ;
24283 bool temp1
= false ;
24288 bool temp4
= false ;
24289 PyObject
* obj0
= 0 ;
24290 PyObject
* obj1
= 0 ;
24291 PyObject
* obj2
= 0 ;
24292 PyObject
* obj3
= 0 ;
24293 char * kwnames
[] = {
24294 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
24297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24300 arg1
= wxString_in_helper(obj0
);
24301 if (arg1
== NULL
) SWIG_fail
;
24306 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24307 if (!SWIG_IsOK(ecode2
)) {
24308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
24310 arg2
= static_cast< int >(val2
);
24313 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24314 if (!SWIG_IsOK(ecode3
)) {
24315 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
24317 arg3
= static_cast< int >(val3
);
24321 arg4
= wxString_in_helper(obj3
);
24322 if (arg4
== NULL
) SWIG_fail
;
24327 if (!wxPyCheckForApp()) SWIG_fail
;
24328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24329 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
24330 wxPyEndAllowThreads(__tstate
);
24331 if (PyErr_Occurred()) SWIG_fail
;
24333 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
24356 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24357 PyObject
*resultobj
= 0;
24358 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
24359 wxMetaFile
*result
= 0 ;
24362 PyObject
*swig_obj
[1] ;
24364 if (!args
) SWIG_fail
;
24365 swig_obj
[0] = args
;
24366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
24367 if (!SWIG_IsOK(res1
)) {
24368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
24370 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
24372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24373 result
= (wxMetaFile
*)(arg1
)->Close();
24374 wxPyEndAllowThreads(__tstate
);
24375 if (PyErr_Occurred()) SWIG_fail
;
24377 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24384 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24386 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24387 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
24388 return SWIG_Py_Void();
24391 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24392 return SWIG_Python_InitShadowInstance(args
);
24395 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24396 PyObject
*resultobj
= 0;
24397 wxPrintData
*arg1
= 0 ;
24398 wxPrinterDC
*result
= 0 ;
24401 PyObject
* obj0
= 0 ;
24402 char * kwnames
[] = {
24403 (char *) "printData", NULL
24406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
24407 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24408 if (!SWIG_IsOK(res1
)) {
24409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24412 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24414 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24416 if (!wxPyCheckForApp()) SWIG_fail
;
24417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24418 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
24419 wxPyEndAllowThreads(__tstate
);
24420 if (PyErr_Occurred()) SWIG_fail
;
24422 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
24429 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24431 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24432 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
24433 return SWIG_Py_Void();
24436 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24437 return SWIG_Python_InitShadowInstance(args
);
24440 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24441 PyObject
*resultobj
= 0;
24442 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24445 PyObject
*swig_obj
[1] ;
24447 if (!args
) SWIG_fail
;
24448 swig_obj
[0] = args
;
24449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
24450 if (!SWIG_IsOK(res1
)) {
24451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24453 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24457 if (PyErr_Occurred()) SWIG_fail
;
24459 resultobj
= SWIG_Py_Void();
24466 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24467 PyObject
*resultobj
= 0;
24468 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24477 PyObject
* obj0
= 0 ;
24478 PyObject
* obj1
= 0 ;
24479 PyObject
* obj2
= 0 ;
24480 char * kwnames
[] = {
24481 (char *) "self",(char *) "x",(char *) "y", NULL
24484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_MoveToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24486 if (!SWIG_IsOK(res1
)) {
24487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24489 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24490 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24491 if (!SWIG_IsOK(ecode2
)) {
24492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24494 arg2
= static_cast< wxDouble
>(val2
);
24495 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24496 if (!SWIG_IsOK(ecode3
)) {
24497 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24499 arg3
= static_cast< wxDouble
>(val3
);
24501 (arg1
)->MoveToPoint(arg2
,arg3
);
24502 if (PyErr_Occurred()) SWIG_fail
;
24504 resultobj
= SWIG_Py_Void();
24511 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24512 PyObject
*resultobj
= 0;
24513 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24522 PyObject
* obj0
= 0 ;
24523 PyObject
* obj1
= 0 ;
24524 PyObject
* obj2
= 0 ;
24525 char * kwnames
[] = {
24526 (char *) "self",(char *) "x",(char *) "y", NULL
24529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_AddLineToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24531 if (!SWIG_IsOK(res1
)) {
24532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24534 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24535 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24536 if (!SWIG_IsOK(ecode2
)) {
24537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24539 arg2
= static_cast< wxDouble
>(val2
);
24540 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24541 if (!SWIG_IsOK(ecode3
)) {
24542 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24544 arg3
= static_cast< wxDouble
>(val3
);
24546 (arg1
)->AddLineToPoint(arg2
,arg3
);
24547 if (PyErr_Occurred()) SWIG_fail
;
24549 resultobj
= SWIG_Py_Void();
24556 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24557 PyObject
*resultobj
= 0;
24558 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24579 PyObject
* obj0
= 0 ;
24580 PyObject
* obj1
= 0 ;
24581 PyObject
* obj2
= 0 ;
24582 PyObject
* obj3
= 0 ;
24583 PyObject
* obj4
= 0 ;
24584 PyObject
* obj5
= 0 ;
24585 PyObject
* obj6
= 0 ;
24586 char * kwnames
[] = {
24587 (char *) "self",(char *) "cx1",(char *) "cy1",(char *) "cx2",(char *) "cy2",(char *) "x",(char *) "y", NULL
24590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24592 if (!SWIG_IsOK(res1
)) {
24593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24595 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24596 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24597 if (!SWIG_IsOK(ecode2
)) {
24598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24600 arg2
= static_cast< wxDouble
>(val2
);
24601 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24602 if (!SWIG_IsOK(ecode3
)) {
24603 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24605 arg3
= static_cast< wxDouble
>(val3
);
24606 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24607 if (!SWIG_IsOK(ecode4
)) {
24608 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
24610 arg4
= static_cast< wxDouble
>(val4
);
24611 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24612 if (!SWIG_IsOK(ecode5
)) {
24613 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
24615 arg5
= static_cast< wxDouble
>(val5
);
24616 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
24617 if (!SWIG_IsOK(ecode6
)) {
24618 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
24620 arg6
= static_cast< wxDouble
>(val6
);
24621 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
24622 if (!SWIG_IsOK(ecode7
)) {
24623 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
24625 arg7
= static_cast< wxDouble
>(val7
);
24627 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24628 if (PyErr_Occurred()) SWIG_fail
;
24630 resultobj
= SWIG_Py_Void();
24637 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24638 PyObject
*resultobj
= 0;
24639 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24642 PyObject
*swig_obj
[1] ;
24644 if (!args
) SWIG_fail
;
24645 swig_obj
[0] = args
;
24646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24647 if (!SWIG_IsOK(res1
)) {
24648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24650 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24652 (arg1
)->CloseSubpath();
24653 if (PyErr_Occurred()) SWIG_fail
;
24655 resultobj
= SWIG_Py_Void();
24662 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24663 PyObject
*resultobj
= 0;
24664 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24668 PyObject
*swig_obj
[1] ;
24670 if (!args
) SWIG_fail
;
24671 swig_obj
[0] = args
;
24672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24673 if (!SWIG_IsOK(res1
)) {
24674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24676 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24678 result
= (arg1
)->GetCurrentPoint();
24679 if (PyErr_Occurred()) SWIG_fail
;
24681 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
24688 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24689 PyObject
*resultobj
= 0;
24690 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24711 PyObject
* obj0
= 0 ;
24712 PyObject
* obj1
= 0 ;
24713 PyObject
* obj2
= 0 ;
24714 PyObject
* obj3
= 0 ;
24715 PyObject
* obj4
= 0 ;
24716 PyObject
* obj5
= 0 ;
24717 PyObject
* obj6
= 0 ;
24718 char * kwnames
[] = {
24719 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "startAngle",(char *) "endAngle",(char *) "clockwise", NULL
24722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24724 if (!SWIG_IsOK(res1
)) {
24725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24727 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24728 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24729 if (!SWIG_IsOK(ecode2
)) {
24730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
24732 arg2
= static_cast< wxDouble
>(val2
);
24733 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24734 if (!SWIG_IsOK(ecode3
)) {
24735 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
24737 arg3
= static_cast< wxDouble
>(val3
);
24738 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24739 if (!SWIG_IsOK(ecode4
)) {
24740 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
24742 arg4
= static_cast< wxDouble
>(val4
);
24743 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24744 if (!SWIG_IsOK(ecode5
)) {
24745 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
24747 arg5
= static_cast< wxDouble
>(val5
);
24748 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
24749 if (!SWIG_IsOK(ecode6
)) {
24750 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
24752 arg6
= static_cast< wxDouble
>(val6
);
24753 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
24754 if (!SWIG_IsOK(ecode7
)) {
24755 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
24757 arg7
= static_cast< bool >(val7
);
24759 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24760 if (PyErr_Occurred()) SWIG_fail
;
24762 resultobj
= SWIG_Py_Void();
24769 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24770 PyObject
*resultobj
= 0;
24771 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24786 PyObject
* obj0
= 0 ;
24787 PyObject
* obj1
= 0 ;
24788 PyObject
* obj2
= 0 ;
24789 PyObject
* obj3
= 0 ;
24790 PyObject
* obj4
= 0 ;
24791 char * kwnames
[] = {
24792 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
24795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24797 if (!SWIG_IsOK(res1
)) {
24798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24800 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24801 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24802 if (!SWIG_IsOK(ecode2
)) {
24803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24805 arg2
= static_cast< wxDouble
>(val2
);
24806 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24807 if (!SWIG_IsOK(ecode3
)) {
24808 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24810 arg3
= static_cast< wxDouble
>(val3
);
24811 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24812 if (!SWIG_IsOK(ecode4
)) {
24813 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
24815 arg4
= static_cast< wxDouble
>(val4
);
24816 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24817 if (!SWIG_IsOK(ecode5
)) {
24818 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
24820 arg5
= static_cast< wxDouble
>(val5
);
24822 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
24823 if (PyErr_Occurred()) SWIG_fail
;
24825 resultobj
= SWIG_Py_Void();
24832 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24833 PyObject
*resultobj
= 0;
24834 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24849 PyObject
* obj0
= 0 ;
24850 PyObject
* obj1
= 0 ;
24851 PyObject
* obj2
= 0 ;
24852 PyObject
* obj3
= 0 ;
24853 PyObject
* obj4
= 0 ;
24854 char * kwnames
[] = {
24855 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24860 if (!SWIG_IsOK(res1
)) {
24861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24863 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24864 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24865 if (!SWIG_IsOK(ecode2
)) {
24866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
24868 arg2
= static_cast< wxDouble
>(val2
);
24869 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24870 if (!SWIG_IsOK(ecode3
)) {
24871 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
24873 arg3
= static_cast< wxDouble
>(val3
);
24874 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24875 if (!SWIG_IsOK(ecode4
)) {
24876 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
24878 arg4
= static_cast< wxDouble
>(val4
);
24879 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24880 if (!SWIG_IsOK(ecode5
)) {
24881 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
24883 arg5
= static_cast< wxDouble
>(val5
);
24885 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
24886 if (PyErr_Occurred()) SWIG_fail
;
24888 resultobj
= SWIG_Py_Void();
24895 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24896 PyObject
*resultobj
= 0;
24897 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24909 PyObject
* obj0
= 0 ;
24910 PyObject
* obj1
= 0 ;
24911 PyObject
* obj2
= 0 ;
24912 PyObject
* obj3
= 0 ;
24913 char * kwnames
[] = {
24914 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
24917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24919 if (!SWIG_IsOK(res1
)) {
24920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24922 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24923 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24924 if (!SWIG_IsOK(ecode2
)) {
24925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
24927 arg2
= static_cast< wxDouble
>(val2
);
24928 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24929 if (!SWIG_IsOK(ecode3
)) {
24930 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
24932 arg3
= static_cast< wxDouble
>(val3
);
24933 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24934 if (!SWIG_IsOK(ecode4
)) {
24935 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
24937 arg4
= static_cast< wxDouble
>(val4
);
24939 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
24940 if (PyErr_Occurred()) SWIG_fail
;
24942 resultobj
= SWIG_Py_Void();
24949 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24950 PyObject
*resultobj
= 0;
24951 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24969 PyObject
* obj0
= 0 ;
24970 PyObject
* obj1
= 0 ;
24971 PyObject
* obj2
= 0 ;
24972 PyObject
* obj3
= 0 ;
24973 PyObject
* obj4
= 0 ;
24974 PyObject
* obj5
= 0 ;
24975 char * kwnames
[] = {
24976 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
24979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
24980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24981 if (!SWIG_IsOK(res1
)) {
24982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24984 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24985 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24986 if (!SWIG_IsOK(ecode2
)) {
24987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24989 arg2
= static_cast< wxDouble
>(val2
);
24990 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24991 if (!SWIG_IsOK(ecode3
)) {
24992 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24994 arg3
= static_cast< wxDouble
>(val3
);
24995 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24996 if (!SWIG_IsOK(ecode4
)) {
24997 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
24999 arg4
= static_cast< wxDouble
>(val4
);
25000 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25001 if (!SWIG_IsOK(ecode5
)) {
25002 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
25004 arg5
= static_cast< wxDouble
>(val5
);
25005 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25006 if (!SWIG_IsOK(ecode6
)) {
25007 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
25009 arg6
= static_cast< wxDouble
>(val6
);
25011 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
25012 if (PyErr_Occurred()) SWIG_fail
;
25014 resultobj
= SWIG_Py_Void();
25021 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25023 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25024 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
25025 return SWIG_Py_Void();
25028 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25029 PyObject
*resultobj
= 0;
25030 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25033 PyObject
*swig_obj
[1] ;
25035 if (!args
) SWIG_fail
;
25036 swig_obj
[0] = args
;
25037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
25038 if (!SWIG_IsOK(res1
)) {
25039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25041 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25045 if (PyErr_Occurred()) SWIG_fail
;
25047 resultobj
= SWIG_Py_Void();
25054 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25055 PyObject
*resultobj
= 0;
25056 wxWindowDC
*arg1
= 0 ;
25057 wxGraphicsContext
*result
= 0 ;
25060 PyObject
* obj0
= 0 ;
25061 char * kwnames
[] = {
25062 (char *) "dc", NULL
25065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_Create",kwnames
,&obj0
)) SWIG_fail
;
25066 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
25067 if (!SWIG_IsOK(res1
)) {
25068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
25071 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
25073 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
25075 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
25076 if (PyErr_Occurred()) SWIG_fail
;
25078 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25085 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25086 PyObject
*resultobj
= 0;
25087 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25088 wxGraphicsPath
*result
= 0 ;
25091 PyObject
*swig_obj
[1] ;
25093 if (!args
) SWIG_fail
;
25094 swig_obj
[0] = args
;
25095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25096 if (!SWIG_IsOK(res1
)) {
25097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25099 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25101 result
= (wxGraphicsPath
*)(arg1
)->CreatePath();
25102 if (PyErr_Occurred()) SWIG_fail
;
25104 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25111 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25112 PyObject
*resultobj
= 0;
25113 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25116 PyObject
*swig_obj
[1] ;
25118 if (!args
) SWIG_fail
;
25119 swig_obj
[0] = args
;
25120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25121 if (!SWIG_IsOK(res1
)) {
25122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25124 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25126 (arg1
)->PushState();
25127 if (PyErr_Occurred()) SWIG_fail
;
25129 resultobj
= SWIG_Py_Void();
25136 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25137 PyObject
*resultobj
= 0;
25138 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25141 PyObject
*swig_obj
[1] ;
25143 if (!args
) SWIG_fail
;
25144 swig_obj
[0] = args
;
25145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25146 if (!SWIG_IsOK(res1
)) {
25147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25149 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25151 (arg1
)->PopState();
25152 if (PyErr_Occurred()) SWIG_fail
;
25154 resultobj
= SWIG_Py_Void();
25161 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25162 PyObject
*resultobj
= 0;
25163 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25164 wxRegion
*arg2
= 0 ;
25169 PyObject
* obj0
= 0 ;
25170 PyObject
* obj1
= 0 ;
25171 char * kwnames
[] = {
25172 (char *) "self",(char *) "region", NULL
25175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25177 if (!SWIG_IsOK(res1
)) {
25178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25180 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25181 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
25182 if (!SWIG_IsOK(res2
)) {
25183 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxRegion const &""'");
25186 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxRegion const &""'");
25188 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
25190 (arg1
)->Clip((wxRegion
const &)*arg2
);
25191 if (PyErr_Occurred()) SWIG_fail
;
25193 resultobj
= SWIG_Py_Void();
25200 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25201 PyObject
*resultobj
= 0;
25202 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25211 PyObject
* obj0
= 0 ;
25212 PyObject
* obj1
= 0 ;
25213 PyObject
* obj2
= 0 ;
25214 char * kwnames
[] = {
25215 (char *) "self",(char *) "dx",(char *) "dy", NULL
25218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25220 if (!SWIG_IsOK(res1
)) {
25221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25223 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25224 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25225 if (!SWIG_IsOK(ecode2
)) {
25226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
25228 arg2
= static_cast< wxDouble
>(val2
);
25229 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25230 if (!SWIG_IsOK(ecode3
)) {
25231 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
25233 arg3
= static_cast< wxDouble
>(val3
);
25235 (arg1
)->Translate(arg2
,arg3
);
25236 if (PyErr_Occurred()) SWIG_fail
;
25238 resultobj
= SWIG_Py_Void();
25245 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25246 PyObject
*resultobj
= 0;
25247 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25256 PyObject
* obj0
= 0 ;
25257 PyObject
* obj1
= 0 ;
25258 PyObject
* obj2
= 0 ;
25259 char * kwnames
[] = {
25260 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
25263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25265 if (!SWIG_IsOK(res1
)) {
25266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25268 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25269 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25270 if (!SWIG_IsOK(ecode2
)) {
25271 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
25273 arg2
= static_cast< wxDouble
>(val2
);
25274 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25275 if (!SWIG_IsOK(ecode3
)) {
25276 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
25278 arg3
= static_cast< wxDouble
>(val3
);
25280 (arg1
)->Scale(arg2
,arg3
);
25281 if (PyErr_Occurred()) SWIG_fail
;
25283 resultobj
= SWIG_Py_Void();
25290 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25291 PyObject
*resultobj
= 0;
25292 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25298 PyObject
* obj0
= 0 ;
25299 PyObject
* obj1
= 0 ;
25300 char * kwnames
[] = {
25301 (char *) "self",(char *) "angle", NULL
25304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25306 if (!SWIG_IsOK(res1
)) {
25307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25309 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25310 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25311 if (!SWIG_IsOK(ecode2
)) {
25312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
25314 arg2
= static_cast< wxDouble
>(val2
);
25316 (arg1
)->Rotate(arg2
);
25317 if (PyErr_Occurred()) SWIG_fail
;
25319 resultobj
= SWIG_Py_Void();
25326 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25327 PyObject
*resultobj
= 0;
25328 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25334 PyObject
* obj0
= 0 ;
25335 PyObject
* obj1
= 0 ;
25336 char * kwnames
[] = {
25337 (char *) "self",(char *) "pen", NULL
25340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25342 if (!SWIG_IsOK(res1
)) {
25343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25345 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25346 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
25347 if (!SWIG_IsOK(res2
)) {
25348 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
25351 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
25353 arg2
= reinterpret_cast< wxPen
* >(argp2
);
25355 (arg1
)->SetPen((wxPen
const &)*arg2
);
25356 if (PyErr_Occurred()) SWIG_fail
;
25358 resultobj
= SWIG_Py_Void();
25365 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25366 PyObject
*resultobj
= 0;
25367 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25368 wxBrush
*arg2
= 0 ;
25373 PyObject
* obj0
= 0 ;
25374 PyObject
* obj1
= 0 ;
25375 char * kwnames
[] = {
25376 (char *) "self",(char *) "brush", NULL
25379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25381 if (!SWIG_IsOK(res1
)) {
25382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25384 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25385 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
25386 if (!SWIG_IsOK(res2
)) {
25387 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
25390 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
25392 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
25394 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
25395 if (PyErr_Occurred()) SWIG_fail
;
25397 resultobj
= SWIG_Py_Void();
25404 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25405 PyObject
*resultobj
= 0;
25406 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25411 wxColour
*arg6
= 0 ;
25412 wxColour
*arg7
= 0 ;
25425 PyObject
* obj0
= 0 ;
25426 PyObject
* obj1
= 0 ;
25427 PyObject
* obj2
= 0 ;
25428 PyObject
* obj3
= 0 ;
25429 PyObject
* obj4
= 0 ;
25430 PyObject
* obj5
= 0 ;
25431 PyObject
* obj6
= 0 ;
25432 char * kwnames
[] = {
25433 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
25436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_SetLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25438 if (!SWIG_IsOK(res1
)) {
25439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25441 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25442 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25443 if (!SWIG_IsOK(ecode2
)) {
25444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
25446 arg2
= static_cast< wxDouble
>(val2
);
25447 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25448 if (!SWIG_IsOK(ecode3
)) {
25449 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
25451 arg3
= static_cast< wxDouble
>(val3
);
25452 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25453 if (!SWIG_IsOK(ecode4
)) {
25454 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
25456 arg4
= static_cast< wxDouble
>(val4
);
25457 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25458 if (!SWIG_IsOK(ecode5
)) {
25459 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
25461 arg5
= static_cast< wxDouble
>(val5
);
25464 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
25468 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
25471 (arg1
)->SetLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
25472 if (PyErr_Occurred()) SWIG_fail
;
25474 resultobj
= SWIG_Py_Void();
25481 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25482 PyObject
*resultobj
= 0;
25483 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25489 wxColour
*arg7
= 0 ;
25490 wxColour
*arg8
= 0 ;
25505 PyObject
* obj0
= 0 ;
25506 PyObject
* obj1
= 0 ;
25507 PyObject
* obj2
= 0 ;
25508 PyObject
* obj3
= 0 ;
25509 PyObject
* obj4
= 0 ;
25510 PyObject
* obj5
= 0 ;
25511 PyObject
* obj6
= 0 ;
25512 PyObject
* obj7
= 0 ;
25513 char * kwnames
[] = {
25514 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
25517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_SetRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
25518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25519 if (!SWIG_IsOK(res1
)) {
25520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25522 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25523 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25524 if (!SWIG_IsOK(ecode2
)) {
25525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
25527 arg2
= static_cast< wxDouble
>(val2
);
25528 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25529 if (!SWIG_IsOK(ecode3
)) {
25530 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
25532 arg3
= static_cast< wxDouble
>(val3
);
25533 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25534 if (!SWIG_IsOK(ecode4
)) {
25535 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
25537 arg4
= static_cast< wxDouble
>(val4
);
25538 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25539 if (!SWIG_IsOK(ecode5
)) {
25540 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
25542 arg5
= static_cast< wxDouble
>(val5
);
25543 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25544 if (!SWIG_IsOK(ecode6
)) {
25545 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
25547 arg6
= static_cast< wxDouble
>(val6
);
25550 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
25554 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
25557 (arg1
)->SetRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
25558 if (PyErr_Occurred()) SWIG_fail
;
25560 resultobj
= SWIG_Py_Void();
25567 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25568 PyObject
*resultobj
= 0;
25569 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25575 PyObject
* obj0
= 0 ;
25576 PyObject
* obj1
= 0 ;
25577 char * kwnames
[] = {
25578 (char *) "self",(char *) "font", NULL
25581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25583 if (!SWIG_IsOK(res1
)) {
25584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25586 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25587 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25588 if (!SWIG_IsOK(res2
)) {
25589 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25592 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25594 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25596 (arg1
)->SetFont((wxFont
const &)*arg2
);
25597 if (PyErr_Occurred()) SWIG_fail
;
25599 resultobj
= SWIG_Py_Void();
25606 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTextColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25607 PyObject
*resultobj
= 0;
25608 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25609 wxColour
*arg2
= 0 ;
25613 PyObject
* obj0
= 0 ;
25614 PyObject
* obj1
= 0 ;
25615 char * kwnames
[] = {
25616 (char *) "self",(char *) "col", NULL
25619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTextColor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25621 if (!SWIG_IsOK(res1
)) {
25622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTextColor" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25624 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25627 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25630 (arg1
)->SetTextColor((wxColour
const &)*arg2
);
25631 if (PyErr_Occurred()) SWIG_fail
;
25633 resultobj
= SWIG_Py_Void();
25640 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25641 PyObject
*resultobj
= 0;
25642 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25643 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
25648 PyObject
* obj0
= 0 ;
25649 PyObject
* obj1
= 0 ;
25650 char * kwnames
[] = {
25651 (char *) "self",(char *) "path", NULL
25654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25656 if (!SWIG_IsOK(res1
)) {
25657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25659 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25660 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25661 if (!SWIG_IsOK(res2
)) {
25662 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
25664 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
25666 (arg1
)->StrokePath((wxGraphicsPath
const *)arg2
);
25667 if (PyErr_Occurred()) SWIG_fail
;
25669 resultobj
= SWIG_Py_Void();
25676 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25677 PyObject
*resultobj
= 0;
25678 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25679 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
25680 int arg3
= (int) wxWINDING_RULE
;
25687 PyObject
* obj0
= 0 ;
25688 PyObject
* obj1
= 0 ;
25689 PyObject
* obj2
= 0 ;
25690 char * kwnames
[] = {
25691 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
25694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25696 if (!SWIG_IsOK(res1
)) {
25697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25699 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25700 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25701 if (!SWIG_IsOK(res2
)) {
25702 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
25704 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
25706 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25707 if (!SWIG_IsOK(ecode3
)) {
25708 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
25710 arg3
= static_cast< int >(val3
);
25713 (arg1
)->FillPath((wxGraphicsPath
const *)arg2
,arg3
);
25714 if (PyErr_Occurred()) SWIG_fail
;
25716 resultobj
= SWIG_Py_Void();
25723 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25724 PyObject
*resultobj
= 0;
25725 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25726 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
25727 int arg3
= (int) wxWINDING_RULE
;
25734 PyObject
* obj0
= 0 ;
25735 PyObject
* obj1
= 0 ;
25736 PyObject
* obj2
= 0 ;
25737 char * kwnames
[] = {
25738 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
25741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25743 if (!SWIG_IsOK(res1
)) {
25744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25746 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25747 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25748 if (!SWIG_IsOK(res2
)) {
25749 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
25751 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
25753 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25754 if (!SWIG_IsOK(ecode3
)) {
25755 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
25757 arg3
= static_cast< int >(val3
);
25760 (arg1
)->DrawPath((wxGraphicsPath
const *)arg2
,arg3
);
25761 if (PyErr_Occurred()) SWIG_fail
;
25763 resultobj
= SWIG_Py_Void();
25770 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25771 PyObject
*resultobj
= 0;
25772 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25773 wxString
*arg2
= 0 ;
25778 bool temp2
= false ;
25783 PyObject
* obj0
= 0 ;
25784 PyObject
* obj1
= 0 ;
25785 PyObject
* obj2
= 0 ;
25786 PyObject
* obj3
= 0 ;
25787 char * kwnames
[] = {
25788 (char *) "self",(char *) "str",(char *) "x",(char *) "y", NULL
25791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25793 if (!SWIG_IsOK(res1
)) {
25794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25796 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25798 arg2
= wxString_in_helper(obj1
);
25799 if (arg2
== NULL
) SWIG_fail
;
25802 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25803 if (!SWIG_IsOK(ecode3
)) {
25804 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
25806 arg3
= static_cast< wxDouble
>(val3
);
25807 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25808 if (!SWIG_IsOK(ecode4
)) {
25809 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
25811 arg4
= static_cast< wxDouble
>(val4
);
25813 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
25814 if (PyErr_Occurred()) SWIG_fail
;
25816 resultobj
= SWIG_Py_Void();
25831 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25832 PyObject
*resultobj
= 0;
25833 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25834 wxString
*arg2
= 0 ;
25840 bool temp2
= false ;
25847 PyObject
* obj0
= 0 ;
25848 PyObject
* obj1
= 0 ;
25849 PyObject
* obj2
= 0 ;
25850 PyObject
* obj3
= 0 ;
25851 PyObject
* obj4
= 0 ;
25852 char * kwnames
[] = {
25853 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle", NULL
25856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25858 if (!SWIG_IsOK(res1
)) {
25859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25861 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25863 arg2
= wxString_in_helper(obj1
);
25864 if (arg2
== NULL
) SWIG_fail
;
25867 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25868 if (!SWIG_IsOK(ecode3
)) {
25869 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
25871 arg3
= static_cast< wxDouble
>(val3
);
25872 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25873 if (!SWIG_IsOK(ecode4
)) {
25874 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
25876 arg4
= static_cast< wxDouble
>(val4
);
25877 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25878 if (!SWIG_IsOK(ecode5
)) {
25879 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
25881 arg5
= static_cast< wxDouble
>(val5
);
25883 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25884 if (PyErr_Occurred()) SWIG_fail
;
25886 resultobj
= SWIG_Py_Void();
25901 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25902 PyObject
*resultobj
= 0;
25903 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25904 wxString
*arg2
= 0 ;
25905 wxDouble
*arg3
= (wxDouble
*) 0 ;
25906 wxDouble
*arg4
= (wxDouble
*) 0 ;
25907 wxDouble
*arg5
= (wxDouble
*) 0 ;
25908 wxDouble
*arg6
= (wxDouble
*) 0 ;
25911 bool temp2
= false ;
25913 int res3
= SWIG_TMPOBJ
;
25915 int res4
= SWIG_TMPOBJ
;
25917 int res5
= SWIG_TMPOBJ
;
25919 int res6
= SWIG_TMPOBJ
;
25920 PyObject
* obj0
= 0 ;
25921 PyObject
* obj1
= 0 ;
25922 char * kwnames
[] = {
25923 (char *) "self",(char *) "text", NULL
25930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25932 if (!SWIG_IsOK(res1
)) {
25933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
25935 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25937 arg2
= wxString_in_helper(obj1
);
25938 if (arg2
== NULL
) SWIG_fail
;
25942 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
25943 if (PyErr_Occurred()) SWIG_fail
;
25945 resultobj
= SWIG_Py_Void();
25946 if (SWIG_IsTmpObj(res3
)) {
25947 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
25949 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25950 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
25952 if (SWIG_IsTmpObj(res4
)) {
25953 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
25955 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25956 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
25958 if (SWIG_IsTmpObj(res5
)) {
25959 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
25961 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25962 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
25964 if (SWIG_IsTmpObj(res6
)) {
25965 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
25967 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25968 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
25984 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25985 PyObject
*resultobj
= 0;
25986 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25987 wxString
*arg2
= 0 ;
25988 wxArrayDouble result
;
25991 bool temp2
= false ;
25992 PyObject
* obj0
= 0 ;
25993 PyObject
* obj1
= 0 ;
25994 char * kwnames
[] = {
25995 (char *) "self",(char *) "text", NULL
25998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26000 if (!SWIG_IsOK(res1
)) {
26001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26003 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26005 arg2
= wxString_in_helper(obj1
);
26006 if (arg2
== NULL
) SWIG_fail
;
26010 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
26011 if (PyErr_Occurred()) SWIG_fail
;
26014 resultobj
= wxArrayDouble2PyList_helper(result
);
26030 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26031 PyObject
*resultobj
= 0;
26032 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26033 wxBitmap
*arg2
= 0 ;
26050 PyObject
* obj0
= 0 ;
26051 PyObject
* obj1
= 0 ;
26052 PyObject
* obj2
= 0 ;
26053 PyObject
* obj3
= 0 ;
26054 PyObject
* obj4
= 0 ;
26055 PyObject
* obj5
= 0 ;
26056 char * kwnames
[] = {
26057 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26062 if (!SWIG_IsOK(res1
)) {
26063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26065 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26066 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26067 if (!SWIG_IsOK(res2
)) {
26068 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26071 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26073 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
26074 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26075 if (!SWIG_IsOK(ecode3
)) {
26076 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
26078 arg3
= static_cast< wxDouble
>(val3
);
26079 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26080 if (!SWIG_IsOK(ecode4
)) {
26081 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
26083 arg4
= static_cast< wxDouble
>(val4
);
26084 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26085 if (!SWIG_IsOK(ecode5
)) {
26086 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
26088 arg5
= static_cast< wxDouble
>(val5
);
26089 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26090 if (!SWIG_IsOK(ecode6
)) {
26091 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
26093 arg6
= static_cast< wxDouble
>(val6
);
26095 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26096 if (PyErr_Occurred()) SWIG_fail
;
26098 resultobj
= SWIG_Py_Void();
26105 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26106 PyObject
*resultobj
= 0;
26107 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26125 PyObject
* obj0
= 0 ;
26126 PyObject
* obj1
= 0 ;
26127 PyObject
* obj2
= 0 ;
26128 PyObject
* obj3
= 0 ;
26129 PyObject
* obj4
= 0 ;
26130 PyObject
* obj5
= 0 ;
26131 char * kwnames
[] = {
26132 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26137 if (!SWIG_IsOK(res1
)) {
26138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26140 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26141 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
26142 if (!SWIG_IsOK(res2
)) {
26143 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
26146 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
26148 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
26149 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26150 if (!SWIG_IsOK(ecode3
)) {
26151 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
26153 arg3
= static_cast< wxDouble
>(val3
);
26154 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26155 if (!SWIG_IsOK(ecode4
)) {
26156 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
26158 arg4
= static_cast< wxDouble
>(val4
);
26159 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26160 if (!SWIG_IsOK(ecode5
)) {
26161 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
26163 arg5
= static_cast< wxDouble
>(val5
);
26164 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26165 if (!SWIG_IsOK(ecode6
)) {
26166 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
26168 arg6
= static_cast< wxDouble
>(val6
);
26170 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26171 if (PyErr_Occurred()) SWIG_fail
;
26173 resultobj
= SWIG_Py_Void();
26180 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26181 PyObject
*resultobj
= 0;
26182 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26197 PyObject
* obj0
= 0 ;
26198 PyObject
* obj1
= 0 ;
26199 PyObject
* obj2
= 0 ;
26200 PyObject
* obj3
= 0 ;
26201 PyObject
* obj4
= 0 ;
26202 char * kwnames
[] = {
26203 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
26206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26208 if (!SWIG_IsOK(res1
)) {
26209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26211 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26212 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26213 if (!SWIG_IsOK(ecode2
)) {
26214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
26216 arg2
= static_cast< wxDouble
>(val2
);
26217 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26218 if (!SWIG_IsOK(ecode3
)) {
26219 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
26221 arg3
= static_cast< wxDouble
>(val3
);
26222 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26223 if (!SWIG_IsOK(ecode4
)) {
26224 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
26226 arg4
= static_cast< wxDouble
>(val4
);
26227 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26228 if (!SWIG_IsOK(ecode5
)) {
26229 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
26231 arg5
= static_cast< wxDouble
>(val5
);
26233 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
26234 if (PyErr_Occurred()) SWIG_fail
;
26236 resultobj
= SWIG_Py_Void();
26243 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26244 PyObject
*resultobj
= 0;
26245 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26247 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
26250 PyObject
* obj0
= 0 ;
26251 PyObject
* obj1
= 0 ;
26252 char * kwnames
[] = {
26253 (char *) "self",(char *) "points", NULL
26256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26258 if (!SWIG_IsOK(res1
)) {
26259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26261 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26263 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
26264 if (arg3
== NULL
) SWIG_fail
;
26267 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
26268 if (PyErr_Occurred()) SWIG_fail
;
26270 resultobj
= SWIG_Py_Void();
26272 if (arg3
) delete [] arg3
;
26277 if (arg3
) delete [] arg3
;
26283 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26284 PyObject
*resultobj
= 0;
26285 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26286 PyObject
*arg2
= (PyObject
*) 0 ;
26287 PyObject
*arg3
= (PyObject
*) 0 ;
26290 PyObject
* obj0
= 0 ;
26291 PyObject
* obj1
= 0 ;
26292 PyObject
* obj2
= 0 ;
26293 char * kwnames
[] = {
26294 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
26297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26299 if (!SWIG_IsOK(res1
)) {
26300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26302 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26306 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
26307 if (PyErr_Occurred()) SWIG_fail
;
26309 resultobj
= SWIG_Py_Void();
26316 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26317 PyObject
*resultobj
= 0;
26318 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26320 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
26321 int arg4
= (int) wxWINDING_RULE
;
26326 PyObject
* obj0
= 0 ;
26327 PyObject
* obj1
= 0 ;
26328 PyObject
* obj2
= 0 ;
26329 char * kwnames
[] = {
26330 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
26333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26335 if (!SWIG_IsOK(res1
)) {
26336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26338 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26340 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
26341 if (arg3
== NULL
) SWIG_fail
;
26344 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
26345 if (!SWIG_IsOK(ecode4
)) {
26346 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
26348 arg4
= static_cast< int >(val4
);
26351 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
26352 if (PyErr_Occurred()) SWIG_fail
;
26354 resultobj
= SWIG_Py_Void();
26356 if (arg3
) delete [] arg3
;
26361 if (arg3
) delete [] arg3
;
26367 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26368 PyObject
*resultobj
= 0;
26369 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26384 PyObject
* obj0
= 0 ;
26385 PyObject
* obj1
= 0 ;
26386 PyObject
* obj2
= 0 ;
26387 PyObject
* obj3
= 0 ;
26388 PyObject
* obj4
= 0 ;
26389 char * kwnames
[] = {
26390 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26395 if (!SWIG_IsOK(res1
)) {
26396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26398 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26399 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26400 if (!SWIG_IsOK(ecode2
)) {
26401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26403 arg2
= static_cast< wxDouble
>(val2
);
26404 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26405 if (!SWIG_IsOK(ecode3
)) {
26406 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26408 arg3
= static_cast< wxDouble
>(val3
);
26409 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26410 if (!SWIG_IsOK(ecode4
)) {
26411 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26413 arg4
= static_cast< wxDouble
>(val4
);
26414 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26415 if (!SWIG_IsOK(ecode5
)) {
26416 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26418 arg5
= static_cast< wxDouble
>(val5
);
26420 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
26421 if (PyErr_Occurred()) SWIG_fail
;
26423 resultobj
= SWIG_Py_Void();
26430 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26431 PyObject
*resultobj
= 0;
26432 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26447 PyObject
* obj0
= 0 ;
26448 PyObject
* obj1
= 0 ;
26449 PyObject
* obj2
= 0 ;
26450 PyObject
* obj3
= 0 ;
26451 PyObject
* obj4
= 0 ;
26452 char * kwnames
[] = {
26453 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26458 if (!SWIG_IsOK(res1
)) {
26459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26461 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26462 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26463 if (!SWIG_IsOK(ecode2
)) {
26464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
26466 arg2
= static_cast< wxDouble
>(val2
);
26467 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26468 if (!SWIG_IsOK(ecode3
)) {
26469 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
26471 arg3
= static_cast< wxDouble
>(val3
);
26472 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26473 if (!SWIG_IsOK(ecode4
)) {
26474 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
26476 arg4
= static_cast< wxDouble
>(val4
);
26477 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26478 if (!SWIG_IsOK(ecode5
)) {
26479 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
26481 arg5
= static_cast< wxDouble
>(val5
);
26483 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
26484 if (PyErr_Occurred()) SWIG_fail
;
26486 resultobj
= SWIG_Py_Void();
26493 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26494 PyObject
*resultobj
= 0;
26495 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26513 PyObject
* obj0
= 0 ;
26514 PyObject
* obj1
= 0 ;
26515 PyObject
* obj2
= 0 ;
26516 PyObject
* obj3
= 0 ;
26517 PyObject
* obj4
= 0 ;
26518 PyObject
* obj5
= 0 ;
26519 char * kwnames
[] = {
26520 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
26523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26525 if (!SWIG_IsOK(res1
)) {
26526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26528 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26529 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26530 if (!SWIG_IsOK(ecode2
)) {
26531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26533 arg2
= static_cast< wxDouble
>(val2
);
26534 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26535 if (!SWIG_IsOK(ecode3
)) {
26536 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26538 arg3
= static_cast< wxDouble
>(val3
);
26539 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26540 if (!SWIG_IsOK(ecode4
)) {
26541 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26543 arg4
= static_cast< wxDouble
>(val4
);
26544 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26545 if (!SWIG_IsOK(ecode5
)) {
26546 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26548 arg5
= static_cast< wxDouble
>(val5
);
26549 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26550 if (!SWIG_IsOK(ecode6
)) {
26551 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
26553 arg6
= static_cast< wxDouble
>(val6
);
26555 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
26556 if (PyErr_Occurred()) SWIG_fail
;
26558 resultobj
= SWIG_Py_Void();
26565 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26567 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26568 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
26569 return SWIG_Py_Void();
26572 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26573 PyObject
*resultobj
= 0;
26574 wxWindowDC
*arg1
= 0 ;
26575 wxGCDC
*result
= 0 ;
26578 PyObject
* obj0
= 0 ;
26579 char * kwnames
[] = {
26580 (char *) "dc", NULL
26583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_GCDC",kwnames
,&obj0
)) SWIG_fail
;
26584 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
26585 if (!SWIG_IsOK(res1
)) {
26586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
26589 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
26591 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
26593 if (!wxPyCheckForApp()) SWIG_fail
;
26594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26595 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
26596 wxPyEndAllowThreads(__tstate
);
26597 if (PyErr_Occurred()) SWIG_fail
;
26599 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
26606 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26607 PyObject
*resultobj
= 0;
26608 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
26611 PyObject
*swig_obj
[1] ;
26613 if (!args
) SWIG_fail
;
26614 swig_obj
[0] = args
;
26615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
26616 if (!SWIG_IsOK(res1
)) {
26617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
26619 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
26623 if (PyErr_Occurred()) SWIG_fail
;
26625 resultobj
= SWIG_Py_Void();
26632 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26633 PyObject
*resultobj
= 0;
26634 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
26635 wxGraphicsContext
*result
= 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_wxGCDC
, 0 | 0 );
26643 if (!SWIG_IsOK(res1
)) {
26644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
26646 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
26648 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicContext();
26649 if (PyErr_Occurred()) SWIG_fail
;
26651 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26658 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26660 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26661 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
26662 return SWIG_Py_Void();
26665 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26666 return SWIG_Python_InitShadowInstance(args
);
26669 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26670 PyObject
*resultobj
= 0;
26671 wxOverlay
*result
= 0 ;
26673 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
26675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26676 result
= (wxOverlay
*)new wxOverlay();
26677 wxPyEndAllowThreads(__tstate
);
26678 if (PyErr_Occurred()) SWIG_fail
;
26680 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
26687 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26688 PyObject
*resultobj
= 0;
26689 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
26692 PyObject
*swig_obj
[1] ;
26694 if (!args
) SWIG_fail
;
26695 swig_obj
[0] = args
;
26696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
26697 if (!SWIG_IsOK(res1
)) {
26698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
26700 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
26702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26705 wxPyEndAllowThreads(__tstate
);
26706 if (PyErr_Occurred()) SWIG_fail
;
26708 resultobj
= SWIG_Py_Void();
26715 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26716 PyObject
*resultobj
= 0;
26717 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
26720 PyObject
*swig_obj
[1] ;
26722 if (!args
) SWIG_fail
;
26723 swig_obj
[0] = args
;
26724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
26725 if (!SWIG_IsOK(res1
)) {
26726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
26728 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
26730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26732 wxPyEndAllowThreads(__tstate
);
26733 if (PyErr_Occurred()) SWIG_fail
;
26735 resultobj
= SWIG_Py_Void();
26742 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26744 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26745 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
26746 return SWIG_Py_Void();
26749 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26750 return SWIG_Python_InitShadowInstance(args
);
26753 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26754 PyObject
*resultobj
= 0;
26755 wxOverlay
*arg1
= 0 ;
26756 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
26761 wxDCOverlay
*result
= 0 ;
26775 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
26776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
26777 if (!SWIG_IsOK(res1
)) {
26778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
26781 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
26783 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
26784 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
26785 if (!SWIG_IsOK(res2
)) {
26786 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
26788 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
26789 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
26790 if (!SWIG_IsOK(ecode3
)) {
26791 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
26793 arg3
= static_cast< int >(val3
);
26794 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
26795 if (!SWIG_IsOK(ecode4
)) {
26796 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
26798 arg4
= static_cast< int >(val4
);
26799 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
26800 if (!SWIG_IsOK(ecode5
)) {
26801 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
26803 arg5
= static_cast< int >(val5
);
26804 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
26805 if (!SWIG_IsOK(ecode6
)) {
26806 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
26808 arg6
= static_cast< int >(val6
);
26810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26811 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
26812 wxPyEndAllowThreads(__tstate
);
26813 if (PyErr_Occurred()) SWIG_fail
;
26815 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
26822 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26823 PyObject
*resultobj
= 0;
26824 wxOverlay
*arg1
= 0 ;
26825 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
26826 wxDCOverlay
*result
= 0 ;
26832 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
26834 if (!SWIG_IsOK(res1
)) {
26835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
26838 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
26840 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
26841 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
26842 if (!SWIG_IsOK(res2
)) {
26843 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
26845 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
26847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26848 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
26849 wxPyEndAllowThreads(__tstate
);
26850 if (PyErr_Occurred()) SWIG_fail
;
26852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
26859 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
26863 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
26866 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
26869 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
26873 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
26878 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26879 PyObject
*resultobj
= 0;
26880 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
26883 PyObject
*swig_obj
[1] ;
26885 if (!args
) SWIG_fail
;
26886 swig_obj
[0] = args
;
26887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
26888 if (!SWIG_IsOK(res1
)) {
26889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
26891 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
26893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26896 wxPyEndAllowThreads(__tstate
);
26897 if (PyErr_Occurred()) SWIG_fail
;
26899 resultobj
= SWIG_Py_Void();
26906 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26907 PyObject
*resultobj
= 0;
26908 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
26911 PyObject
*swig_obj
[1] ;
26913 if (!args
) SWIG_fail
;
26914 swig_obj
[0] = args
;
26915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
26916 if (!SWIG_IsOK(res1
)) {
26917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
26919 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
26921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26923 wxPyEndAllowThreads(__tstate
);
26924 if (PyErr_Occurred()) SWIG_fail
;
26926 resultobj
= SWIG_Py_Void();
26933 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26935 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26936 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
26937 return SWIG_Py_Void();
26940 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26941 return SWIG_Python_InitShadowInstance(args
);
26944 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26945 PyObject
*resultobj
= 0;
26948 int arg3
= (int) true ;
26949 int arg4
= (int) 1 ;
26950 wxImageList
*result
= 0 ;
26959 PyObject
* obj0
= 0 ;
26960 PyObject
* obj1
= 0 ;
26961 PyObject
* obj2
= 0 ;
26962 PyObject
* obj3
= 0 ;
26963 char * kwnames
[] = {
26964 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
26967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26968 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26969 if (!SWIG_IsOK(ecode1
)) {
26970 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
26972 arg1
= static_cast< int >(val1
);
26973 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26974 if (!SWIG_IsOK(ecode2
)) {
26975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
26977 arg2
= static_cast< int >(val2
);
26979 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26980 if (!SWIG_IsOK(ecode3
)) {
26981 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
26983 arg3
= static_cast< int >(val3
);
26986 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26987 if (!SWIG_IsOK(ecode4
)) {
26988 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
26990 arg4
= static_cast< int >(val4
);
26993 if (!wxPyCheckForApp()) SWIG_fail
;
26994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26995 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
26996 wxPyEndAllowThreads(__tstate
);
26997 if (PyErr_Occurred()) SWIG_fail
;
27000 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
27008 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27009 PyObject
*resultobj
= 0;
27010 wxImageList
*arg1
= (wxImageList
*) 0 ;
27013 PyObject
*swig_obj
[1] ;
27015 if (!args
) SWIG_fail
;
27016 swig_obj
[0] = args
;
27017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
27018 if (!SWIG_IsOK(res1
)) {
27019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
27021 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27026 wxPyEndAllowThreads(__tstate
);
27027 if (PyErr_Occurred()) SWIG_fail
;
27029 resultobj
= SWIG_Py_Void();
27036 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27037 PyObject
*resultobj
= 0;
27038 wxImageList
*arg1
= (wxImageList
*) 0 ;
27039 wxBitmap
*arg2
= 0 ;
27040 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
27041 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
27049 PyObject
* obj0
= 0 ;
27050 PyObject
* obj1
= 0 ;
27051 PyObject
* obj2
= 0 ;
27052 char * kwnames
[] = {
27053 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
27056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27058 if (!SWIG_IsOK(res1
)) {
27059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
27061 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27062 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27063 if (!SWIG_IsOK(res2
)) {
27064 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27067 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27069 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
27071 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27072 if (!SWIG_IsOK(res3
)) {
27073 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27076 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27078 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
27081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27082 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
27083 wxPyEndAllowThreads(__tstate
);
27084 if (PyErr_Occurred()) SWIG_fail
;
27086 resultobj
= SWIG_From_int(static_cast< int >(result
));
27093 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27094 PyObject
*resultobj
= 0;
27095 wxImageList
*arg1
= (wxImageList
*) 0 ;
27096 wxBitmap
*arg2
= 0 ;
27097 wxColour
*arg3
= 0 ;
27104 PyObject
* obj0
= 0 ;
27105 PyObject
* obj1
= 0 ;
27106 PyObject
* obj2
= 0 ;
27107 char * kwnames
[] = {
27108 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
27111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27113 if (!SWIG_IsOK(res1
)) {
27114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
27116 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27117 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27118 if (!SWIG_IsOK(res2
)) {
27119 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27122 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27124 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
27127 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27131 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
27132 wxPyEndAllowThreads(__tstate
);
27133 if (PyErr_Occurred()) SWIG_fail
;
27135 resultobj
= SWIG_From_int(static_cast< int >(result
));
27142 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27143 PyObject
*resultobj
= 0;
27144 wxImageList
*arg1
= (wxImageList
*) 0 ;
27151 PyObject
* obj0
= 0 ;
27152 PyObject
* obj1
= 0 ;
27153 char * kwnames
[] = {
27154 (char *) "self",(char *) "icon", NULL
27157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27159 if (!SWIG_IsOK(res1
)) {
27160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
27162 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27163 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
27164 if (!SWIG_IsOK(res2
)) {
27165 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
27168 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
27170 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
27172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27173 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
27174 wxPyEndAllowThreads(__tstate
);
27175 if (PyErr_Occurred()) SWIG_fail
;
27177 resultobj
= SWIG_From_int(static_cast< int >(result
));
27184 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27185 PyObject
*resultobj
= 0;
27186 wxImageList
*arg1
= (wxImageList
*) 0 ;
27188 SwigValueWrapper
<wxBitmap
> result
;
27193 PyObject
* obj0
= 0 ;
27194 PyObject
* obj1
= 0 ;
27195 char * kwnames
[] = {
27196 (char *) "self",(char *) "index", NULL
27199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27201 if (!SWIG_IsOK(res1
)) {
27202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
27204 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27205 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27206 if (!SWIG_IsOK(ecode2
)) {
27207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
27209 arg2
= static_cast< int >(val2
);
27211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27212 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
27213 wxPyEndAllowThreads(__tstate
);
27214 if (PyErr_Occurred()) SWIG_fail
;
27216 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
27223 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27224 PyObject
*resultobj
= 0;
27225 wxImageList
*arg1
= (wxImageList
*) 0 ;
27232 PyObject
* obj0
= 0 ;
27233 PyObject
* obj1
= 0 ;
27234 char * kwnames
[] = {
27235 (char *) "self",(char *) "index", NULL
27238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27240 if (!SWIG_IsOK(res1
)) {
27241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
27243 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27244 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27245 if (!SWIG_IsOK(ecode2
)) {
27246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
27248 arg2
= static_cast< int >(val2
);
27250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27251 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
27252 wxPyEndAllowThreads(__tstate
);
27253 if (PyErr_Occurred()) SWIG_fail
;
27255 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
27262 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27263 PyObject
*resultobj
= 0;
27264 wxImageList
*arg1
= (wxImageList
*) 0 ;
27266 wxBitmap
*arg3
= 0 ;
27267 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
27268 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
27278 PyObject
* obj0
= 0 ;
27279 PyObject
* obj1
= 0 ;
27280 PyObject
* obj2
= 0 ;
27281 PyObject
* obj3
= 0 ;
27282 char * kwnames
[] = {
27283 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
27286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27288 if (!SWIG_IsOK(res1
)) {
27289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
27291 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27293 if (!SWIG_IsOK(ecode2
)) {
27294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
27296 arg2
= static_cast< int >(val2
);
27297 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27298 if (!SWIG_IsOK(res3
)) {
27299 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27302 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27304 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
27306 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27307 if (!SWIG_IsOK(res4
)) {
27308 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
27311 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
27313 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
27316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27317 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
27318 wxPyEndAllowThreads(__tstate
);
27319 if (PyErr_Occurred()) SWIG_fail
;
27322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27330 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27331 PyObject
*resultobj
= 0;
27332 wxImageList
*arg1
= (wxImageList
*) 0 ;
27337 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
27338 bool arg7
= (bool) (bool)false ;
27354 PyObject
* obj0
= 0 ;
27355 PyObject
* obj1
= 0 ;
27356 PyObject
* obj2
= 0 ;
27357 PyObject
* obj3
= 0 ;
27358 PyObject
* obj4
= 0 ;
27359 PyObject
* obj5
= 0 ;
27360 PyObject
* obj6
= 0 ;
27361 char * kwnames
[] = {
27362 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
27365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27367 if (!SWIG_IsOK(res1
)) {
27368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
27370 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27371 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27372 if (!SWIG_IsOK(ecode2
)) {
27373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
27375 arg2
= static_cast< int >(val2
);
27376 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27377 if (!SWIG_IsOK(res3
)) {
27378 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
27381 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
27383 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27384 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27385 if (!SWIG_IsOK(ecode4
)) {
27386 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
27388 arg4
= static_cast< int >(val4
);
27389 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27390 if (!SWIG_IsOK(ecode5
)) {
27391 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
27393 arg5
= static_cast< int >(val5
);
27395 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
27396 if (!SWIG_IsOK(ecode6
)) {
27397 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
27399 arg6
= static_cast< int >(val6
);
27402 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
27403 if (!SWIG_IsOK(ecode7
)) {
27404 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
27406 arg7
= static_cast< bool >(val7
);
27409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27410 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
27411 wxPyEndAllowThreads(__tstate
);
27412 if (PyErr_Occurred()) SWIG_fail
;
27415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27423 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27424 PyObject
*resultobj
= 0;
27425 wxImageList
*arg1
= (wxImageList
*) 0 ;
27429 PyObject
*swig_obj
[1] ;
27431 if (!args
) SWIG_fail
;
27432 swig_obj
[0] = args
;
27433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27434 if (!SWIG_IsOK(res1
)) {
27435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
27437 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27440 result
= (int)(arg1
)->GetImageCount();
27441 wxPyEndAllowThreads(__tstate
);
27442 if (PyErr_Occurred()) SWIG_fail
;
27444 resultobj
= SWIG_From_int(static_cast< int >(result
));
27451 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27452 PyObject
*resultobj
= 0;
27453 wxImageList
*arg1
= (wxImageList
*) 0 ;
27460 PyObject
* obj0
= 0 ;
27461 PyObject
* obj1
= 0 ;
27462 char * kwnames
[] = {
27463 (char *) "self",(char *) "index", NULL
27466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27468 if (!SWIG_IsOK(res1
)) {
27469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
27471 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27472 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27473 if (!SWIG_IsOK(ecode2
)) {
27474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
27476 arg2
= static_cast< int >(val2
);
27478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27479 result
= (bool)(arg1
)->Remove(arg2
);
27480 wxPyEndAllowThreads(__tstate
);
27481 if (PyErr_Occurred()) SWIG_fail
;
27484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27492 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27493 PyObject
*resultobj
= 0;
27494 wxImageList
*arg1
= (wxImageList
*) 0 ;
27498 PyObject
*swig_obj
[1] ;
27500 if (!args
) SWIG_fail
;
27501 swig_obj
[0] = args
;
27502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27503 if (!SWIG_IsOK(res1
)) {
27504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
27506 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27509 result
= (bool)(arg1
)->RemoveAll();
27510 wxPyEndAllowThreads(__tstate
);
27511 if (PyErr_Occurred()) SWIG_fail
;
27514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27522 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27523 PyObject
*resultobj
= 0;
27524 wxImageList
*arg1
= (wxImageList
*) 0 ;
27533 int res3
= SWIG_TMPOBJ
;
27535 int res4
= SWIG_TMPOBJ
;
27536 PyObject
* obj0
= 0 ;
27537 PyObject
* obj1
= 0 ;
27538 char * kwnames
[] = {
27539 (char *) "self",(char *) "index", NULL
27544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27546 if (!SWIG_IsOK(res1
)) {
27547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
27549 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27551 if (!SWIG_IsOK(ecode2
)) {
27552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
27554 arg2
= static_cast< int >(val2
);
27556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27557 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
27558 wxPyEndAllowThreads(__tstate
);
27559 if (PyErr_Occurred()) SWIG_fail
;
27561 resultobj
= SWIG_Py_Void();
27562 if (SWIG_IsTmpObj(res3
)) {
27563 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27565 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27566 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27568 if (SWIG_IsTmpObj(res4
)) {
27569 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
27571 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27572 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
27580 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27582 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27583 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
27584 return SWIG_Py_Void();
27587 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27588 return SWIG_Python_InitShadowInstance(args
);
27591 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27592 PyObject
*resultobj
= 0;
27593 wxStockGDI
*result
= 0 ;
27595 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
27597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27598 result
= (wxStockGDI
*)new wxStockGDI();
27599 wxPyEndAllowThreads(__tstate
);
27600 if (PyErr_Occurred()) SWIG_fail
;
27602 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
27609 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27610 PyObject
*resultobj
= 0;
27611 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
27614 PyObject
*swig_obj
[1] ;
27616 if (!args
) SWIG_fail
;
27617 swig_obj
[0] = args
;
27618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
27619 if (!SWIG_IsOK(res1
)) {
27620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
27622 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
27624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27627 wxPyEndAllowThreads(__tstate
);
27628 if (PyErr_Occurred()) SWIG_fail
;
27630 resultobj
= SWIG_Py_Void();
27637 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27638 PyObject
*resultobj
= 0;
27640 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
27642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27643 wxStockGDI::DeleteAll();
27644 wxPyEndAllowThreads(__tstate
);
27645 if (PyErr_Occurred()) SWIG_fail
;
27647 resultobj
= SWIG_Py_Void();
27654 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27655 PyObject
*resultobj
= 0;
27656 wxStockGDI
*result
= 0 ;
27658 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
27660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27662 wxStockGDI
&_result_ref
= wxStockGDI::instance();
27663 result
= (wxStockGDI
*) &_result_ref
;
27665 wxPyEndAllowThreads(__tstate
);
27666 if (PyErr_Occurred()) SWIG_fail
;
27668 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
27675 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27676 PyObject
*resultobj
= 0;
27677 wxStockGDI::Item arg1
;
27678 wxBrush
*result
= 0 ;
27681 PyObject
* obj0
= 0 ;
27682 char * kwnames
[] = {
27683 (char *) "item", NULL
27686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
27687 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27688 if (!SWIG_IsOK(ecode1
)) {
27689 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27691 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27694 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
27695 wxPyEndAllowThreads(__tstate
);
27696 if (PyErr_Occurred()) SWIG_fail
;
27698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
27705 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27706 PyObject
*resultobj
= 0;
27707 wxStockGDI::Item arg1
;
27708 wxColour
*result
= 0 ;
27711 PyObject
* obj0
= 0 ;
27712 char * kwnames
[] = {
27713 (char *) "item", NULL
27716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
27717 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27718 if (!SWIG_IsOK(ecode1
)) {
27719 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27721 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27724 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
27725 wxPyEndAllowThreads(__tstate
);
27726 if (PyErr_Occurred()) SWIG_fail
;
27728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
27735 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27736 PyObject
*resultobj
= 0;
27737 wxStockGDI::Item arg1
;
27738 wxCursor
*result
= 0 ;
27741 PyObject
* obj0
= 0 ;
27742 char * kwnames
[] = {
27743 (char *) "item", NULL
27746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
27747 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27748 if (!SWIG_IsOK(ecode1
)) {
27749 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27751 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27754 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
27755 wxPyEndAllowThreads(__tstate
);
27756 if (PyErr_Occurred()) SWIG_fail
;
27758 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
27765 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27766 PyObject
*resultobj
= 0;
27767 wxStockGDI::Item arg1
;
27768 wxPen
*result
= 0 ;
27771 PyObject
* obj0
= 0 ;
27772 char * kwnames
[] = {
27773 (char *) "item", NULL
27776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
27777 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27778 if (!SWIG_IsOK(ecode1
)) {
27779 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27781 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27784 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
27785 wxPyEndAllowThreads(__tstate
);
27786 if (PyErr_Occurred()) SWIG_fail
;
27788 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
27795 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27796 PyObject
*resultobj
= 0;
27797 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
27798 wxStockGDI::Item arg2
;
27799 wxFont
*result
= 0 ;
27804 PyObject
* obj0
= 0 ;
27805 PyObject
* obj1
= 0 ;
27806 char * kwnames
[] = {
27807 (char *) "self",(char *) "item", NULL
27810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
27812 if (!SWIG_IsOK(res1
)) {
27813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
27815 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
27816 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27817 if (!SWIG_IsOK(ecode2
)) {
27818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
27820 arg2
= static_cast< wxStockGDI::Item
>(val2
);
27822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27823 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
27824 wxPyEndAllowThreads(__tstate
);
27825 if (PyErr_Occurred()) SWIG_fail
;
27827 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
27834 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27836 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27837 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
27838 return SWIG_Py_Void();
27841 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27842 return SWIG_Python_InitShadowInstance(args
);
27845 SWIGINTERN
int NullBitmap_set(PyObject
*) {
27846 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
27851 SWIGINTERN PyObject
*NullBitmap_get(void) {
27852 PyObject
*pyobj
= 0;
27854 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
27859 SWIGINTERN
int NullIcon_set(PyObject
*) {
27860 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
27865 SWIGINTERN PyObject
*NullIcon_get(void) {
27866 PyObject
*pyobj
= 0;
27868 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
27873 SWIGINTERN
int NullCursor_set(PyObject
*) {
27874 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
27879 SWIGINTERN PyObject
*NullCursor_get(void) {
27880 PyObject
*pyobj
= 0;
27882 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
27887 SWIGINTERN
int NullPen_set(PyObject
*) {
27888 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
27893 SWIGINTERN PyObject
*NullPen_get(void) {
27894 PyObject
*pyobj
= 0;
27896 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
27901 SWIGINTERN
int NullBrush_set(PyObject
*) {
27902 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
27907 SWIGINTERN PyObject
*NullBrush_get(void) {
27908 PyObject
*pyobj
= 0;
27910 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
27915 SWIGINTERN
int NullPalette_set(PyObject
*) {
27916 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
27921 SWIGINTERN PyObject
*NullPalette_get(void) {
27922 PyObject
*pyobj
= 0;
27924 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
27929 SWIGINTERN
int NullFont_set(PyObject
*) {
27930 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
27935 SWIGINTERN PyObject
*NullFont_get(void) {
27936 PyObject
*pyobj
= 0;
27938 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
27943 SWIGINTERN
int NullColour_set(PyObject
*) {
27944 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
27949 SWIGINTERN PyObject
*NullColour_get(void) {
27950 PyObject
*pyobj
= 0;
27952 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
27957 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27958 PyObject
*resultobj
= 0;
27959 wxGDIObjListBase
*result
= 0 ;
27961 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
27963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27964 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
27965 wxPyEndAllowThreads(__tstate
);
27966 if (PyErr_Occurred()) SWIG_fail
;
27968 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
27975 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27976 PyObject
*resultobj
= 0;
27977 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
27980 PyObject
*swig_obj
[1] ;
27982 if (!args
) SWIG_fail
;
27983 swig_obj
[0] = args
;
27984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
27985 if (!SWIG_IsOK(res1
)) {
27986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
27988 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
27990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27993 wxPyEndAllowThreads(__tstate
);
27994 if (PyErr_Occurred()) SWIG_fail
;
27996 resultobj
= SWIG_Py_Void();
28003 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28005 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28006 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
28007 return SWIG_Py_Void();
28010 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28011 return SWIG_Python_InitShadowInstance(args
);
28014 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28015 PyObject
*resultobj
= 0;
28016 wxPenList
*arg1
= (wxPenList
*) 0 ;
28017 wxColour
*arg2
= 0 ;
28020 wxPen
*result
= 0 ;
28028 PyObject
* obj0
= 0 ;
28029 PyObject
* obj1
= 0 ;
28030 PyObject
* obj2
= 0 ;
28031 PyObject
* obj3
= 0 ;
28032 char * kwnames
[] = {
28033 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
28036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
28038 if (!SWIG_IsOK(res1
)) {
28039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
28041 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
28044 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28046 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28047 if (!SWIG_IsOK(ecode3
)) {
28048 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
28050 arg3
= static_cast< int >(val3
);
28051 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28052 if (!SWIG_IsOK(ecode4
)) {
28053 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
28055 arg4
= static_cast< int >(val4
);
28057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28058 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
28059 wxPyEndAllowThreads(__tstate
);
28060 if (PyErr_Occurred()) SWIG_fail
;
28062 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
28069 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28070 PyObject
*resultobj
= 0;
28071 wxPenList
*arg1
= (wxPenList
*) 0 ;
28072 wxPen
*arg2
= (wxPen
*) 0 ;
28077 PyObject
* obj0
= 0 ;
28078 PyObject
* obj1
= 0 ;
28079 char * kwnames
[] = {
28080 (char *) "self",(char *) "pen", NULL
28083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
28085 if (!SWIG_IsOK(res1
)) {
28086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
28088 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
28089 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
28090 if (!SWIG_IsOK(res2
)) {
28091 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
28093 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28096 (arg1
)->AddPen(arg2
);
28097 wxPyEndAllowThreads(__tstate
);
28098 if (PyErr_Occurred()) SWIG_fail
;
28100 resultobj
= SWIG_Py_Void();
28107 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28108 PyObject
*resultobj
= 0;
28109 wxPenList
*arg1
= (wxPenList
*) 0 ;
28110 wxPen
*arg2
= (wxPen
*) 0 ;
28115 PyObject
* obj0
= 0 ;
28116 PyObject
* obj1
= 0 ;
28117 char * kwnames
[] = {
28118 (char *) "self",(char *) "pen", NULL
28121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
28123 if (!SWIG_IsOK(res1
)) {
28124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
28126 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
28127 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
28128 if (!SWIG_IsOK(res2
)) {
28129 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
28131 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28134 (arg1
)->RemovePen(arg2
);
28135 wxPyEndAllowThreads(__tstate
);
28136 if (PyErr_Occurred()) SWIG_fail
;
28138 resultobj
= SWIG_Py_Void();
28145 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28147 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28148 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
28149 return SWIG_Py_Void();
28152 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28153 PyObject
*resultobj
= 0;
28154 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
28155 wxColour
*arg2
= 0 ;
28156 int arg3
= (int) wxSOLID
;
28157 wxBrush
*result
= 0 ;
28163 PyObject
* obj0
= 0 ;
28164 PyObject
* obj1
= 0 ;
28165 PyObject
* obj2
= 0 ;
28166 char * kwnames
[] = {
28167 (char *) "self",(char *) "colour",(char *) "style", NULL
28170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
28172 if (!SWIG_IsOK(res1
)) {
28173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
28175 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
28178 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28181 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28182 if (!SWIG_IsOK(ecode3
)) {
28183 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
28185 arg3
= static_cast< int >(val3
);
28188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28189 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
28190 wxPyEndAllowThreads(__tstate
);
28191 if (PyErr_Occurred()) SWIG_fail
;
28193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
28200 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28201 PyObject
*resultobj
= 0;
28202 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
28203 wxBrush
*arg2
= (wxBrush
*) 0 ;
28208 PyObject
* obj0
= 0 ;
28209 PyObject
* obj1
= 0 ;
28210 char * kwnames
[] = {
28211 (char *) "self",(char *) "brush", NULL
28214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
28216 if (!SWIG_IsOK(res1
)) {
28217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
28219 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
28220 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
28221 if (!SWIG_IsOK(res2
)) {
28222 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
28224 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28227 (arg1
)->AddBrush(arg2
);
28228 wxPyEndAllowThreads(__tstate
);
28229 if (PyErr_Occurred()) SWIG_fail
;
28231 resultobj
= SWIG_Py_Void();
28238 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28239 PyObject
*resultobj
= 0;
28240 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
28241 wxBrush
*arg2
= (wxBrush
*) 0 ;
28246 PyObject
* obj0
= 0 ;
28247 PyObject
* obj1
= 0 ;
28248 char * kwnames
[] = {
28249 (char *) "self",(char *) "brush", NULL
28252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
28254 if (!SWIG_IsOK(res1
)) {
28255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
28257 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
28258 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
28259 if (!SWIG_IsOK(res2
)) {
28260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
28262 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28265 (arg1
)->RemoveBrush(arg2
);
28266 wxPyEndAllowThreads(__tstate
);
28267 if (PyErr_Occurred()) SWIG_fail
;
28269 resultobj
= SWIG_Py_Void();
28276 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28278 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28279 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
28280 return SWIG_Py_Void();
28283 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28284 PyObject
*resultobj
= 0;
28285 wxFontList
*arg1
= (wxFontList
*) 0 ;
28290 bool arg6
= (bool) false ;
28291 wxString
const &arg7_defvalue
= wxPyEmptyString
;
28292 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28293 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
28294 wxFont
*result
= 0 ;
28307 bool temp7
= false ;
28310 PyObject
* obj0
= 0 ;
28311 PyObject
* obj1
= 0 ;
28312 PyObject
* obj2
= 0 ;
28313 PyObject
* obj3
= 0 ;
28314 PyObject
* obj4
= 0 ;
28315 PyObject
* obj5
= 0 ;
28316 PyObject
* obj6
= 0 ;
28317 PyObject
* obj7
= 0 ;
28318 char * kwnames
[] = {
28319 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
28322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
28324 if (!SWIG_IsOK(res1
)) {
28325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
28327 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
28328 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28329 if (!SWIG_IsOK(ecode2
)) {
28330 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
28332 arg2
= static_cast< int >(val2
);
28333 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28334 if (!SWIG_IsOK(ecode3
)) {
28335 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
28337 arg3
= static_cast< int >(val3
);
28338 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28339 if (!SWIG_IsOK(ecode4
)) {
28340 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
28342 arg4
= static_cast< int >(val4
);
28343 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28344 if (!SWIG_IsOK(ecode5
)) {
28345 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
28347 arg5
= static_cast< int >(val5
);
28349 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
28350 if (!SWIG_IsOK(ecode6
)) {
28351 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
28353 arg6
= static_cast< bool >(val6
);
28357 arg7
= wxString_in_helper(obj6
);
28358 if (arg7
== NULL
) SWIG_fail
;
28363 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
28364 if (!SWIG_IsOK(ecode8
)) {
28365 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
28367 arg8
= static_cast< wxFontEncoding
>(val8
);
28370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28371 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
28372 wxPyEndAllowThreads(__tstate
);
28373 if (PyErr_Occurred()) SWIG_fail
;
28375 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
28390 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28391 PyObject
*resultobj
= 0;
28392 wxFontList
*arg1
= (wxFontList
*) 0 ;
28393 wxFont
*arg2
= (wxFont
*) 0 ;
28398 PyObject
* obj0
= 0 ;
28399 PyObject
* obj1
= 0 ;
28400 char * kwnames
[] = {
28401 (char *) "self",(char *) "font", NULL
28404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
28406 if (!SWIG_IsOK(res1
)) {
28407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
28409 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
28410 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
28411 if (!SWIG_IsOK(res2
)) {
28412 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
28414 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28417 (arg1
)->AddFont(arg2
);
28418 wxPyEndAllowThreads(__tstate
);
28419 if (PyErr_Occurred()) SWIG_fail
;
28421 resultobj
= SWIG_Py_Void();
28428 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28429 PyObject
*resultobj
= 0;
28430 wxFontList
*arg1
= (wxFontList
*) 0 ;
28431 wxFont
*arg2
= (wxFont
*) 0 ;
28436 PyObject
* obj0
= 0 ;
28437 PyObject
* obj1
= 0 ;
28438 char * kwnames
[] = {
28439 (char *) "self",(char *) "font", NULL
28442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
28444 if (!SWIG_IsOK(res1
)) {
28445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
28447 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
28448 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
28449 if (!SWIG_IsOK(res2
)) {
28450 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
28452 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28455 (arg1
)->RemoveFont(arg2
);
28456 wxPyEndAllowThreads(__tstate
);
28457 if (PyErr_Occurred()) SWIG_fail
;
28459 resultobj
= SWIG_Py_Void();
28466 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28468 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28469 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
28470 return SWIG_Py_Void();
28473 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28474 PyObject
*resultobj
= 0;
28475 wxColourDatabase
*result
= 0 ;
28477 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
28479 if (!wxPyCheckForApp()) SWIG_fail
;
28480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28481 result
= (wxColourDatabase
*)new wxColourDatabase();
28482 wxPyEndAllowThreads(__tstate
);
28483 if (PyErr_Occurred()) SWIG_fail
;
28485 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
28492 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28493 PyObject
*resultobj
= 0;
28494 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28497 PyObject
*swig_obj
[1] ;
28499 if (!args
) SWIG_fail
;
28500 swig_obj
[0] = args
;
28501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
28502 if (!SWIG_IsOK(res1
)) {
28503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
28505 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28510 wxPyEndAllowThreads(__tstate
);
28511 if (PyErr_Occurred()) SWIG_fail
;
28513 resultobj
= SWIG_Py_Void();
28520 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28521 PyObject
*resultobj
= 0;
28522 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28523 wxString
*arg2
= 0 ;
28527 bool temp2
= false ;
28528 PyObject
* obj0
= 0 ;
28529 PyObject
* obj1
= 0 ;
28530 char * kwnames
[] = {
28531 (char *) "self",(char *) "name", NULL
28534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28536 if (!SWIG_IsOK(res1
)) {
28537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
28539 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28541 arg2
= wxString_in_helper(obj1
);
28542 if (arg2
== NULL
) SWIG_fail
;
28546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28547 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
28548 wxPyEndAllowThreads(__tstate
);
28549 if (PyErr_Occurred()) SWIG_fail
;
28551 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28566 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28567 PyObject
*resultobj
= 0;
28568 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28569 wxColour
*arg2
= 0 ;
28574 PyObject
* obj0
= 0 ;
28575 PyObject
* obj1
= 0 ;
28576 char * kwnames
[] = {
28577 (char *) "self",(char *) "colour", NULL
28580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28582 if (!SWIG_IsOK(res1
)) {
28583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
28585 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28588 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28592 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
28593 wxPyEndAllowThreads(__tstate
);
28594 if (PyErr_Occurred()) SWIG_fail
;
28598 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28600 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28609 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28610 PyObject
*resultobj
= 0;
28611 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28612 wxString
*arg2
= 0 ;
28613 wxColour
*arg3
= 0 ;
28616 bool temp2
= false ;
28618 PyObject
* obj0
= 0 ;
28619 PyObject
* obj1
= 0 ;
28620 PyObject
* obj2
= 0 ;
28621 char * kwnames
[] = {
28622 (char *) "self",(char *) "name",(char *) "colour", NULL
28625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28627 if (!SWIG_IsOK(res1
)) {
28628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
28630 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28632 arg2
= wxString_in_helper(obj1
);
28633 if (arg2
== NULL
) SWIG_fail
;
28638 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28642 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
28643 wxPyEndAllowThreads(__tstate
);
28644 if (PyErr_Occurred()) SWIG_fail
;
28646 resultobj
= SWIG_Py_Void();
28661 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28662 PyObject
*resultobj
= 0;
28663 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28664 wxString
*arg2
= 0 ;
28670 bool temp2
= false ;
28677 PyObject
* obj0
= 0 ;
28678 PyObject
* obj1
= 0 ;
28679 PyObject
* obj2
= 0 ;
28680 PyObject
* obj3
= 0 ;
28681 PyObject
* obj4
= 0 ;
28682 char * kwnames
[] = {
28683 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
28686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28688 if (!SWIG_IsOK(res1
)) {
28689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
28691 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28693 arg2
= wxString_in_helper(obj1
);
28694 if (arg2
== NULL
) SWIG_fail
;
28697 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28698 if (!SWIG_IsOK(ecode3
)) {
28699 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
28701 arg3
= static_cast< int >(val3
);
28702 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28703 if (!SWIG_IsOK(ecode4
)) {
28704 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
28706 arg4
= static_cast< int >(val4
);
28707 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28708 if (!SWIG_IsOK(ecode5
)) {
28709 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
28711 arg5
= static_cast< int >(val5
);
28713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28714 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
28715 wxPyEndAllowThreads(__tstate
);
28716 if (PyErr_Occurred()) SWIG_fail
;
28718 resultobj
= SWIG_Py_Void();
28733 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28735 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28736 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
28737 return SWIG_Py_Void();
28740 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28741 return SWIG_Python_InitShadowInstance(args
);
28744 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28745 PyObject
*resultobj
= 0;
28746 wxFontList
*result
= 0 ;
28748 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
28750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28751 result
= (wxFontList
*)_wxPyInitTheFontList();
28752 wxPyEndAllowThreads(__tstate
);
28753 if (PyErr_Occurred()) SWIG_fail
;
28755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
28762 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28763 PyObject
*resultobj
= 0;
28764 wxPenList
*result
= 0 ;
28766 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
28768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28769 result
= (wxPenList
*)_wxPyInitThePenList();
28770 wxPyEndAllowThreads(__tstate
);
28771 if (PyErr_Occurred()) SWIG_fail
;
28773 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
28780 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28781 PyObject
*resultobj
= 0;
28782 wxBrushList
*result
= 0 ;
28784 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
28786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28787 result
= (wxBrushList
*)_wxPyInitTheBrushList();
28788 wxPyEndAllowThreads(__tstate
);
28789 if (PyErr_Occurred()) SWIG_fail
;
28791 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
28798 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28799 PyObject
*resultobj
= 0;
28800 wxColourDatabase
*result
= 0 ;
28802 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
28804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28805 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
28806 wxPyEndAllowThreads(__tstate
);
28807 if (PyErr_Occurred()) SWIG_fail
;
28809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28816 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28817 PyObject
*resultobj
= 0;
28818 wxEffects
*result
= 0 ;
28820 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
28822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28823 result
= (wxEffects
*)new wxEffects();
28824 wxPyEndAllowThreads(__tstate
);
28825 if (PyErr_Occurred()) SWIG_fail
;
28827 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
28834 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28835 PyObject
*resultobj
= 0;
28836 wxEffects
*arg1
= (wxEffects
*) 0 ;
28840 PyObject
*swig_obj
[1] ;
28842 if (!args
) SWIG_fail
;
28843 swig_obj
[0] = args
;
28844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28845 if (!SWIG_IsOK(res1
)) {
28846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
28848 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28851 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
28852 wxPyEndAllowThreads(__tstate
);
28853 if (PyErr_Occurred()) SWIG_fail
;
28855 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28862 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28863 PyObject
*resultobj
= 0;
28864 wxEffects
*arg1
= (wxEffects
*) 0 ;
28868 PyObject
*swig_obj
[1] ;
28870 if (!args
) SWIG_fail
;
28871 swig_obj
[0] = args
;
28872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28873 if (!SWIG_IsOK(res1
)) {
28874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
28876 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28879 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
28880 wxPyEndAllowThreads(__tstate
);
28881 if (PyErr_Occurred()) SWIG_fail
;
28883 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28890 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28891 PyObject
*resultobj
= 0;
28892 wxEffects
*arg1
= (wxEffects
*) 0 ;
28896 PyObject
*swig_obj
[1] ;
28898 if (!args
) SWIG_fail
;
28899 swig_obj
[0] = args
;
28900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28901 if (!SWIG_IsOK(res1
)) {
28902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
28904 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28907 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
28908 wxPyEndAllowThreads(__tstate
);
28909 if (PyErr_Occurred()) SWIG_fail
;
28911 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28918 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28919 PyObject
*resultobj
= 0;
28920 wxEffects
*arg1
= (wxEffects
*) 0 ;
28924 PyObject
*swig_obj
[1] ;
28926 if (!args
) SWIG_fail
;
28927 swig_obj
[0] = args
;
28928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28929 if (!SWIG_IsOK(res1
)) {
28930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
28932 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28935 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
28936 wxPyEndAllowThreads(__tstate
);
28937 if (PyErr_Occurred()) SWIG_fail
;
28939 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28946 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28947 PyObject
*resultobj
= 0;
28948 wxEffects
*arg1
= (wxEffects
*) 0 ;
28952 PyObject
*swig_obj
[1] ;
28954 if (!args
) SWIG_fail
;
28955 swig_obj
[0] = args
;
28956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28957 if (!SWIG_IsOK(res1
)) {
28958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
28960 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28963 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
28964 wxPyEndAllowThreads(__tstate
);
28965 if (PyErr_Occurred()) SWIG_fail
;
28967 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28974 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28975 PyObject
*resultobj
= 0;
28976 wxEffects
*arg1
= (wxEffects
*) 0 ;
28977 wxColour
*arg2
= 0 ;
28981 PyObject
* obj0
= 0 ;
28982 PyObject
* obj1
= 0 ;
28983 char * kwnames
[] = {
28984 (char *) "self",(char *) "c", NULL
28987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28989 if (!SWIG_IsOK(res1
)) {
28990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
28992 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28995 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28999 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
29000 wxPyEndAllowThreads(__tstate
);
29001 if (PyErr_Occurred()) SWIG_fail
;
29003 resultobj
= SWIG_Py_Void();
29010 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29011 PyObject
*resultobj
= 0;
29012 wxEffects
*arg1
= (wxEffects
*) 0 ;
29013 wxColour
*arg2
= 0 ;
29017 PyObject
* obj0
= 0 ;
29018 PyObject
* obj1
= 0 ;
29019 char * kwnames
[] = {
29020 (char *) "self",(char *) "c", NULL
29023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29025 if (!SWIG_IsOK(res1
)) {
29026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
29028 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29031 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29035 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
29036 wxPyEndAllowThreads(__tstate
);
29037 if (PyErr_Occurred()) SWIG_fail
;
29039 resultobj
= SWIG_Py_Void();
29046 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29047 PyObject
*resultobj
= 0;
29048 wxEffects
*arg1
= (wxEffects
*) 0 ;
29049 wxColour
*arg2
= 0 ;
29053 PyObject
* obj0
= 0 ;
29054 PyObject
* obj1
= 0 ;
29055 char * kwnames
[] = {
29056 (char *) "self",(char *) "c", NULL
29059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29061 if (!SWIG_IsOK(res1
)) {
29062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
29064 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29067 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29071 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
29072 wxPyEndAllowThreads(__tstate
);
29073 if (PyErr_Occurred()) SWIG_fail
;
29075 resultobj
= SWIG_Py_Void();
29082 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29083 PyObject
*resultobj
= 0;
29084 wxEffects
*arg1
= (wxEffects
*) 0 ;
29085 wxColour
*arg2
= 0 ;
29089 PyObject
* obj0
= 0 ;
29090 PyObject
* obj1
= 0 ;
29091 char * kwnames
[] = {
29092 (char *) "self",(char *) "c", NULL
29095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29097 if (!SWIG_IsOK(res1
)) {
29098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
29100 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29103 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29107 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
29108 wxPyEndAllowThreads(__tstate
);
29109 if (PyErr_Occurred()) SWIG_fail
;
29111 resultobj
= SWIG_Py_Void();
29118 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29119 PyObject
*resultobj
= 0;
29120 wxEffects
*arg1
= (wxEffects
*) 0 ;
29121 wxColour
*arg2
= 0 ;
29125 PyObject
* obj0
= 0 ;
29126 PyObject
* obj1
= 0 ;
29127 char * kwnames
[] = {
29128 (char *) "self",(char *) "c", NULL
29131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29133 if (!SWIG_IsOK(res1
)) {
29134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
29136 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29139 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29143 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
29144 wxPyEndAllowThreads(__tstate
);
29145 if (PyErr_Occurred()) SWIG_fail
;
29147 resultobj
= SWIG_Py_Void();
29154 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29155 PyObject
*resultobj
= 0;
29156 wxEffects
*arg1
= (wxEffects
*) 0 ;
29157 wxColour
*arg2
= 0 ;
29158 wxColour
*arg3
= 0 ;
29159 wxColour
*arg4
= 0 ;
29160 wxColour
*arg5
= 0 ;
29161 wxColour
*arg6
= 0 ;
29169 PyObject
* obj0
= 0 ;
29170 PyObject
* obj1
= 0 ;
29171 PyObject
* obj2
= 0 ;
29172 PyObject
* obj3
= 0 ;
29173 PyObject
* obj4
= 0 ;
29174 PyObject
* obj5
= 0 ;
29175 char * kwnames
[] = {
29176 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
29179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29181 if (!SWIG_IsOK(res1
)) {
29182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
29184 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29187 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29191 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29195 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
29199 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
29203 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
29206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29207 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
29208 wxPyEndAllowThreads(__tstate
);
29209 if (PyErr_Occurred()) SWIG_fail
;
29211 resultobj
= SWIG_Py_Void();
29218 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29219 PyObject
*resultobj
= 0;
29220 wxEffects
*arg1
= (wxEffects
*) 0 ;
29223 int arg4
= (int) 1 ;
29231 PyObject
* obj0
= 0 ;
29232 PyObject
* obj1
= 0 ;
29233 PyObject
* obj2
= 0 ;
29234 PyObject
* obj3
= 0 ;
29235 char * kwnames
[] = {
29236 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
29239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29241 if (!SWIG_IsOK(res1
)) {
29242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
29244 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29245 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
29246 if (!SWIG_IsOK(res2
)) {
29247 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
29250 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
29252 arg2
= reinterpret_cast< wxDC
* >(argp2
);
29255 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
29258 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29259 if (!SWIG_IsOK(ecode4
)) {
29260 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
29262 arg4
= static_cast< int >(val4
);
29265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29266 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
29267 wxPyEndAllowThreads(__tstate
);
29268 if (PyErr_Occurred()) SWIG_fail
;
29270 resultobj
= SWIG_Py_Void();
29277 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29278 PyObject
*resultobj
= 0;
29279 wxEffects
*arg1
= (wxEffects
*) 0 ;
29282 wxBitmap
*arg4
= 0 ;
29291 PyObject
* obj0
= 0 ;
29292 PyObject
* obj1
= 0 ;
29293 PyObject
* obj2
= 0 ;
29294 PyObject
* obj3
= 0 ;
29295 char * kwnames
[] = {
29296 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
29299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29301 if (!SWIG_IsOK(res1
)) {
29302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
29304 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29307 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29309 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29310 if (!SWIG_IsOK(res3
)) {
29311 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
29314 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
29316 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29317 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
29318 if (!SWIG_IsOK(res4
)) {
29319 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
29322 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
29324 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
29326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29327 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
29328 wxPyEndAllowThreads(__tstate
);
29329 if (PyErr_Occurred()) SWIG_fail
;
29332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29340 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29342 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29343 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
29344 return SWIG_Py_Void();
29347 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29348 return SWIG_Python_InitShadowInstance(args
);
29351 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29352 PyObject
*resultobj
= 0;
29356 wxSplitterRenderParams
*result
= 0 ;
29363 PyObject
* obj0
= 0 ;
29364 PyObject
* obj1
= 0 ;
29365 PyObject
* obj2
= 0 ;
29366 char * kwnames
[] = {
29367 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
29370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29371 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29372 if (!SWIG_IsOK(ecode1
)) {
29373 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
29375 arg1
= static_cast< int >(val1
);
29376 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29377 if (!SWIG_IsOK(ecode2
)) {
29378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
29380 arg2
= static_cast< int >(val2
);
29381 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29382 if (!SWIG_IsOK(ecode3
)) {
29383 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
29385 arg3
= static_cast< bool >(val3
);
29387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29388 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
29389 wxPyEndAllowThreads(__tstate
);
29390 if (PyErr_Occurred()) SWIG_fail
;
29392 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
29399 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29400 PyObject
*resultobj
= 0;
29401 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29404 PyObject
*swig_obj
[1] ;
29406 if (!args
) SWIG_fail
;
29407 swig_obj
[0] = args
;
29408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
29409 if (!SWIG_IsOK(res1
)) {
29410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29412 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29417 wxPyEndAllowThreads(__tstate
);
29418 if (PyErr_Occurred()) SWIG_fail
;
29420 resultobj
= SWIG_Py_Void();
29427 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29428 PyObject
*resultobj
= 0;
29429 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29433 PyObject
*swig_obj
[1] ;
29435 if (!args
) SWIG_fail
;
29436 swig_obj
[0] = args
;
29437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
29438 if (!SWIG_IsOK(res1
)) {
29439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29441 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29442 result
= (int)(int) ((arg1
)->widthSash
);
29443 resultobj
= SWIG_From_int(static_cast< int >(result
));
29450 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29451 PyObject
*resultobj
= 0;
29452 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29456 PyObject
*swig_obj
[1] ;
29458 if (!args
) SWIG_fail
;
29459 swig_obj
[0] = args
;
29460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
29461 if (!SWIG_IsOK(res1
)) {
29462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29464 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29465 result
= (int)(int) ((arg1
)->border
);
29466 resultobj
= SWIG_From_int(static_cast< int >(result
));
29473 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29474 PyObject
*resultobj
= 0;
29475 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29479 PyObject
*swig_obj
[1] ;
29481 if (!args
) SWIG_fail
;
29482 swig_obj
[0] = args
;
29483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
29484 if (!SWIG_IsOK(res1
)) {
29485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29487 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29488 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
29489 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
29496 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29498 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29499 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
29500 return SWIG_Py_Void();
29503 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29504 return SWIG_Python_InitShadowInstance(args
);
29507 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29508 PyObject
*resultobj
= 0;
29509 wxHeaderButtonParams
*result
= 0 ;
29511 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
29513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29514 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
29515 wxPyEndAllowThreads(__tstate
);
29516 if (PyErr_Occurred()) SWIG_fail
;
29518 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
29525 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29526 PyObject
*resultobj
= 0;
29527 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29530 PyObject
*swig_obj
[1] ;
29532 if (!args
) SWIG_fail
;
29533 swig_obj
[0] = args
;
29534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
29535 if (!SWIG_IsOK(res1
)) {
29536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29538 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29543 wxPyEndAllowThreads(__tstate
);
29544 if (PyErr_Occurred()) SWIG_fail
;
29546 resultobj
= SWIG_Py_Void();
29553 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29554 PyObject
*resultobj
= 0;
29555 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29556 wxColour
*arg2
= (wxColour
*) 0 ;
29560 PyObject
*swig_obj
[2] ;
29562 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
29563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29564 if (!SWIG_IsOK(res1
)) {
29565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29567 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29570 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
29572 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
29574 resultobj
= SWIG_Py_Void();
29581 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29582 PyObject
*resultobj
= 0;
29583 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29584 wxColour
*result
= 0 ;
29587 PyObject
*swig_obj
[1] ;
29589 if (!args
) SWIG_fail
;
29590 swig_obj
[0] = args
;
29591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29592 if (!SWIG_IsOK(res1
)) {
29593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29595 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29596 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
29597 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29604 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29605 PyObject
*resultobj
= 0;
29606 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29607 wxColour
*arg2
= (wxColour
*) 0 ;
29611 PyObject
*swig_obj
[2] ;
29613 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
29614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29615 if (!SWIG_IsOK(res1
)) {
29616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29618 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29621 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
29623 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
29625 resultobj
= SWIG_Py_Void();
29632 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29633 PyObject
*resultobj
= 0;
29634 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29635 wxColour
*result
= 0 ;
29638 PyObject
*swig_obj
[1] ;
29640 if (!args
) SWIG_fail
;
29641 swig_obj
[0] = args
;
29642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29643 if (!SWIG_IsOK(res1
)) {
29644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29646 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29647 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
29648 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29655 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29656 PyObject
*resultobj
= 0;
29657 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29658 wxString
*arg2
= (wxString
*) 0 ;
29661 bool temp2
= false ;
29662 PyObject
*swig_obj
[2] ;
29664 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
29665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29666 if (!SWIG_IsOK(res1
)) {
29667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29669 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29671 arg2
= wxString_in_helper(swig_obj
[1]);
29672 if (arg2
== NULL
) SWIG_fail
;
29675 if (arg1
) (arg1
)->m_labelText
= *arg2
;
29677 resultobj
= SWIG_Py_Void();
29692 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29693 PyObject
*resultobj
= 0;
29694 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29695 wxString
*result
= 0 ;
29698 PyObject
*swig_obj
[1] ;
29700 if (!args
) SWIG_fail
;
29701 swig_obj
[0] = args
;
29702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29703 if (!SWIG_IsOK(res1
)) {
29704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29706 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29707 result
= (wxString
*)& ((arg1
)->m_labelText
);
29710 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29712 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29721 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29722 PyObject
*resultobj
= 0;
29723 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29724 wxFont
*arg2
= (wxFont
*) 0 ;
29729 PyObject
*swig_obj
[2] ;
29731 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
29732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29733 if (!SWIG_IsOK(res1
)) {
29734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29736 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29737 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
29738 if (!SWIG_IsOK(res2
)) {
29739 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
29741 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29742 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
29744 resultobj
= SWIG_Py_Void();
29751 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29752 PyObject
*resultobj
= 0;
29753 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29754 wxFont
*result
= 0 ;
29757 PyObject
*swig_obj
[1] ;
29759 if (!args
) SWIG_fail
;
29760 swig_obj
[0] = args
;
29761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29762 if (!SWIG_IsOK(res1
)) {
29763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29765 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29766 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
29767 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
29774 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29775 PyObject
*resultobj
= 0;
29776 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29777 wxColour
*arg2
= (wxColour
*) 0 ;
29781 PyObject
*swig_obj
[2] ;
29783 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
29784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29785 if (!SWIG_IsOK(res1
)) {
29786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29788 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29791 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
29793 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
29795 resultobj
= SWIG_Py_Void();
29802 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29803 PyObject
*resultobj
= 0;
29804 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29805 wxColour
*result
= 0 ;
29808 PyObject
*swig_obj
[1] ;
29810 if (!args
) SWIG_fail
;
29811 swig_obj
[0] = args
;
29812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29813 if (!SWIG_IsOK(res1
)) {
29814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29816 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29817 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
29818 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29825 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29826 PyObject
*resultobj
= 0;
29827 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29828 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
29833 PyObject
*swig_obj
[2] ;
29835 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
29836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29837 if (!SWIG_IsOK(res1
)) {
29838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29840 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29841 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
29842 if (!SWIG_IsOK(res2
)) {
29843 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
29845 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29846 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
29848 resultobj
= SWIG_Py_Void();
29855 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29856 PyObject
*resultobj
= 0;
29857 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29858 wxBitmap
*result
= 0 ;
29861 PyObject
*swig_obj
[1] ;
29863 if (!args
) SWIG_fail
;
29864 swig_obj
[0] = args
;
29865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29866 if (!SWIG_IsOK(res1
)) {
29867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29869 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29870 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
29871 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
29878 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29879 PyObject
*resultobj
= 0;
29880 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29886 PyObject
*swig_obj
[2] ;
29888 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
29889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29890 if (!SWIG_IsOK(res1
)) {
29891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29893 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29894 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
29895 if (!SWIG_IsOK(ecode2
)) {
29896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
29898 arg2
= static_cast< int >(val2
);
29899 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
29901 resultobj
= SWIG_Py_Void();
29908 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29909 PyObject
*resultobj
= 0;
29910 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29914 PyObject
*swig_obj
[1] ;
29916 if (!args
) SWIG_fail
;
29917 swig_obj
[0] = args
;
29918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29919 if (!SWIG_IsOK(res1
)) {
29920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29922 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29923 result
= (int) ((arg1
)->m_labelAlignment
);
29924 resultobj
= SWIG_From_int(static_cast< int >(result
));
29931 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29933 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29934 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
29935 return SWIG_Py_Void();
29938 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29939 return SWIG_Python_InitShadowInstance(args
);
29942 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29943 PyObject
*resultobj
= 0;
29946 wxRendererVersion
*result
= 0 ;
29951 PyObject
* obj0
= 0 ;
29952 PyObject
* obj1
= 0 ;
29953 char * kwnames
[] = {
29954 (char *) "version_",(char *) "age_", NULL
29957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29958 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29959 if (!SWIG_IsOK(ecode1
)) {
29960 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
29962 arg1
= static_cast< int >(val1
);
29963 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29964 if (!SWIG_IsOK(ecode2
)) {
29965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
29967 arg2
= static_cast< int >(val2
);
29969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29970 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
29971 wxPyEndAllowThreads(__tstate
);
29972 if (PyErr_Occurred()) SWIG_fail
;
29974 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
29981 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29982 PyObject
*resultobj
= 0;
29983 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
29986 PyObject
*swig_obj
[1] ;
29988 if (!args
) SWIG_fail
;
29989 swig_obj
[0] = args
;
29990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
29991 if (!SWIG_IsOK(res1
)) {
29992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
29994 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
29996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29999 wxPyEndAllowThreads(__tstate
);
30000 if (PyErr_Occurred()) SWIG_fail
;
30002 resultobj
= SWIG_Py_Void();
30009 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30010 PyObject
*resultobj
= 0;
30011 wxRendererVersion
*arg1
= 0 ;
30015 PyObject
* obj0
= 0 ;
30016 char * kwnames
[] = {
30017 (char *) "ver", NULL
30020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
30021 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
30022 if (!SWIG_IsOK(res1
)) {
30023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
30026 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
30028 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30031 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
30032 wxPyEndAllowThreads(__tstate
);
30033 if (PyErr_Occurred()) SWIG_fail
;
30036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30044 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30045 PyObject
*resultobj
= 0;
30046 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
30050 PyObject
*swig_obj
[1] ;
30052 if (!args
) SWIG_fail
;
30053 swig_obj
[0] = args
;
30054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
30055 if (!SWIG_IsOK(res1
)) {
30056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
30058 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30059 result
= (int)(int) ((arg1
)->version
);
30060 resultobj
= SWIG_From_int(static_cast< int >(result
));
30067 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30068 PyObject
*resultobj
= 0;
30069 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
30073 PyObject
*swig_obj
[1] ;
30075 if (!args
) SWIG_fail
;
30076 swig_obj
[0] = args
;
30077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
30078 if (!SWIG_IsOK(res1
)) {
30079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
30081 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30082 result
= (int)(int) ((arg1
)->age
);
30083 resultobj
= SWIG_From_int(static_cast< int >(result
));
30090 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30092 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30093 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
30094 return SWIG_Py_Void();
30097 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30098 return SWIG_Python_InitShadowInstance(args
);
30101 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30102 PyObject
*resultobj
= 0;
30103 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30104 wxWindow
*arg2
= (wxWindow
*) 0 ;
30107 int arg5
= (int) 0 ;
30108 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
30109 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
30123 PyObject
* obj0
= 0 ;
30124 PyObject
* obj1
= 0 ;
30125 PyObject
* obj2
= 0 ;
30126 PyObject
* obj3
= 0 ;
30127 PyObject
* obj4
= 0 ;
30128 PyObject
* obj5
= 0 ;
30129 PyObject
* obj6
= 0 ;
30130 char * kwnames
[] = {
30131 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
30134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30136 if (!SWIG_IsOK(res1
)) {
30137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30139 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30140 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30141 if (!SWIG_IsOK(res2
)) {
30142 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30144 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30145 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30146 if (!SWIG_IsOK(res3
)) {
30147 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
30150 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
30152 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30155 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30158 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30159 if (!SWIG_IsOK(ecode5
)) {
30160 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
30162 arg5
= static_cast< int >(val5
);
30165 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30166 if (!SWIG_IsOK(ecode6
)) {
30167 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
30169 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
30172 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30173 if (!SWIG_IsOK(res7
)) {
30174 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
30176 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
30179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30180 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
30181 wxPyEndAllowThreads(__tstate
);
30182 if (PyErr_Occurred()) SWIG_fail
;
30184 resultobj
= SWIG_Py_Void();
30191 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30192 PyObject
*resultobj
= 0;
30193 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30194 wxWindow
*arg2
= (wxWindow
*) 0 ;
30197 int arg5
= (int) 0 ;
30198 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
30199 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
30213 PyObject
* obj0
= 0 ;
30214 PyObject
* obj1
= 0 ;
30215 PyObject
* obj2
= 0 ;
30216 PyObject
* obj3
= 0 ;
30217 PyObject
* obj4
= 0 ;
30218 PyObject
* obj5
= 0 ;
30219 PyObject
* obj6
= 0 ;
30220 char * kwnames
[] = {
30221 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
30224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30226 if (!SWIG_IsOK(res1
)) {
30227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30229 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30230 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30231 if (!SWIG_IsOK(res2
)) {
30232 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
30234 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30235 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30236 if (!SWIG_IsOK(res3
)) {
30237 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
30240 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
30242 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30245 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30248 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30249 if (!SWIG_IsOK(ecode5
)) {
30250 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
30252 arg5
= static_cast< int >(val5
);
30255 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30256 if (!SWIG_IsOK(ecode6
)) {
30257 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
30259 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
30262 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30263 if (!SWIG_IsOK(res7
)) {
30264 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
30266 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
30269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30270 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
30271 wxPyEndAllowThreads(__tstate
);
30272 if (PyErr_Occurred()) SWIG_fail
;
30274 resultobj
= SWIG_Py_Void();
30281 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30282 PyObject
*resultobj
= 0;
30283 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30284 wxWindow
*arg2
= (wxWindow
*) 0 ;
30290 PyObject
* obj0
= 0 ;
30291 PyObject
* obj1
= 0 ;
30292 char * kwnames
[] = {
30293 (char *) "self",(char *) "win", NULL
30296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30298 if (!SWIG_IsOK(res1
)) {
30299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30301 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30302 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30303 if (!SWIG_IsOK(res2
)) {
30304 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
30306 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30309 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
30310 wxPyEndAllowThreads(__tstate
);
30311 if (PyErr_Occurred()) SWIG_fail
;
30313 resultobj
= SWIG_From_int(static_cast< int >(result
));
30320 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30321 PyObject
*resultobj
= 0;
30322 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30323 wxWindow
*arg2
= (wxWindow
*) 0 ;
30326 int arg5
= (int) 0 ;
30336 PyObject
* obj0
= 0 ;
30337 PyObject
* obj1
= 0 ;
30338 PyObject
* obj2
= 0 ;
30339 PyObject
* obj3
= 0 ;
30340 PyObject
* obj4
= 0 ;
30341 char * kwnames
[] = {
30342 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30347 if (!SWIG_IsOK(res1
)) {
30348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30350 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30351 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30352 if (!SWIG_IsOK(res2
)) {
30353 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30355 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30356 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30357 if (!SWIG_IsOK(res3
)) {
30358 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
30361 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
30363 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30366 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30369 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30370 if (!SWIG_IsOK(ecode5
)) {
30371 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
30373 arg5
= static_cast< int >(val5
);
30376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30377 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30378 wxPyEndAllowThreads(__tstate
);
30379 if (PyErr_Occurred()) SWIG_fail
;
30381 resultobj
= SWIG_Py_Void();
30388 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30389 PyObject
*resultobj
= 0;
30390 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30391 wxWindow
*arg2
= (wxWindow
*) 0 ;
30394 int arg5
= (int) 0 ;
30404 PyObject
* obj0
= 0 ;
30405 PyObject
* obj1
= 0 ;
30406 PyObject
* obj2
= 0 ;
30407 PyObject
* obj3
= 0 ;
30408 PyObject
* obj4
= 0 ;
30409 char * kwnames
[] = {
30410 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30415 if (!SWIG_IsOK(res1
)) {
30416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30418 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30419 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30420 if (!SWIG_IsOK(res2
)) {
30421 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
30423 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30424 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30425 if (!SWIG_IsOK(res3
)) {
30426 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
30429 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
30431 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30434 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30437 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30438 if (!SWIG_IsOK(ecode5
)) {
30439 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
30441 arg5
= static_cast< int >(val5
);
30444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30445 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30446 wxPyEndAllowThreads(__tstate
);
30447 if (PyErr_Occurred()) SWIG_fail
;
30449 resultobj
= SWIG_Py_Void();
30456 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30457 PyObject
*resultobj
= 0;
30458 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30459 wxWindow
*arg2
= (wxWindow
*) 0 ;
30463 wxOrientation arg6
;
30464 int arg7
= (int) 0 ;
30478 PyObject
* obj0
= 0 ;
30479 PyObject
* obj1
= 0 ;
30480 PyObject
* obj2
= 0 ;
30481 PyObject
* obj3
= 0 ;
30482 PyObject
* obj4
= 0 ;
30483 PyObject
* obj5
= 0 ;
30484 PyObject
* obj6
= 0 ;
30485 char * kwnames
[] = {
30486 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
30489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30491 if (!SWIG_IsOK(res1
)) {
30492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30494 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30495 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30496 if (!SWIG_IsOK(res2
)) {
30497 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
30499 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30500 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30501 if (!SWIG_IsOK(res3
)) {
30502 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
30505 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
30507 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30510 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30512 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30513 if (!SWIG_IsOK(ecode5
)) {
30514 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
30516 arg5
= static_cast< int >(val5
);
30517 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30518 if (!SWIG_IsOK(ecode6
)) {
30519 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
30521 arg6
= static_cast< wxOrientation
>(val6
);
30523 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
30524 if (!SWIG_IsOK(ecode7
)) {
30525 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
30527 arg7
= static_cast< int >(val7
);
30530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30531 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
30532 wxPyEndAllowThreads(__tstate
);
30533 if (PyErr_Occurred()) SWIG_fail
;
30535 resultobj
= SWIG_Py_Void();
30542 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30543 PyObject
*resultobj
= 0;
30544 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30545 wxWindow
*arg2
= (wxWindow
*) 0 ;
30548 int arg5
= (int) 0 ;
30558 PyObject
* obj0
= 0 ;
30559 PyObject
* obj1
= 0 ;
30560 PyObject
* obj2
= 0 ;
30561 PyObject
* obj3
= 0 ;
30562 PyObject
* obj4
= 0 ;
30563 char * kwnames
[] = {
30564 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30569 if (!SWIG_IsOK(res1
)) {
30570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30572 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30573 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30574 if (!SWIG_IsOK(res2
)) {
30575 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30577 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30578 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30579 if (!SWIG_IsOK(res3
)) {
30580 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
30583 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
30585 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30588 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30591 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30592 if (!SWIG_IsOK(ecode5
)) {
30593 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
30595 arg5
= static_cast< int >(val5
);
30598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30599 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30600 wxPyEndAllowThreads(__tstate
);
30601 if (PyErr_Occurred()) SWIG_fail
;
30603 resultobj
= SWIG_Py_Void();
30610 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30611 PyObject
*resultobj
= 0;
30612 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30613 wxWindow
*arg2
= (wxWindow
*) 0 ;
30616 int arg5
= (int) 0 ;
30626 PyObject
* obj0
= 0 ;
30627 PyObject
* obj1
= 0 ;
30628 PyObject
* obj2
= 0 ;
30629 PyObject
* obj3
= 0 ;
30630 PyObject
* obj4
= 0 ;
30631 char * kwnames
[] = {
30632 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30637 if (!SWIG_IsOK(res1
)) {
30638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30640 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30641 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30642 if (!SWIG_IsOK(res2
)) {
30643 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
30645 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30646 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30647 if (!SWIG_IsOK(res3
)) {
30648 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
30651 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
30653 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30656 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30659 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30660 if (!SWIG_IsOK(ecode5
)) {
30661 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
30663 arg5
= static_cast< int >(val5
);
30666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30667 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30668 wxPyEndAllowThreads(__tstate
);
30669 if (PyErr_Occurred()) SWIG_fail
;
30671 resultobj
= SWIG_Py_Void();
30678 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30679 PyObject
*resultobj
= 0;
30680 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30681 wxWindow
*arg2
= (wxWindow
*) 0 ;
30684 int arg5
= (int) 0 ;
30694 PyObject
* obj0
= 0 ;
30695 PyObject
* obj1
= 0 ;
30696 PyObject
* obj2
= 0 ;
30697 PyObject
* obj3
= 0 ;
30698 PyObject
* obj4
= 0 ;
30699 char * kwnames
[] = {
30700 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30705 if (!SWIG_IsOK(res1
)) {
30706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30708 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30709 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30710 if (!SWIG_IsOK(res2
)) {
30711 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
30713 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30714 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30715 if (!SWIG_IsOK(res3
)) {
30716 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
30719 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
30721 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30724 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30727 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30728 if (!SWIG_IsOK(ecode5
)) {
30729 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
30731 arg5
= static_cast< int >(val5
);
30734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30735 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30736 wxPyEndAllowThreads(__tstate
);
30737 if (PyErr_Occurred()) SWIG_fail
;
30739 resultobj
= SWIG_Py_Void();
30746 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30747 PyObject
*resultobj
= 0;
30748 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30749 wxWindow
*arg2
= (wxWindow
*) 0 ;
30752 int arg5
= (int) 0 ;
30762 PyObject
* obj0
= 0 ;
30763 PyObject
* obj1
= 0 ;
30764 PyObject
* obj2
= 0 ;
30765 PyObject
* obj3
= 0 ;
30766 PyObject
* obj4
= 0 ;
30767 char * kwnames
[] = {
30768 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30773 if (!SWIG_IsOK(res1
)) {
30774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30776 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30777 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30778 if (!SWIG_IsOK(res2
)) {
30779 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30781 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30782 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30783 if (!SWIG_IsOK(res3
)) {
30784 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
30787 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
30789 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30792 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30795 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30796 if (!SWIG_IsOK(ecode5
)) {
30797 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
30799 arg5
= static_cast< int >(val5
);
30802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30803 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30804 wxPyEndAllowThreads(__tstate
);
30805 if (PyErr_Occurred()) SWIG_fail
;
30807 resultobj
= SWIG_Py_Void();
30814 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30815 PyObject
*resultobj
= 0;
30816 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30817 wxWindow
*arg2
= (wxWindow
*) 0 ;
30820 int arg5
= (int) 0 ;
30830 PyObject
* obj0
= 0 ;
30831 PyObject
* obj1
= 0 ;
30832 PyObject
* obj2
= 0 ;
30833 PyObject
* obj3
= 0 ;
30834 PyObject
* obj4
= 0 ;
30835 char * kwnames
[] = {
30836 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30841 if (!SWIG_IsOK(res1
)) {
30842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30844 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30845 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30846 if (!SWIG_IsOK(res2
)) {
30847 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
30849 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30850 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30851 if (!SWIG_IsOK(res3
)) {
30852 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
30855 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
30857 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30860 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30863 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30864 if (!SWIG_IsOK(ecode5
)) {
30865 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
30867 arg5
= static_cast< int >(val5
);
30870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30871 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30872 wxPyEndAllowThreads(__tstate
);
30873 if (PyErr_Occurred()) SWIG_fail
;
30875 resultobj
= SWIG_Py_Void();
30882 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30883 PyObject
*resultobj
= 0;
30884 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30885 wxWindow
*arg2
= (wxWindow
*) 0 ;
30886 SwigValueWrapper
<wxSplitterRenderParams
> result
;
30891 PyObject
* obj0
= 0 ;
30892 PyObject
* obj1
= 0 ;
30893 char * kwnames
[] = {
30894 (char *) "self",(char *) "win", NULL
30897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30899 if (!SWIG_IsOK(res1
)) {
30900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30902 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30903 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30904 if (!SWIG_IsOK(res2
)) {
30905 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
30907 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30910 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
30911 wxPyEndAllowThreads(__tstate
);
30912 if (PyErr_Occurred()) SWIG_fail
;
30914 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
30921 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30922 PyObject
*resultobj
= 0;
30923 wxRendererNative
*result
= 0 ;
30925 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
30927 if (!wxPyCheckForApp()) SWIG_fail
;
30928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30930 wxRendererNative
&_result_ref
= wxRendererNative::Get();
30931 result
= (wxRendererNative
*) &_result_ref
;
30933 wxPyEndAllowThreads(__tstate
);
30934 if (PyErr_Occurred()) SWIG_fail
;
30936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30943 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30944 PyObject
*resultobj
= 0;
30945 wxRendererNative
*result
= 0 ;
30947 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
30949 if (!wxPyCheckForApp()) SWIG_fail
;
30950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30952 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
30953 result
= (wxRendererNative
*) &_result_ref
;
30955 wxPyEndAllowThreads(__tstate
);
30956 if (PyErr_Occurred()) SWIG_fail
;
30958 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30965 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30966 PyObject
*resultobj
= 0;
30967 wxRendererNative
*result
= 0 ;
30969 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
30971 if (!wxPyCheckForApp()) SWIG_fail
;
30972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30974 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
30975 result
= (wxRendererNative
*) &_result_ref
;
30977 wxPyEndAllowThreads(__tstate
);
30978 if (PyErr_Occurred()) SWIG_fail
;
30980 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30987 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30988 PyObject
*resultobj
= 0;
30989 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30990 wxRendererNative
*result
= 0 ;
30993 PyObject
* obj0
= 0 ;
30994 char * kwnames
[] = {
30995 (char *) "renderer", NULL
30998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
30999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31000 if (!SWIG_IsOK(res1
)) {
31001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31003 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31005 if (!wxPyCheckForApp()) SWIG_fail
;
31006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31007 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
31008 wxPyEndAllowThreads(__tstate
);
31009 if (PyErr_Occurred()) SWIG_fail
;
31011 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31018 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31019 PyObject
*resultobj
= 0;
31020 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31021 SwigValueWrapper
<wxRendererVersion
> result
;
31024 PyObject
*swig_obj
[1] ;
31026 if (!args
) SWIG_fail
;
31027 swig_obj
[0] = args
;
31028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31029 if (!SWIG_IsOK(res1
)) {
31030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
31032 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31035 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
31036 wxPyEndAllowThreads(__tstate
);
31037 if (PyErr_Occurred()) SWIG_fail
;
31039 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
31046 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31048 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31049 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
31050 return SWIG_Py_Void();
31053 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31054 PyObject
*resultobj
= 0;
31055 wxPseudoDC
*result
= 0 ;
31057 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
31059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31060 result
= (wxPseudoDC
*)new wxPseudoDC();
31061 wxPyEndAllowThreads(__tstate
);
31062 if (PyErr_Occurred()) SWIG_fail
;
31064 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
31071 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31072 PyObject
*resultobj
= 0;
31073 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31076 PyObject
*swig_obj
[1] ;
31078 if (!args
) SWIG_fail
;
31079 swig_obj
[0] = args
;
31080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31081 if (!SWIG_IsOK(res1
)) {
31082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31084 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31087 (arg1
)->BeginDrawing();
31088 wxPyEndAllowThreads(__tstate
);
31089 if (PyErr_Occurred()) SWIG_fail
;
31091 resultobj
= SWIG_Py_Void();
31098 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31099 PyObject
*resultobj
= 0;
31100 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31103 PyObject
*swig_obj
[1] ;
31105 if (!args
) SWIG_fail
;
31106 swig_obj
[0] = args
;
31107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31108 if (!SWIG_IsOK(res1
)) {
31109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31111 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31114 (arg1
)->EndDrawing();
31115 wxPyEndAllowThreads(__tstate
);
31116 if (PyErr_Occurred()) SWIG_fail
;
31118 resultobj
= SWIG_Py_Void();
31125 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31126 PyObject
*resultobj
= 0;
31127 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31130 PyObject
*swig_obj
[1] ;
31132 if (!args
) SWIG_fail
;
31133 swig_obj
[0] = args
;
31134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
31135 if (!SWIG_IsOK(res1
)) {
31136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31138 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31143 wxPyEndAllowThreads(__tstate
);
31144 if (PyErr_Occurred()) SWIG_fail
;
31146 resultobj
= SWIG_Py_Void();
31153 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31154 PyObject
*resultobj
= 0;
31155 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31158 PyObject
*swig_obj
[1] ;
31160 if (!args
) SWIG_fail
;
31161 swig_obj
[0] = args
;
31162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31163 if (!SWIG_IsOK(res1
)) {
31164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31166 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31169 (arg1
)->RemoveAll();
31170 wxPyEndAllowThreads(__tstate
);
31171 if (PyErr_Occurred()) SWIG_fail
;
31173 resultobj
= SWIG_Py_Void();
31180 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31181 PyObject
*resultobj
= 0;
31182 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31186 PyObject
*swig_obj
[1] ;
31188 if (!args
) SWIG_fail
;
31189 swig_obj
[0] = args
;
31190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31191 if (!SWIG_IsOK(res1
)) {
31192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31194 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31197 result
= (int)(arg1
)->GetLen();
31198 wxPyEndAllowThreads(__tstate
);
31199 if (PyErr_Occurred()) SWIG_fail
;
31201 resultobj
= SWIG_From_int(static_cast< int >(result
));
31208 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31209 PyObject
*resultobj
= 0;
31210 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31216 PyObject
* obj0
= 0 ;
31217 PyObject
* obj1
= 0 ;
31218 char * kwnames
[] = {
31219 (char *) "self",(char *) "id", NULL
31222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31224 if (!SWIG_IsOK(res1
)) {
31225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31227 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31228 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31229 if (!SWIG_IsOK(ecode2
)) {
31230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
31232 arg2
= static_cast< int >(val2
);
31234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31235 (arg1
)->SetId(arg2
);
31236 wxPyEndAllowThreads(__tstate
);
31237 if (PyErr_Occurred()) SWIG_fail
;
31239 resultobj
= SWIG_Py_Void();
31246 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31247 PyObject
*resultobj
= 0;
31248 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31254 PyObject
* obj0
= 0 ;
31255 PyObject
* obj1
= 0 ;
31256 char * kwnames
[] = {
31257 (char *) "self",(char *) "id", NULL
31260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31262 if (!SWIG_IsOK(res1
)) {
31263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31265 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31266 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31267 if (!SWIG_IsOK(ecode2
)) {
31268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
31270 arg2
= static_cast< int >(val2
);
31272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31273 (arg1
)->ClearId(arg2
);
31274 wxPyEndAllowThreads(__tstate
);
31275 if (PyErr_Occurred()) SWIG_fail
;
31277 resultobj
= SWIG_Py_Void();
31284 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31285 PyObject
*resultobj
= 0;
31286 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31292 PyObject
* obj0
= 0 ;
31293 PyObject
* obj1
= 0 ;
31294 char * kwnames
[] = {
31295 (char *) "self",(char *) "id", NULL
31298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31300 if (!SWIG_IsOK(res1
)) {
31301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31303 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31304 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31305 if (!SWIG_IsOK(ecode2
)) {
31306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
31308 arg2
= static_cast< int >(val2
);
31310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31311 (arg1
)->RemoveId(arg2
);
31312 wxPyEndAllowThreads(__tstate
);
31313 if (PyErr_Occurred()) SWIG_fail
;
31315 resultobj
= SWIG_Py_Void();
31322 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31323 PyObject
*resultobj
= 0;
31324 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31336 PyObject
* obj0
= 0 ;
31337 PyObject
* obj1
= 0 ;
31338 PyObject
* obj2
= 0 ;
31339 PyObject
* obj3
= 0 ;
31340 char * kwnames
[] = {
31341 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
31344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31346 if (!SWIG_IsOK(res1
)) {
31347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31349 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31350 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31351 if (!SWIG_IsOK(ecode2
)) {
31352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
31354 arg2
= static_cast< int >(val2
);
31355 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31356 if (!SWIG_IsOK(ecode3
)) {
31357 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
31359 arg3
= static_cast< int >(val3
);
31360 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31361 if (!SWIG_IsOK(ecode4
)) {
31362 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
31364 arg4
= static_cast< int >(val4
);
31366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31367 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
31368 wxPyEndAllowThreads(__tstate
);
31369 if (PyErr_Occurred()) SWIG_fail
;
31371 resultobj
= SWIG_Py_Void();
31378 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31379 PyObject
*resultobj
= 0;
31380 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31382 bool arg3
= (bool) true ;
31389 PyObject
* obj0
= 0 ;
31390 PyObject
* obj1
= 0 ;
31391 PyObject
* obj2
= 0 ;
31392 char * kwnames
[] = {
31393 (char *) "self",(char *) "id",(char *) "greyout", NULL
31396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31398 if (!SWIG_IsOK(res1
)) {
31399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31401 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31403 if (!SWIG_IsOK(ecode2
)) {
31404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
31406 arg2
= static_cast< int >(val2
);
31408 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31409 if (!SWIG_IsOK(ecode3
)) {
31410 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
31412 arg3
= static_cast< bool >(val3
);
31415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31416 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
31417 wxPyEndAllowThreads(__tstate
);
31418 if (PyErr_Occurred()) SWIG_fail
;
31420 resultobj
= SWIG_Py_Void();
31427 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31428 PyObject
*resultobj
= 0;
31429 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31436 PyObject
* obj0
= 0 ;
31437 PyObject
* obj1
= 0 ;
31438 char * kwnames
[] = {
31439 (char *) "self",(char *) "id", NULL
31442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31444 if (!SWIG_IsOK(res1
)) {
31445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31447 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31448 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31449 if (!SWIG_IsOK(ecode2
)) {
31450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
31452 arg2
= static_cast< int >(val2
);
31454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31455 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
31456 wxPyEndAllowThreads(__tstate
);
31457 if (PyErr_Occurred()) SWIG_fail
;
31460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31468 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31469 PyObject
*resultobj
= 0;
31470 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31473 int arg4
= (int) 1 ;
31474 wxColor
const &arg5_defvalue
= *wxWHITE
;
31475 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
31476 PyObject
*result
= 0 ;
31487 PyObject
* obj0
= 0 ;
31488 PyObject
* obj1
= 0 ;
31489 PyObject
* obj2
= 0 ;
31490 PyObject
* obj3
= 0 ;
31491 PyObject
* obj4
= 0 ;
31492 char * kwnames
[] = {
31493 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
31496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31498 if (!SWIG_IsOK(res1
)) {
31499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31501 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31503 if (!SWIG_IsOK(ecode2
)) {
31504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
31506 arg2
= static_cast< int >(val2
);
31507 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31508 if (!SWIG_IsOK(ecode3
)) {
31509 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
31511 arg3
= static_cast< int >(val3
);
31513 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31514 if (!SWIG_IsOK(ecode4
)) {
31515 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
31517 arg4
= static_cast< int >(val4
);
31520 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
31521 if (!SWIG_IsOK(res5
)) {
31522 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
31525 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
31527 arg5
= reinterpret_cast< wxColor
* >(argp5
);
31530 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
31531 if (PyErr_Occurred()) SWIG_fail
;
31533 resultobj
= result
;
31540 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31541 PyObject
*resultobj
= 0;
31542 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31545 PyObject
*result
= 0 ;
31552 PyObject
* obj0
= 0 ;
31553 PyObject
* obj1
= 0 ;
31554 PyObject
* obj2
= 0 ;
31555 char * kwnames
[] = {
31556 (char *) "self",(char *) "x",(char *) "y", NULL
31559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31561 if (!SWIG_IsOK(res1
)) {
31562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31564 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31565 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31566 if (!SWIG_IsOK(ecode2
)) {
31567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
31569 arg2
= static_cast< int >(val2
);
31570 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31571 if (!SWIG_IsOK(ecode3
)) {
31572 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
31574 arg3
= static_cast< int >(val3
);
31576 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
31577 if (PyErr_Occurred()) SWIG_fail
;
31579 resultobj
= result
;
31586 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31587 PyObject
*resultobj
= 0;
31588 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31590 wxDC
*arg3
= (wxDC
*) 0 ;
31597 PyObject
* obj0
= 0 ;
31598 PyObject
* obj1
= 0 ;
31599 PyObject
* obj2
= 0 ;
31600 char * kwnames
[] = {
31601 (char *) "self",(char *) "id",(char *) "dc", NULL
31604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31606 if (!SWIG_IsOK(res1
)) {
31607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31609 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31610 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31611 if (!SWIG_IsOK(ecode2
)) {
31612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
31614 arg2
= static_cast< int >(val2
);
31615 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
31616 if (!SWIG_IsOK(res3
)) {
31617 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
31619 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31622 (arg1
)->DrawIdToDC(arg2
,arg3
);
31623 wxPyEndAllowThreads(__tstate
);
31624 if (PyErr_Occurred()) SWIG_fail
;
31626 resultobj
= SWIG_Py_Void();
31633 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31634 PyObject
*resultobj
= 0;
31635 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31643 PyObject
* obj0
= 0 ;
31644 PyObject
* obj1
= 0 ;
31645 PyObject
* obj2
= 0 ;
31646 char * kwnames
[] = {
31647 (char *) "self",(char *) "id",(char *) "rect", NULL
31650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31652 if (!SWIG_IsOK(res1
)) {
31653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31655 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31656 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31657 if (!SWIG_IsOK(ecode2
)) {
31658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
31660 arg2
= static_cast< int >(val2
);
31663 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
31666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31667 (arg1
)->SetIdBounds(arg2
,*arg3
);
31668 wxPyEndAllowThreads(__tstate
);
31669 if (PyErr_Occurred()) SWIG_fail
;
31671 resultobj
= SWIG_Py_Void();
31678 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31679 PyObject
*resultobj
= 0;
31680 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31687 PyObject
* obj0
= 0 ;
31688 PyObject
* obj1
= 0 ;
31689 char * kwnames
[] = {
31690 (char *) "self",(char *) "id", NULL
31693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31695 if (!SWIG_IsOK(res1
)) {
31696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31698 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31699 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31700 if (!SWIG_IsOK(ecode2
)) {
31701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
31703 arg2
= static_cast< int >(val2
);
31705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31706 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
31707 wxPyEndAllowThreads(__tstate
);
31708 if (PyErr_Occurred()) SWIG_fail
;
31710 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
31717 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31718 PyObject
*resultobj
= 0;
31719 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31720 wxDC
*arg2
= (wxDC
*) 0 ;
31727 PyObject
* obj0
= 0 ;
31728 PyObject
* obj1
= 0 ;
31729 PyObject
* obj2
= 0 ;
31730 char * kwnames
[] = {
31731 (char *) "self",(char *) "dc",(char *) "rect", NULL
31734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31736 if (!SWIG_IsOK(res1
)) {
31737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31739 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31740 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
31741 if (!SWIG_IsOK(res2
)) {
31742 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
31744 arg2
= reinterpret_cast< wxDC
* >(argp2
);
31747 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
31750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31751 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
31752 wxPyEndAllowThreads(__tstate
);
31753 if (PyErr_Occurred()) SWIG_fail
;
31755 resultobj
= SWIG_Py_Void();
31762 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31763 PyObject
*resultobj
= 0;
31764 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31765 wxDC
*arg2
= (wxDC
*) 0 ;
31766 wxRegion
*arg3
= 0 ;
31773 PyObject
* obj0
= 0 ;
31774 PyObject
* obj1
= 0 ;
31775 PyObject
* obj2
= 0 ;
31776 char * kwnames
[] = {
31777 (char *) "self",(char *) "dc",(char *) "region", NULL
31780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31782 if (!SWIG_IsOK(res1
)) {
31783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31785 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31786 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
31787 if (!SWIG_IsOK(res2
)) {
31788 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
31790 arg2
= reinterpret_cast< wxDC
* >(argp2
);
31791 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
31792 if (!SWIG_IsOK(res3
)) {
31793 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
31796 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
31798 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
31800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31801 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
31802 wxPyEndAllowThreads(__tstate
);
31803 if (PyErr_Occurred()) SWIG_fail
;
31805 resultobj
= SWIG_Py_Void();
31812 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31813 PyObject
*resultobj
= 0;
31814 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31815 wxDC
*arg2
= (wxDC
*) 0 ;
31820 PyObject
* obj0
= 0 ;
31821 PyObject
* obj1
= 0 ;
31822 char * kwnames
[] = {
31823 (char *) "self",(char *) "dc", NULL
31826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31828 if (!SWIG_IsOK(res1
)) {
31829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31831 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31832 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
31833 if (!SWIG_IsOK(res2
)) {
31834 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
31836 arg2
= reinterpret_cast< wxDC
* >(argp2
);
31838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31839 (arg1
)->DrawToDC(arg2
);
31840 wxPyEndAllowThreads(__tstate
);
31841 if (PyErr_Occurred()) SWIG_fail
;
31843 resultobj
= SWIG_Py_Void();
31850 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31851 PyObject
*resultobj
= 0;
31852 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31855 wxColour
*arg4
= 0 ;
31856 int arg5
= (int) wxFLOOD_SURFACE
;
31866 PyObject
* obj0
= 0 ;
31867 PyObject
* obj1
= 0 ;
31868 PyObject
* obj2
= 0 ;
31869 PyObject
* obj3
= 0 ;
31870 PyObject
* obj4
= 0 ;
31871 char * kwnames
[] = {
31872 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
31875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31877 if (!SWIG_IsOK(res1
)) {
31878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31880 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31882 if (!SWIG_IsOK(ecode2
)) {
31883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
31885 arg2
= static_cast< int >(val2
);
31886 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31887 if (!SWIG_IsOK(ecode3
)) {
31888 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
31890 arg3
= static_cast< int >(val3
);
31893 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
31896 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31897 if (!SWIG_IsOK(ecode5
)) {
31898 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
31900 arg5
= static_cast< int >(val5
);
31903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31904 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
31905 wxPyEndAllowThreads(__tstate
);
31906 if (PyErr_Occurred()) SWIG_fail
;
31908 resultobj
= SWIG_Py_Void();
31915 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31916 PyObject
*resultobj
= 0;
31917 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31918 wxPoint
*arg2
= 0 ;
31919 wxColour
*arg3
= 0 ;
31920 int arg4
= (int) wxFLOOD_SURFACE
;
31927 PyObject
* obj0
= 0 ;
31928 PyObject
* obj1
= 0 ;
31929 PyObject
* obj2
= 0 ;
31930 PyObject
* obj3
= 0 ;
31931 char * kwnames
[] = {
31932 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
31935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31937 if (!SWIG_IsOK(res1
)) {
31938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31940 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31943 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31947 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31950 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31951 if (!SWIG_IsOK(ecode4
)) {
31952 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
31954 arg4
= static_cast< int >(val4
);
31957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31958 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
31959 wxPyEndAllowThreads(__tstate
);
31960 if (PyErr_Occurred()) SWIG_fail
;
31962 resultobj
= SWIG_Py_Void();
31969 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31970 PyObject
*resultobj
= 0;
31971 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31986 PyObject
* obj0
= 0 ;
31987 PyObject
* obj1
= 0 ;
31988 PyObject
* obj2
= 0 ;
31989 PyObject
* obj3
= 0 ;
31990 PyObject
* obj4
= 0 ;
31991 char * kwnames
[] = {
31992 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
31995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31997 if (!SWIG_IsOK(res1
)) {
31998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32000 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32001 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32002 if (!SWIG_IsOK(ecode2
)) {
32003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
32005 arg2
= static_cast< int >(val2
);
32006 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32007 if (!SWIG_IsOK(ecode3
)) {
32008 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
32010 arg3
= static_cast< int >(val3
);
32011 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32012 if (!SWIG_IsOK(ecode4
)) {
32013 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
32015 arg4
= static_cast< int >(val4
);
32016 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32017 if (!SWIG_IsOK(ecode5
)) {
32018 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
32020 arg5
= static_cast< int >(val5
);
32022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32023 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
32024 wxPyEndAllowThreads(__tstate
);
32025 if (PyErr_Occurred()) SWIG_fail
;
32027 resultobj
= SWIG_Py_Void();
32034 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32035 PyObject
*resultobj
= 0;
32036 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32037 wxPoint
*arg2
= 0 ;
32038 wxPoint
*arg3
= 0 ;
32043 PyObject
* obj0
= 0 ;
32044 PyObject
* obj1
= 0 ;
32045 PyObject
* obj2
= 0 ;
32046 char * kwnames
[] = {
32047 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
32050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32052 if (!SWIG_IsOK(res1
)) {
32053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32055 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32058 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32062 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32066 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
32067 wxPyEndAllowThreads(__tstate
);
32068 if (PyErr_Occurred()) SWIG_fail
;
32070 resultobj
= SWIG_Py_Void();
32077 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32078 PyObject
*resultobj
= 0;
32079 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32088 PyObject
* obj0
= 0 ;
32089 PyObject
* obj1
= 0 ;
32090 PyObject
* obj2
= 0 ;
32091 char * kwnames
[] = {
32092 (char *) "self",(char *) "x",(char *) "y", NULL
32095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32097 if (!SWIG_IsOK(res1
)) {
32098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32100 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32101 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32102 if (!SWIG_IsOK(ecode2
)) {
32103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
32105 arg2
= static_cast< int >(val2
);
32106 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32107 if (!SWIG_IsOK(ecode3
)) {
32108 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
32110 arg3
= static_cast< int >(val3
);
32112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32113 (arg1
)->CrossHair(arg2
,arg3
);
32114 wxPyEndAllowThreads(__tstate
);
32115 if (PyErr_Occurred()) SWIG_fail
;
32117 resultobj
= SWIG_Py_Void();
32124 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32125 PyObject
*resultobj
= 0;
32126 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32127 wxPoint
*arg2
= 0 ;
32131 PyObject
* obj0
= 0 ;
32132 PyObject
* obj1
= 0 ;
32133 char * kwnames
[] = {
32134 (char *) "self",(char *) "pt", NULL
32137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32139 if (!SWIG_IsOK(res1
)) {
32140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32142 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32145 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32149 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
32150 wxPyEndAllowThreads(__tstate
);
32151 if (PyErr_Occurred()) SWIG_fail
;
32153 resultobj
= SWIG_Py_Void();
32160 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32161 PyObject
*resultobj
= 0;
32162 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32183 PyObject
* obj0
= 0 ;
32184 PyObject
* obj1
= 0 ;
32185 PyObject
* obj2
= 0 ;
32186 PyObject
* obj3
= 0 ;
32187 PyObject
* obj4
= 0 ;
32188 PyObject
* obj5
= 0 ;
32189 PyObject
* obj6
= 0 ;
32190 char * kwnames
[] = {
32191 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
32194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32196 if (!SWIG_IsOK(res1
)) {
32197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32199 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32200 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32201 if (!SWIG_IsOK(ecode2
)) {
32202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
32204 arg2
= static_cast< int >(val2
);
32205 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32206 if (!SWIG_IsOK(ecode3
)) {
32207 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
32209 arg3
= static_cast< int >(val3
);
32210 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32211 if (!SWIG_IsOK(ecode4
)) {
32212 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
32214 arg4
= static_cast< int >(val4
);
32215 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32216 if (!SWIG_IsOK(ecode5
)) {
32217 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
32219 arg5
= static_cast< int >(val5
);
32220 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
32221 if (!SWIG_IsOK(ecode6
)) {
32222 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
32224 arg6
= static_cast< int >(val6
);
32225 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
32226 if (!SWIG_IsOK(ecode7
)) {
32227 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
32229 arg7
= static_cast< int >(val7
);
32231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32232 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
32233 wxPyEndAllowThreads(__tstate
);
32234 if (PyErr_Occurred()) SWIG_fail
;
32236 resultobj
= SWIG_Py_Void();
32243 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32244 PyObject
*resultobj
= 0;
32245 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32246 wxPoint
*arg2
= 0 ;
32247 wxPoint
*arg3
= 0 ;
32248 wxPoint
*arg4
= 0 ;
32254 PyObject
* obj0
= 0 ;
32255 PyObject
* obj1
= 0 ;
32256 PyObject
* obj2
= 0 ;
32257 PyObject
* obj3
= 0 ;
32258 char * kwnames
[] = {
32259 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
32262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32264 if (!SWIG_IsOK(res1
)) {
32265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32267 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32270 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32274 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32278 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32282 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
32283 wxPyEndAllowThreads(__tstate
);
32284 if (PyErr_Occurred()) SWIG_fail
;
32286 resultobj
= SWIG_Py_Void();
32293 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32294 PyObject
*resultobj
= 0;
32295 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32310 PyObject
* obj0
= 0 ;
32311 PyObject
* obj1
= 0 ;
32312 PyObject
* obj2
= 0 ;
32313 PyObject
* obj3
= 0 ;
32314 PyObject
* obj4
= 0 ;
32315 char * kwnames
[] = {
32316 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32321 if (!SWIG_IsOK(res1
)) {
32322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32324 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32325 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32326 if (!SWIG_IsOK(ecode2
)) {
32327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
32329 arg2
= static_cast< int >(val2
);
32330 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32331 if (!SWIG_IsOK(ecode3
)) {
32332 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
32334 arg3
= static_cast< int >(val3
);
32335 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32336 if (!SWIG_IsOK(ecode4
)) {
32337 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
32339 arg4
= static_cast< int >(val4
);
32340 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32341 if (!SWIG_IsOK(ecode5
)) {
32342 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
32344 arg5
= static_cast< int >(val5
);
32346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32347 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
32348 wxPyEndAllowThreads(__tstate
);
32349 if (PyErr_Occurred()) SWIG_fail
;
32351 resultobj
= SWIG_Py_Void();
32358 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32359 PyObject
*resultobj
= 0;
32360 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32365 PyObject
* obj0
= 0 ;
32366 PyObject
* obj1
= 0 ;
32367 char * kwnames
[] = {
32368 (char *) "self",(char *) "rect", NULL
32371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32373 if (!SWIG_IsOK(res1
)) {
32374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32376 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32379 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32383 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
32384 wxPyEndAllowThreads(__tstate
);
32385 if (PyErr_Occurred()) SWIG_fail
;
32387 resultobj
= SWIG_Py_Void();
32394 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32395 PyObject
*resultobj
= 0;
32396 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32417 PyObject
* obj0
= 0 ;
32418 PyObject
* obj1
= 0 ;
32419 PyObject
* obj2
= 0 ;
32420 PyObject
* obj3
= 0 ;
32421 PyObject
* obj4
= 0 ;
32422 PyObject
* obj5
= 0 ;
32423 PyObject
* obj6
= 0 ;
32424 char * kwnames
[] = {
32425 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
32428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32430 if (!SWIG_IsOK(res1
)) {
32431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32433 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32435 if (!SWIG_IsOK(ecode2
)) {
32436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
32438 arg2
= static_cast< int >(val2
);
32439 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32440 if (!SWIG_IsOK(ecode3
)) {
32441 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
32443 arg3
= static_cast< int >(val3
);
32444 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32445 if (!SWIG_IsOK(ecode4
)) {
32446 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
32448 arg4
= static_cast< int >(val4
);
32449 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32450 if (!SWIG_IsOK(ecode5
)) {
32451 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
32453 arg5
= static_cast< int >(val5
);
32454 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
32455 if (!SWIG_IsOK(ecode6
)) {
32456 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
32458 arg6
= static_cast< double >(val6
);
32459 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
32460 if (!SWIG_IsOK(ecode7
)) {
32461 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
32463 arg7
= static_cast< double >(val7
);
32465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32466 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
32467 wxPyEndAllowThreads(__tstate
);
32468 if (PyErr_Occurred()) SWIG_fail
;
32470 resultobj
= SWIG_Py_Void();
32477 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32478 PyObject
*resultobj
= 0;
32479 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32480 wxPoint
*arg2
= 0 ;
32492 PyObject
* obj0
= 0 ;
32493 PyObject
* obj1
= 0 ;
32494 PyObject
* obj2
= 0 ;
32495 PyObject
* obj3
= 0 ;
32496 PyObject
* obj4
= 0 ;
32497 char * kwnames
[] = {
32498 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
32501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32503 if (!SWIG_IsOK(res1
)) {
32504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32506 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32509 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32513 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32515 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
32516 if (!SWIG_IsOK(ecode4
)) {
32517 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
32519 arg4
= static_cast< double >(val4
);
32520 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
32521 if (!SWIG_IsOK(ecode5
)) {
32522 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
32524 arg5
= static_cast< double >(val5
);
32526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32527 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
32528 wxPyEndAllowThreads(__tstate
);
32529 if (PyErr_Occurred()) SWIG_fail
;
32531 resultobj
= SWIG_Py_Void();
32538 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32539 PyObject
*resultobj
= 0;
32540 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32549 PyObject
* obj0
= 0 ;
32550 PyObject
* obj1
= 0 ;
32551 PyObject
* obj2
= 0 ;
32552 char * kwnames
[] = {
32553 (char *) "self",(char *) "x",(char *) "y", NULL
32556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32558 if (!SWIG_IsOK(res1
)) {
32559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32561 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32562 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32563 if (!SWIG_IsOK(ecode2
)) {
32564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
32566 arg2
= static_cast< int >(val2
);
32567 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32568 if (!SWIG_IsOK(ecode3
)) {
32569 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
32571 arg3
= static_cast< int >(val3
);
32573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32574 (arg1
)->DrawPoint(arg2
,arg3
);
32575 wxPyEndAllowThreads(__tstate
);
32576 if (PyErr_Occurred()) SWIG_fail
;
32578 resultobj
= SWIG_Py_Void();
32585 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32586 PyObject
*resultobj
= 0;
32587 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32588 wxPoint
*arg2
= 0 ;
32592 PyObject
* obj0
= 0 ;
32593 PyObject
* obj1
= 0 ;
32594 char * kwnames
[] = {
32595 (char *) "self",(char *) "pt", NULL
32598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32600 if (!SWIG_IsOK(res1
)) {
32601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32603 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32606 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32610 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
32611 wxPyEndAllowThreads(__tstate
);
32612 if (PyErr_Occurred()) SWIG_fail
;
32614 resultobj
= SWIG_Py_Void();
32621 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32622 PyObject
*resultobj
= 0;
32623 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32638 PyObject
* obj0
= 0 ;
32639 PyObject
* obj1
= 0 ;
32640 PyObject
* obj2
= 0 ;
32641 PyObject
* obj3
= 0 ;
32642 PyObject
* obj4
= 0 ;
32643 char * kwnames
[] = {
32644 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32649 if (!SWIG_IsOK(res1
)) {
32650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32652 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32653 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32654 if (!SWIG_IsOK(ecode2
)) {
32655 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
32657 arg2
= static_cast< int >(val2
);
32658 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32659 if (!SWIG_IsOK(ecode3
)) {
32660 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
32662 arg3
= static_cast< int >(val3
);
32663 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32664 if (!SWIG_IsOK(ecode4
)) {
32665 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
32667 arg4
= static_cast< int >(val4
);
32668 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32669 if (!SWIG_IsOK(ecode5
)) {
32670 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
32672 arg5
= static_cast< int >(val5
);
32674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32675 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
32676 wxPyEndAllowThreads(__tstate
);
32677 if (PyErr_Occurred()) SWIG_fail
;
32679 resultobj
= SWIG_Py_Void();
32686 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32687 PyObject
*resultobj
= 0;
32688 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32693 PyObject
* obj0
= 0 ;
32694 PyObject
* obj1
= 0 ;
32695 char * kwnames
[] = {
32696 (char *) "self",(char *) "rect", NULL
32699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32701 if (!SWIG_IsOK(res1
)) {
32702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32704 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32707 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32711 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
32712 wxPyEndAllowThreads(__tstate
);
32713 if (PyErr_Occurred()) SWIG_fail
;
32715 resultobj
= SWIG_Py_Void();
32722 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32723 PyObject
*resultobj
= 0;
32724 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32725 wxPoint
*arg2
= 0 ;
32731 PyObject
* obj0
= 0 ;
32732 PyObject
* obj1
= 0 ;
32733 PyObject
* obj2
= 0 ;
32734 char * kwnames
[] = {
32735 (char *) "self",(char *) "pt",(char *) "sz", NULL
32738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32740 if (!SWIG_IsOK(res1
)) {
32741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32743 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32746 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32750 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32754 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
32755 wxPyEndAllowThreads(__tstate
);
32756 if (PyErr_Occurred()) SWIG_fail
;
32758 resultobj
= SWIG_Py_Void();
32765 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32766 PyObject
*resultobj
= 0;
32767 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32785 PyObject
* obj0
= 0 ;
32786 PyObject
* obj1
= 0 ;
32787 PyObject
* obj2
= 0 ;
32788 PyObject
* obj3
= 0 ;
32789 PyObject
* obj4
= 0 ;
32790 PyObject
* obj5
= 0 ;
32791 char * kwnames
[] = {
32792 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
32795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
32796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32797 if (!SWIG_IsOK(res1
)) {
32798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32800 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32801 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32802 if (!SWIG_IsOK(ecode2
)) {
32803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
32805 arg2
= static_cast< int >(val2
);
32806 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32807 if (!SWIG_IsOK(ecode3
)) {
32808 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
32810 arg3
= static_cast< int >(val3
);
32811 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32812 if (!SWIG_IsOK(ecode4
)) {
32813 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
32815 arg4
= static_cast< int >(val4
);
32816 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32817 if (!SWIG_IsOK(ecode5
)) {
32818 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
32820 arg5
= static_cast< int >(val5
);
32821 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
32822 if (!SWIG_IsOK(ecode6
)) {
32823 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
32825 arg6
= static_cast< double >(val6
);
32827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32828 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
32829 wxPyEndAllowThreads(__tstate
);
32830 if (PyErr_Occurred()) SWIG_fail
;
32832 resultobj
= SWIG_Py_Void();
32839 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32840 PyObject
*resultobj
= 0;
32841 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32849 PyObject
* obj0
= 0 ;
32850 PyObject
* obj1
= 0 ;
32851 PyObject
* obj2
= 0 ;
32852 char * kwnames
[] = {
32853 (char *) "self",(char *) "r",(char *) "radius", NULL
32856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32858 if (!SWIG_IsOK(res1
)) {
32859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32861 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32864 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32866 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
32867 if (!SWIG_IsOK(ecode3
)) {
32868 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
32870 arg3
= static_cast< double >(val3
);
32872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32873 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
32874 wxPyEndAllowThreads(__tstate
);
32875 if (PyErr_Occurred()) SWIG_fail
;
32877 resultobj
= SWIG_Py_Void();
32884 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32885 PyObject
*resultobj
= 0;
32886 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32887 wxPoint
*arg2
= 0 ;
32896 PyObject
* obj0
= 0 ;
32897 PyObject
* obj1
= 0 ;
32898 PyObject
* obj2
= 0 ;
32899 PyObject
* obj3
= 0 ;
32900 char * kwnames
[] = {
32901 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
32904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32906 if (!SWIG_IsOK(res1
)) {
32907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32909 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32912 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32916 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32918 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
32919 if (!SWIG_IsOK(ecode4
)) {
32920 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
32922 arg4
= static_cast< double >(val4
);
32924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32925 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
32926 wxPyEndAllowThreads(__tstate
);
32927 if (PyErr_Occurred()) SWIG_fail
;
32929 resultobj
= SWIG_Py_Void();
32936 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32937 PyObject
*resultobj
= 0;
32938 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32950 PyObject
* obj0
= 0 ;
32951 PyObject
* obj1
= 0 ;
32952 PyObject
* obj2
= 0 ;
32953 PyObject
* obj3
= 0 ;
32954 char * kwnames
[] = {
32955 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
32958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32960 if (!SWIG_IsOK(res1
)) {
32961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32963 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32964 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32965 if (!SWIG_IsOK(ecode2
)) {
32966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
32968 arg2
= static_cast< int >(val2
);
32969 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32970 if (!SWIG_IsOK(ecode3
)) {
32971 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
32973 arg3
= static_cast< int >(val3
);
32974 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32975 if (!SWIG_IsOK(ecode4
)) {
32976 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
32978 arg4
= static_cast< int >(val4
);
32980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32981 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
32982 wxPyEndAllowThreads(__tstate
);
32983 if (PyErr_Occurred()) SWIG_fail
;
32985 resultobj
= SWIG_Py_Void();
32992 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32993 PyObject
*resultobj
= 0;
32994 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32995 wxPoint
*arg2
= 0 ;
33002 PyObject
* obj0
= 0 ;
33003 PyObject
* obj1
= 0 ;
33004 PyObject
* obj2
= 0 ;
33005 char * kwnames
[] = {
33006 (char *) "self",(char *) "pt",(char *) "radius", NULL
33009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33011 if (!SWIG_IsOK(res1
)) {
33012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33014 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33017 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33019 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33020 if (!SWIG_IsOK(ecode3
)) {
33021 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
33023 arg3
= static_cast< int >(val3
);
33025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33026 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
33027 wxPyEndAllowThreads(__tstate
);
33028 if (PyErr_Occurred()) SWIG_fail
;
33030 resultobj
= SWIG_Py_Void();
33037 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33038 PyObject
*resultobj
= 0;
33039 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33054 PyObject
* obj0
= 0 ;
33055 PyObject
* obj1
= 0 ;
33056 PyObject
* obj2
= 0 ;
33057 PyObject
* obj3
= 0 ;
33058 PyObject
* obj4
= 0 ;
33059 char * kwnames
[] = {
33060 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33065 if (!SWIG_IsOK(res1
)) {
33066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33068 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33069 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33070 if (!SWIG_IsOK(ecode2
)) {
33071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
33073 arg2
= static_cast< int >(val2
);
33074 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33075 if (!SWIG_IsOK(ecode3
)) {
33076 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
33078 arg3
= static_cast< int >(val3
);
33079 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33080 if (!SWIG_IsOK(ecode4
)) {
33081 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
33083 arg4
= static_cast< int >(val4
);
33084 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33085 if (!SWIG_IsOK(ecode5
)) {
33086 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
33088 arg5
= static_cast< int >(val5
);
33090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33091 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
33092 wxPyEndAllowThreads(__tstate
);
33093 if (PyErr_Occurred()) SWIG_fail
;
33095 resultobj
= SWIG_Py_Void();
33102 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33103 PyObject
*resultobj
= 0;
33104 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33109 PyObject
* obj0
= 0 ;
33110 PyObject
* obj1
= 0 ;
33111 char * kwnames
[] = {
33112 (char *) "self",(char *) "rect", NULL
33115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33117 if (!SWIG_IsOK(res1
)) {
33118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33120 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33123 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33127 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
33128 wxPyEndAllowThreads(__tstate
);
33129 if (PyErr_Occurred()) SWIG_fail
;
33131 resultobj
= SWIG_Py_Void();
33138 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33139 PyObject
*resultobj
= 0;
33140 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33141 wxPoint
*arg2
= 0 ;
33147 PyObject
* obj0
= 0 ;
33148 PyObject
* obj1
= 0 ;
33149 PyObject
* obj2
= 0 ;
33150 char * kwnames
[] = {
33151 (char *) "self",(char *) "pt",(char *) "sz", NULL
33154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33156 if (!SWIG_IsOK(res1
)) {
33157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33159 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33162 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33166 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33170 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
33171 wxPyEndAllowThreads(__tstate
);
33172 if (PyErr_Occurred()) SWIG_fail
;
33174 resultobj
= SWIG_Py_Void();
33181 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33182 PyObject
*resultobj
= 0;
33183 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33195 PyObject
* obj0
= 0 ;
33196 PyObject
* obj1
= 0 ;
33197 PyObject
* obj2
= 0 ;
33198 PyObject
* obj3
= 0 ;
33199 char * kwnames
[] = {
33200 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
33203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33205 if (!SWIG_IsOK(res1
)) {
33206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33208 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33209 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
33210 if (!SWIG_IsOK(res2
)) {
33211 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
33214 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
33216 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
33217 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33218 if (!SWIG_IsOK(ecode3
)) {
33219 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
33221 arg3
= static_cast< int >(val3
);
33222 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33223 if (!SWIG_IsOK(ecode4
)) {
33224 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
33226 arg4
= static_cast< int >(val4
);
33228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33229 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
33230 wxPyEndAllowThreads(__tstate
);
33231 if (PyErr_Occurred()) SWIG_fail
;
33233 resultobj
= SWIG_Py_Void();
33240 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33241 PyObject
*resultobj
= 0;
33242 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33244 wxPoint
*arg3
= 0 ;
33250 PyObject
* obj0
= 0 ;
33251 PyObject
* obj1
= 0 ;
33252 PyObject
* obj2
= 0 ;
33253 char * kwnames
[] = {
33254 (char *) "self",(char *) "icon",(char *) "pt", NULL
33257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33259 if (!SWIG_IsOK(res1
)) {
33260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33262 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33263 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
33264 if (!SWIG_IsOK(res2
)) {
33265 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
33268 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
33270 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
33273 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33277 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
33278 wxPyEndAllowThreads(__tstate
);
33279 if (PyErr_Occurred()) SWIG_fail
;
33281 resultobj
= SWIG_Py_Void();
33288 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33289 PyObject
*resultobj
= 0;
33290 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33291 wxBitmap
*arg2
= 0 ;
33294 bool arg5
= (bool) false ;
33305 PyObject
* obj0
= 0 ;
33306 PyObject
* obj1
= 0 ;
33307 PyObject
* obj2
= 0 ;
33308 PyObject
* obj3
= 0 ;
33309 PyObject
* obj4
= 0 ;
33310 char * kwnames
[] = {
33311 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
33314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33316 if (!SWIG_IsOK(res1
)) {
33317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33319 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33320 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33321 if (!SWIG_IsOK(res2
)) {
33322 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33325 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33327 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33328 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33329 if (!SWIG_IsOK(ecode3
)) {
33330 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
33332 arg3
= static_cast< int >(val3
);
33333 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33334 if (!SWIG_IsOK(ecode4
)) {
33335 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
33337 arg4
= static_cast< int >(val4
);
33339 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
33340 if (!SWIG_IsOK(ecode5
)) {
33341 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
33343 arg5
= static_cast< bool >(val5
);
33346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33347 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
33348 wxPyEndAllowThreads(__tstate
);
33349 if (PyErr_Occurred()) SWIG_fail
;
33351 resultobj
= SWIG_Py_Void();
33358 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33359 PyObject
*resultobj
= 0;
33360 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33361 wxBitmap
*arg2
= 0 ;
33362 wxPoint
*arg3
= 0 ;
33363 bool arg4
= (bool) false ;
33371 PyObject
* obj0
= 0 ;
33372 PyObject
* obj1
= 0 ;
33373 PyObject
* obj2
= 0 ;
33374 PyObject
* obj3
= 0 ;
33375 char * kwnames
[] = {
33376 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
33379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33381 if (!SWIG_IsOK(res1
)) {
33382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33384 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33385 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33386 if (!SWIG_IsOK(res2
)) {
33387 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33390 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33392 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33395 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33398 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
33399 if (!SWIG_IsOK(ecode4
)) {
33400 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
33402 arg4
= static_cast< bool >(val4
);
33405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33406 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
33407 wxPyEndAllowThreads(__tstate
);
33408 if (PyErr_Occurred()) SWIG_fail
;
33410 resultobj
= SWIG_Py_Void();
33417 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33418 PyObject
*resultobj
= 0;
33419 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33420 wxString
*arg2
= 0 ;
33425 bool temp2
= false ;
33430 PyObject
* obj0
= 0 ;
33431 PyObject
* obj1
= 0 ;
33432 PyObject
* obj2
= 0 ;
33433 PyObject
* obj3
= 0 ;
33434 char * kwnames
[] = {
33435 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
33438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33440 if (!SWIG_IsOK(res1
)) {
33441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33443 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33445 arg2
= wxString_in_helper(obj1
);
33446 if (arg2
== NULL
) SWIG_fail
;
33449 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33450 if (!SWIG_IsOK(ecode3
)) {
33451 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
33453 arg3
= static_cast< int >(val3
);
33454 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33455 if (!SWIG_IsOK(ecode4
)) {
33456 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
33458 arg4
= static_cast< int >(val4
);
33460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33461 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
33462 wxPyEndAllowThreads(__tstate
);
33463 if (PyErr_Occurred()) SWIG_fail
;
33465 resultobj
= SWIG_Py_Void();
33480 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33481 PyObject
*resultobj
= 0;
33482 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33483 wxString
*arg2
= 0 ;
33484 wxPoint
*arg3
= 0 ;
33487 bool temp2
= false ;
33489 PyObject
* obj0
= 0 ;
33490 PyObject
* obj1
= 0 ;
33491 PyObject
* obj2
= 0 ;
33492 char * kwnames
[] = {
33493 (char *) "self",(char *) "text",(char *) "pt", NULL
33496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33498 if (!SWIG_IsOK(res1
)) {
33499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33501 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33503 arg2
= wxString_in_helper(obj1
);
33504 if (arg2
== NULL
) SWIG_fail
;
33509 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33513 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
33514 wxPyEndAllowThreads(__tstate
);
33515 if (PyErr_Occurred()) SWIG_fail
;
33517 resultobj
= SWIG_Py_Void();
33532 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33533 PyObject
*resultobj
= 0;
33534 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33535 wxString
*arg2
= 0 ;
33541 bool temp2
= false ;
33548 PyObject
* obj0
= 0 ;
33549 PyObject
* obj1
= 0 ;
33550 PyObject
* obj2
= 0 ;
33551 PyObject
* obj3
= 0 ;
33552 PyObject
* obj4
= 0 ;
33553 char * kwnames
[] = {
33554 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
33557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33559 if (!SWIG_IsOK(res1
)) {
33560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33562 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33564 arg2
= wxString_in_helper(obj1
);
33565 if (arg2
== NULL
) SWIG_fail
;
33568 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33569 if (!SWIG_IsOK(ecode3
)) {
33570 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
33572 arg3
= static_cast< int >(val3
);
33573 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33574 if (!SWIG_IsOK(ecode4
)) {
33575 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
33577 arg4
= static_cast< int >(val4
);
33578 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
33579 if (!SWIG_IsOK(ecode5
)) {
33580 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
33582 arg5
= static_cast< double >(val5
);
33584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33585 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
33586 wxPyEndAllowThreads(__tstate
);
33587 if (PyErr_Occurred()) SWIG_fail
;
33589 resultobj
= SWIG_Py_Void();
33604 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33605 PyObject
*resultobj
= 0;
33606 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33607 wxString
*arg2
= 0 ;
33608 wxPoint
*arg3
= 0 ;
33612 bool temp2
= false ;
33616 PyObject
* obj0
= 0 ;
33617 PyObject
* obj1
= 0 ;
33618 PyObject
* obj2
= 0 ;
33619 PyObject
* obj3
= 0 ;
33620 char * kwnames
[] = {
33621 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
33624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33626 if (!SWIG_IsOK(res1
)) {
33627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33629 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33631 arg2
= wxString_in_helper(obj1
);
33632 if (arg2
== NULL
) SWIG_fail
;
33637 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33639 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
33640 if (!SWIG_IsOK(ecode4
)) {
33641 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
33643 arg4
= static_cast< double >(val4
);
33645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33646 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
33647 wxPyEndAllowThreads(__tstate
);
33648 if (PyErr_Occurred()) SWIG_fail
;
33650 resultobj
= SWIG_Py_Void();
33665 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33666 PyObject
*resultobj
= 0;
33667 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33669 wxPoint
*arg3
= (wxPoint
*) 0 ;
33670 int arg4
= (int) 0 ;
33671 int arg5
= (int) 0 ;
33678 PyObject
* obj0
= 0 ;
33679 PyObject
* obj1
= 0 ;
33680 PyObject
* obj2
= 0 ;
33681 PyObject
* obj3
= 0 ;
33682 char * kwnames
[] = {
33683 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
33686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33688 if (!SWIG_IsOK(res1
)) {
33689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33691 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33693 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
33694 if (arg3
== NULL
) SWIG_fail
;
33697 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
33698 if (!SWIG_IsOK(ecode4
)) {
33699 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
33701 arg4
= static_cast< int >(val4
);
33704 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
33705 if (!SWIG_IsOK(ecode5
)) {
33706 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
33708 arg5
= static_cast< int >(val5
);
33711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33712 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
33713 wxPyEndAllowThreads(__tstate
);
33714 if (PyErr_Occurred()) SWIG_fail
;
33716 resultobj
= SWIG_Py_Void();
33718 if (arg3
) delete [] arg3
;
33723 if (arg3
) delete [] arg3
;
33729 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33730 PyObject
*resultobj
= 0;
33731 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33733 wxPoint
*arg3
= (wxPoint
*) 0 ;
33734 int arg4
= (int) 0 ;
33735 int arg5
= (int) 0 ;
33736 int arg6
= (int) wxODDEVEN_RULE
;
33745 PyObject
* obj0
= 0 ;
33746 PyObject
* obj1
= 0 ;
33747 PyObject
* obj2
= 0 ;
33748 PyObject
* obj3
= 0 ;
33749 PyObject
* obj4
= 0 ;
33750 char * kwnames
[] = {
33751 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
33754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33756 if (!SWIG_IsOK(res1
)) {
33757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33759 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33761 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
33762 if (arg3
== NULL
) SWIG_fail
;
33765 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
33766 if (!SWIG_IsOK(ecode4
)) {
33767 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
33769 arg4
= static_cast< int >(val4
);
33772 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
33773 if (!SWIG_IsOK(ecode5
)) {
33774 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
33776 arg5
= static_cast< int >(val5
);
33779 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
33780 if (!SWIG_IsOK(ecode6
)) {
33781 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
33783 arg6
= static_cast< int >(val6
);
33786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33787 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
33788 wxPyEndAllowThreads(__tstate
);
33789 if (PyErr_Occurred()) SWIG_fail
;
33791 resultobj
= SWIG_Py_Void();
33793 if (arg3
) delete [] arg3
;
33798 if (arg3
) delete [] arg3
;
33804 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33805 PyObject
*resultobj
= 0;
33806 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33807 wxString
*arg2
= 0 ;
33809 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
33810 int arg5
= (int) -1 ;
33813 bool temp2
= false ;
33819 PyObject
* obj0
= 0 ;
33820 PyObject
* obj1
= 0 ;
33821 PyObject
* obj2
= 0 ;
33822 PyObject
* obj3
= 0 ;
33823 PyObject
* obj4
= 0 ;
33824 char * kwnames
[] = {
33825 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
33828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33830 if (!SWIG_IsOK(res1
)) {
33831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33833 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33835 arg2
= wxString_in_helper(obj1
);
33836 if (arg2
== NULL
) SWIG_fail
;
33841 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33844 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33845 if (!SWIG_IsOK(ecode4
)) {
33846 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
33848 arg4
= static_cast< int >(val4
);
33851 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33852 if (!SWIG_IsOK(ecode5
)) {
33853 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
33855 arg5
= static_cast< int >(val5
);
33858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33859 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
33860 wxPyEndAllowThreads(__tstate
);
33861 if (PyErr_Occurred()) SWIG_fail
;
33863 resultobj
= SWIG_Py_Void();
33878 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33879 PyObject
*resultobj
= 0;
33880 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33881 wxString
*arg2
= 0 ;
33882 wxBitmap
*arg3
= 0 ;
33884 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
33885 int arg6
= (int) -1 ;
33888 bool temp2
= false ;
33896 PyObject
* obj0
= 0 ;
33897 PyObject
* obj1
= 0 ;
33898 PyObject
* obj2
= 0 ;
33899 PyObject
* obj3
= 0 ;
33900 PyObject
* obj4
= 0 ;
33901 PyObject
* obj5
= 0 ;
33902 char * kwnames
[] = {
33903 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
33906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33908 if (!SWIG_IsOK(res1
)) {
33909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33911 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33913 arg2
= wxString_in_helper(obj1
);
33914 if (arg2
== NULL
) SWIG_fail
;
33917 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33918 if (!SWIG_IsOK(res3
)) {
33919 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
33922 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
33924 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
33927 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
33930 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33931 if (!SWIG_IsOK(ecode5
)) {
33932 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
33934 arg5
= static_cast< int >(val5
);
33937 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
33938 if (!SWIG_IsOK(ecode6
)) {
33939 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
33941 arg6
= static_cast< int >(val6
);
33944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33945 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
33946 wxPyEndAllowThreads(__tstate
);
33947 if (PyErr_Occurred()) SWIG_fail
;
33949 resultobj
= SWIG_Py_Void();
33964 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33965 PyObject
*resultobj
= 0;
33966 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33968 wxPoint
*arg3
= (wxPoint
*) 0 ;
33971 PyObject
* obj0
= 0 ;
33972 PyObject
* obj1
= 0 ;
33973 char * kwnames
[] = {
33974 (char *) "self",(char *) "points", NULL
33977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33979 if (!SWIG_IsOK(res1
)) {
33980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33982 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33984 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
33985 if (arg3
== NULL
) SWIG_fail
;
33988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33989 (arg1
)->DrawSpline(arg2
,arg3
);
33990 wxPyEndAllowThreads(__tstate
);
33991 if (PyErr_Occurred()) SWIG_fail
;
33993 resultobj
= SWIG_Py_Void();
33995 if (arg3
) delete [] arg3
;
34000 if (arg3
) delete [] arg3
;
34006 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34007 PyObject
*resultobj
= 0;
34008 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34011 PyObject
*swig_obj
[1] ;
34013 if (!args
) SWIG_fail
;
34014 swig_obj
[0] = args
;
34015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34016 if (!SWIG_IsOK(res1
)) {
34017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34019 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34023 wxPyEndAllowThreads(__tstate
);
34024 if (PyErr_Occurred()) SWIG_fail
;
34026 resultobj
= SWIG_Py_Void();
34033 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34034 PyObject
*resultobj
= 0;
34035 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34041 PyObject
* obj0
= 0 ;
34042 PyObject
* obj1
= 0 ;
34043 char * kwnames
[] = {
34044 (char *) "self",(char *) "font", NULL
34047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34049 if (!SWIG_IsOK(res1
)) {
34050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34052 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34053 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
34054 if (!SWIG_IsOK(res2
)) {
34055 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
34058 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
34060 arg2
= reinterpret_cast< wxFont
* >(argp2
);
34062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34063 (arg1
)->SetFont((wxFont
const &)*arg2
);
34064 wxPyEndAllowThreads(__tstate
);
34065 if (PyErr_Occurred()) SWIG_fail
;
34067 resultobj
= SWIG_Py_Void();
34074 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34075 PyObject
*resultobj
= 0;
34076 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34082 PyObject
* obj0
= 0 ;
34083 PyObject
* obj1
= 0 ;
34084 char * kwnames
[] = {
34085 (char *) "self",(char *) "pen", NULL
34088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34090 if (!SWIG_IsOK(res1
)) {
34091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34093 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34094 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
34095 if (!SWIG_IsOK(res2
)) {
34096 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
34099 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
34101 arg2
= reinterpret_cast< wxPen
* >(argp2
);
34103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34104 (arg1
)->SetPen((wxPen
const &)*arg2
);
34105 wxPyEndAllowThreads(__tstate
);
34106 if (PyErr_Occurred()) SWIG_fail
;
34108 resultobj
= SWIG_Py_Void();
34115 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34116 PyObject
*resultobj
= 0;
34117 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34118 wxBrush
*arg2
= 0 ;
34123 PyObject
* obj0
= 0 ;
34124 PyObject
* obj1
= 0 ;
34125 char * kwnames
[] = {
34126 (char *) "self",(char *) "brush", NULL
34129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34131 if (!SWIG_IsOK(res1
)) {
34132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34134 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34135 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
34136 if (!SWIG_IsOK(res2
)) {
34137 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
34140 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
34142 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
34144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34145 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
34146 wxPyEndAllowThreads(__tstate
);
34147 if (PyErr_Occurred()) SWIG_fail
;
34149 resultobj
= SWIG_Py_Void();
34156 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34157 PyObject
*resultobj
= 0;
34158 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34159 wxBrush
*arg2
= 0 ;
34164 PyObject
* obj0
= 0 ;
34165 PyObject
* obj1
= 0 ;
34166 char * kwnames
[] = {
34167 (char *) "self",(char *) "brush", NULL
34170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34172 if (!SWIG_IsOK(res1
)) {
34173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34175 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34176 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
34177 if (!SWIG_IsOK(res2
)) {
34178 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
34181 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
34183 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
34185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34186 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
34187 wxPyEndAllowThreads(__tstate
);
34188 if (PyErr_Occurred()) SWIG_fail
;
34190 resultobj
= SWIG_Py_Void();
34197 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34198 PyObject
*resultobj
= 0;
34199 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34205 PyObject
* obj0
= 0 ;
34206 PyObject
* obj1
= 0 ;
34207 char * kwnames
[] = {
34208 (char *) "self",(char *) "mode", NULL
34211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34213 if (!SWIG_IsOK(res1
)) {
34214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34216 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34217 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34218 if (!SWIG_IsOK(ecode2
)) {
34219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
34221 arg2
= static_cast< int >(val2
);
34223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34224 (arg1
)->SetBackgroundMode(arg2
);
34225 wxPyEndAllowThreads(__tstate
);
34226 if (PyErr_Occurred()) SWIG_fail
;
34228 resultobj
= SWIG_Py_Void();
34235 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34236 PyObject
*resultobj
= 0;
34237 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34238 wxPalette
*arg2
= 0 ;
34243 PyObject
* obj0
= 0 ;
34244 PyObject
* obj1
= 0 ;
34245 char * kwnames
[] = {
34246 (char *) "self",(char *) "palette", NULL
34249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34251 if (!SWIG_IsOK(res1
)) {
34252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34254 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34255 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
34256 if (!SWIG_IsOK(res2
)) {
34257 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
34260 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
34262 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
34264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34265 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
34266 wxPyEndAllowThreads(__tstate
);
34267 if (PyErr_Occurred()) SWIG_fail
;
34269 resultobj
= SWIG_Py_Void();
34276 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34277 PyObject
*resultobj
= 0;
34278 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34279 wxColour
*arg2
= 0 ;
34283 PyObject
* obj0
= 0 ;
34284 PyObject
* obj1
= 0 ;
34285 char * kwnames
[] = {
34286 (char *) "self",(char *) "colour", NULL
34289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34291 if (!SWIG_IsOK(res1
)) {
34292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34294 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34297 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34301 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
34302 wxPyEndAllowThreads(__tstate
);
34303 if (PyErr_Occurred()) SWIG_fail
;
34305 resultobj
= SWIG_Py_Void();
34312 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34313 PyObject
*resultobj
= 0;
34314 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34315 wxColour
*arg2
= 0 ;
34319 PyObject
* obj0
= 0 ;
34320 PyObject
* obj1
= 0 ;
34321 char * kwnames
[] = {
34322 (char *) "self",(char *) "colour", NULL
34325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34327 if (!SWIG_IsOK(res1
)) {
34328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34330 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34333 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34337 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
34338 wxPyEndAllowThreads(__tstate
);
34339 if (PyErr_Occurred()) SWIG_fail
;
34341 resultobj
= SWIG_Py_Void();
34348 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34349 PyObject
*resultobj
= 0;
34350 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34356 PyObject
* obj0
= 0 ;
34357 PyObject
* obj1
= 0 ;
34358 char * kwnames
[] = {
34359 (char *) "self",(char *) "function", NULL
34362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34364 if (!SWIG_IsOK(res1
)) {
34365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34367 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34369 if (!SWIG_IsOK(ecode2
)) {
34370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
34372 arg2
= static_cast< int >(val2
);
34374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34375 (arg1
)->SetLogicalFunction(arg2
);
34376 wxPyEndAllowThreads(__tstate
);
34377 if (PyErr_Occurred()) SWIG_fail
;
34379 resultobj
= SWIG_Py_Void();
34386 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34388 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34389 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
34390 return SWIG_Py_Void();
34393 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34394 return SWIG_Python_InitShadowInstance(args
);
34397 static PyMethodDef SwigMethods
[] = {
34398 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
34399 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
34400 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
34401 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
34402 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
34403 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34404 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34405 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34406 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
34407 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
34408 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
34409 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
34410 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
34411 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
34412 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34413 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34414 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34415 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34416 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
34417 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34418 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34419 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34420 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
34421 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
34422 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
34423 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34424 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
34425 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34426 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34427 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
34428 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
34429 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
34430 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
34431 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34432 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
34433 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
34434 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
34435 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
34436 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
34437 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
34438 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
34439 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34440 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34441 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34442 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34443 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34444 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34445 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
34446 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34447 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34448 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34449 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
34450 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
34451 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34452 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34453 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
34454 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34455 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34456 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34457 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
34458 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
34459 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
34460 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
34461 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
34462 { (char *)"Brush_MacGetTheme", (PyCFunction
)_wrap_Brush_MacGetTheme
, METH_O
, NULL
},
34463 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34464 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
34465 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
34466 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34467 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
34468 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34469 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34470 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34471 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34472 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34473 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
34474 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
34475 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
34476 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
34477 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
34478 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
34479 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
34480 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34481 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34482 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34483 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34484 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34485 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
34486 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34487 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34488 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34489 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34490 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34491 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34492 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34493 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
34494 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
34495 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34496 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34497 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34498 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
34499 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
34500 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
34501 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
34502 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
34503 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
34504 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
34505 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
34506 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
34507 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
34508 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
34509 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
34510 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
34511 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
34512 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
34513 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34514 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
34515 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
34516 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34517 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34518 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34519 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34520 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34521 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
34522 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
34523 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
34524 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
34525 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
34526 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
34527 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
34528 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
34529 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
34530 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
34531 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
34532 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
34533 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34534 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
34535 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
34536 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34537 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34538 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34539 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34540 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34541 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
34542 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
34543 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
34544 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34545 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
34546 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
34547 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
34548 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34549 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
34550 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
34551 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34552 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34553 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34554 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
34555 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
34556 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
34557 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
34558 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34559 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34560 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34561 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34562 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
34563 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
34564 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34565 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
34566 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
34567 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34568 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
34569 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34570 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
34571 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
34572 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
34573 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
34574 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34575 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34576 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
34577 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34578 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34579 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34580 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
34581 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
34582 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34583 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
34584 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34585 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34586 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
34587 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
34588 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
34589 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34590 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34591 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34592 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34593 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
34594 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
34595 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34596 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34597 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34598 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34599 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34600 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
34601 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34602 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34603 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34604 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
34605 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34606 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34607 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34608 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34609 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34610 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34611 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34612 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34613 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34614 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34615 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
34616 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34617 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34618 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
34619 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
34620 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34621 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
34622 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
34623 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
34624 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
34625 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
34626 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
34627 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
34628 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
34629 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
34630 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
34631 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
34632 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
34633 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
34634 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
34635 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
34636 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
34637 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
34638 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34639 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
34640 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
34641 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
34642 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
34643 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
34644 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
34645 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
34646 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34647 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34648 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34649 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34650 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34651 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34652 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34653 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34654 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
34655 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
34656 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34657 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
34658 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
34659 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
34660 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
34661 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
34662 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
34663 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
34664 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
34665 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
34666 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34667 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
34668 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
34669 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
34670 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34671 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34672 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
34673 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
34674 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
34675 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34676 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34677 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
34678 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34679 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34680 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34681 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34682 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34683 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
34684 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34685 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34686 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34687 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34688 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
34689 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
34690 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34691 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
34692 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34693 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34694 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34695 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34696 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34697 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
34698 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34699 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34700 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
34701 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
34702 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
34703 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
34704 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
34705 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
34706 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
34707 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
34708 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
34709 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
34710 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
34711 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
34712 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
34713 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34714 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34715 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34716 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34717 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34718 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34719 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34720 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34721 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34722 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34723 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34724 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
34725 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
34726 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
34727 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34728 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
34729 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
34730 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34731 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
34732 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
34733 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
34734 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
34735 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34736 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34737 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34738 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
34739 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
34740 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34741 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
34742 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
34743 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
34744 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
34745 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
34746 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
34747 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
34748 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
34749 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
34750 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34751 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
34752 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34753 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34754 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
34755 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
34756 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
34757 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
34758 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
34759 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
34760 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
34761 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
34762 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34763 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34764 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34765 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34766 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34767 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34768 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34769 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34770 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34771 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
34772 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
34773 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
34774 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34775 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
34776 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34777 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34778 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34779 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
34780 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
34781 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
34782 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
34783 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
34784 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
34785 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34786 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34787 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34788 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34789 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34790 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
34791 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
34792 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
34793 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34794 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34795 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34796 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34797 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34798 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34799 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34800 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34801 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34802 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34803 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34804 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34805 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34806 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34807 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34808 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34809 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34810 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34811 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34812 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34813 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34814 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34815 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34816 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34817 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34818 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34819 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34820 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34821 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34822 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34823 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34824 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34825 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34826 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34827 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34828 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34829 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34830 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34831 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34832 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34833 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34834 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34835 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34836 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34837 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34838 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34839 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34840 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34841 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
34842 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34843 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
34844 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
34845 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
34846 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34847 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34848 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34849 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34850 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34851 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34852 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
34853 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
34854 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
34855 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
34856 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
34857 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34858 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34859 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34860 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34861 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
34862 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
34863 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
34864 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
34865 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34866 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34867 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34868 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34869 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34870 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34871 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34872 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34873 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
34874 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
34875 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
34876 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
34877 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
34878 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
34879 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
34880 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
34881 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
34882 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
34883 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
34884 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
34885 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34886 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34887 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
34888 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34889 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
34890 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34891 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
34892 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34893 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
34894 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
34895 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34896 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34897 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
34898 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
34899 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34900 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34901 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34902 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
34903 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34904 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
34905 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34906 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34907 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
34908 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
34909 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
34910 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
34911 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
34912 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
34913 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
34914 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34915 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34916 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34917 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34918 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34919 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34920 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34921 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
34922 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34923 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34924 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34925 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
34926 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
34927 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
34928 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34929 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34930 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
34931 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
34932 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
34933 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34934 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
34935 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
34936 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34937 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
34938 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
34939 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34940 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
34941 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
34942 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
34943 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
34944 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
34945 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
34946 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
34947 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34948 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
34949 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
34950 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34951 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
34952 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
34953 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34954 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34955 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
34956 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
34957 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34958 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
34959 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34960 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34961 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
34962 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
34963 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
34964 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34965 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
34966 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
34967 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34968 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
34969 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
34970 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
34971 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
34972 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
34973 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34974 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
34975 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
34976 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
34977 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34978 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
34979 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
34980 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
34981 { (char *)"GraphicsPath_MoveToPoint", (PyCFunction
) _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34982 { (char *)"GraphicsPath_AddLineToPoint", (PyCFunction
) _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34983 { (char *)"GraphicsPath_AddCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34984 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
34985 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
34986 { (char *)"GraphicsPath_AddArc", (PyCFunction
) _wrap_GraphicsPath_AddArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34987 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34988 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34989 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34990 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34991 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
34992 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
34993 { (char *)"GraphicsContext_Create", (PyCFunction
) _wrap_GraphicsContext_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34994 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
34995 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
34996 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
34997 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34998 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34999 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35000 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35001 { (char *)"GraphicsContext_SetPen", (PyCFunction
) _wrap_GraphicsContext_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35002 { (char *)"GraphicsContext_SetBrush", (PyCFunction
) _wrap_GraphicsContext_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35003 { (char *)"GraphicsContext_SetLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35004 { (char *)"GraphicsContext_SetRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35005 { (char *)"GraphicsContext_SetFont", (PyCFunction
) _wrap_GraphicsContext_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35006 { (char *)"GraphicsContext_SetTextColor", (PyCFunction
) _wrap_GraphicsContext_SetTextColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35007 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35008 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35009 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35010 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35011 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35012 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35013 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35014 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35015 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35016 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35017 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35018 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35019 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35020 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35021 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35022 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35023 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
35024 { (char *)"new_GCDC", (PyCFunction
) _wrap_new_GCDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35025 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
35026 { (char *)"GCDC_GetGraphicContext", (PyCFunction
)_wrap_GCDC_GetGraphicContext
, METH_O
, NULL
},
35027 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
35028 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
35029 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
35030 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
35031 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
35032 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
35033 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
35034 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
35035 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
35036 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
35037 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
35038 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
35039 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35040 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
35041 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35042 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35043 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35044 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35045 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35046 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35047 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35048 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
35049 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35050 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
35051 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35052 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
35053 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
35054 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
35055 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
35056 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
35057 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
35058 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35059 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35060 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35061 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35062 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35063 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
35064 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
35065 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
35066 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
35067 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
35068 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
35069 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35070 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35071 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35072 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
35073 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35074 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35075 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35076 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
35077 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35078 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35079 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35080 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
35081 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
35082 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
35083 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35084 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35085 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35086 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35087 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
35088 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
35089 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
35090 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
35091 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
35092 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
35093 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
35094 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
35095 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
35096 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
35097 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
35098 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
35099 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35100 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35101 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35102 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35103 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35104 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35105 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35106 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35107 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
35108 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
35109 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35110 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
35111 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
35112 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
35113 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
35114 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
35115 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
35116 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
35117 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
35118 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
35119 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
35120 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
35121 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
35122 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
35123 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
35124 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
35125 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
35126 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
35127 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
35128 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
35129 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
35130 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
35131 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
35132 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
35133 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
35134 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35135 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
35136 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35137 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
35138 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
35139 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
35140 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
35141 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35142 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35143 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35144 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35145 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35146 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35147 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35148 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35149 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35150 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35151 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35152 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35153 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
35154 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
35155 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
35156 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35157 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
35158 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
35159 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
35160 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
35161 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
35162 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
35163 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
35164 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
35165 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35166 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35167 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35168 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35169 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35170 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35171 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35172 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35173 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35174 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35175 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35176 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35177 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35178 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35179 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35180 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35181 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35182 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35183 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35184 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35185 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35186 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35187 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35188 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35189 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35190 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35191 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35192 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35193 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35194 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35195 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35196 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35197 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35198 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35199 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35200 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35201 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35202 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35203 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35204 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35205 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35206 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35207 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35208 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35209 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35210 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35211 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35212 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35213 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35214 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35215 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35216 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35217 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
35218 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35219 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35220 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35221 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35222 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35223 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35224 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35225 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35226 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35227 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
35228 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
35229 { NULL
, NULL
, 0, NULL
}
35233 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35235 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
35236 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
35238 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
35239 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
35241 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
35242 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35244 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
35245 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
35247 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
35248 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
35250 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
35251 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
35253 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
35254 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
35256 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
35257 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
35259 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
35260 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
35262 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
35263 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
35265 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
35266 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
35268 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
35269 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
35271 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
35272 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
35274 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
35275 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
35277 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
35278 return (void *)((wxDC
*) ((wxGCDC
*) x
));
35280 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
35281 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
35283 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
35284 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
35286 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
35287 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
35289 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
35290 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
35292 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
35293 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
35295 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
35296 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
35298 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
35299 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
35301 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
35302 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
35304 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
35305 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35307 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
35308 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
35310 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
35311 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
35313 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
35314 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
35316 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
35317 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
35319 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
35320 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
35322 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
35323 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
35325 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
35326 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35328 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
35329 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
35331 static void *_p_wxPenTo_p_wxObject(void *x
) {
35332 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
35334 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
35335 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
35337 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
35338 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
35340 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
35341 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
35343 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
35344 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
35346 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
35347 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
35349 static void *_p_wxIconTo_p_wxObject(void *x
) {
35350 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
35352 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
35353 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35355 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
35356 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
35358 static void *_p_wxSizerTo_p_wxObject(void *x
) {
35359 return (void *)((wxObject
*) ((wxSizer
*) x
));
35361 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
35362 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35364 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
35365 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35367 static void *_p_wxEventTo_p_wxObject(void *x
) {
35368 return (void *)((wxObject
*) ((wxEvent
*) x
));
35370 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
35371 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35373 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
35374 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
35376 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
35377 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
35379 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
35380 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
35382 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
35383 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
35385 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
35386 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
35388 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
35389 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
35391 static void *_p_wxDCTo_p_wxObject(void *x
) {
35392 return (void *)((wxObject
*) ((wxDC
*) x
));
35394 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
35395 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35397 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
35398 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35400 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
35401 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35403 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
35404 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35406 static void *_p_wxControlTo_p_wxObject(void *x
) {
35407 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
35409 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
35410 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
35412 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
35413 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
35415 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
35416 return (void *)((wxObject
*) ((wxFSFile
*) x
));
35418 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
35419 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
35421 static void *_p_wxRegionTo_p_wxObject(void *x
) {
35422 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
35424 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
35425 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
35427 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
35428 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
35430 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
35431 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
35433 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
35434 return (void *)((wxObject
*) ((wxEffects
*) x
));
35436 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
35437 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
35439 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
35440 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35442 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
35443 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
35445 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
35446 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
35448 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
35449 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
35451 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
35452 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
35454 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
35455 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
35457 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
35458 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35460 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
35461 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35463 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
35464 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
35466 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
35467 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
35469 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
35470 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
35472 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
35473 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
35475 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
35476 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
35478 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
35479 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
35481 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
35482 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
35484 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
35485 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
35487 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
35488 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
35490 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
35491 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
35493 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
35494 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
35496 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
35497 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
35499 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
35500 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
35502 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
35503 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
35505 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
35506 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
35508 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
35509 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
35511 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
35512 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
35514 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
35515 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
35517 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
35518 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
35520 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
35521 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
35523 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
35524 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
35526 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
35527 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35529 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
35530 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
35532 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
35533 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
35535 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
35536 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
35538 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
35539 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35541 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
35542 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
35544 static void *_p_wxImageTo_p_wxObject(void *x
) {
35545 return (void *)((wxObject
*) ((wxImage
*) x
));
35547 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
35548 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
35550 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
35551 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
35553 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
35554 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
35556 static void *_p_wxImageListTo_p_wxObject(void *x
) {
35557 return (void *)((wxObject
*) ((wxImageList
*) x
));
35559 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
35560 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
35562 static void *_p_wxCursorTo_p_wxObject(void *x
) {
35563 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
35565 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
35566 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
35568 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
35569 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
35571 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
35572 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35574 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
35575 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
35577 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
35578 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
35580 static void *_p_wxWindowTo_p_wxObject(void *x
) {
35581 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
35583 static void *_p_wxMenuTo_p_wxObject(void *x
) {
35584 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
35586 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
35587 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
35589 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
35590 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
35592 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
35593 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
35595 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
35596 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
35598 static void *_p_wxMaskTo_p_wxObject(void *x
) {
35599 return (void *)((wxObject
*) ((wxMask
*) x
));
35601 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
35602 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35604 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
35605 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
35607 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
35608 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
35610 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
35611 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
35613 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
35614 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
35616 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
35617 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
35619 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
35620 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35622 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
35623 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
35625 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
35626 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
35628 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
35629 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
35631 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
35632 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35634 static void *_p_wxFontTo_p_wxObject(void *x
) {
35635 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
35637 static void *_p_wxBrushTo_p_wxObject(void *x
) {
35638 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
35640 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
35641 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
35643 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
35644 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
35646 static void *_p_wxColourTo_p_wxObject(void *x
) {
35647 return (void *)((wxObject
*) ((wxColour
*) x
));
35649 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
35650 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
35652 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
35653 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
35655 static void *_p_wxControlTo_p_wxWindow(void *x
) {
35656 return (void *)((wxWindow
*) ((wxControl
*) x
));
35658 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
35659 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
35661 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
35662 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
35664 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
35665 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
35667 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
35668 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
35670 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
35671 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
35672 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
35673 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};
35674 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
35675 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
35676 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
35677 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
35678 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
35679 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
35680 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
35681 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
35682 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
35683 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
35684 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
35685 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
35686 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
35687 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
35688 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
35689 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
35690 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
35691 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
35692 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
35693 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
35694 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
35695 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
35696 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
35697 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
35698 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
35699 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
35700 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
35701 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
35702 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
35703 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
35704 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
35705 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
35706 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
35707 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
35708 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
35709 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
35710 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
35711 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
35712 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
35713 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
35714 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
35715 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
35716 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
35717 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
35718 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
35719 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
35720 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
35721 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
35722 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
35723 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
35724 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
35725 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
35726 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
35727 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
35728 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
35729 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
35730 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
35731 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
35732 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
35733 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
35734 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
35735 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
35736 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
35737 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
35738 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
35739 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
35740 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
35741 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
35742 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
35743 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
35744 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
35745 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
35746 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
35747 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
35748 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
35749 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
35750 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
35751 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
35752 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
35753 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
35754 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
35755 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
35756 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
35757 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
35758 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
35759 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
35760 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
35761 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
35762 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
35763 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
35764 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
35765 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
35766 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
35767 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
35768 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
35769 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
35770 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
35771 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
35772 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
35773 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
35774 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
35775 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
35776 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
35777 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
35778 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
35779 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
35780 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
35781 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
35782 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
35783 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
35784 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
35785 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
35786 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
35787 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
35788 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
35789 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
35790 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
35791 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
35792 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
35793 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
35794 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
35795 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
35796 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
35797 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
35798 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
35799 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
35800 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
35801 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
35802 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
35803 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
35804 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
35805 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
35806 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
35807 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
35808 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
35809 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
35810 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
35811 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
35812 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
35813 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
35814 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
35815 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
35816 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
35817 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
35818 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
35819 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
35820 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
35821 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
35822 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
35823 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
35824 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
35825 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
35826 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
35828 static swig_type_info
*swig_type_initial
[] = {
35832 &_swigt__p_form_ops_t
,
35834 &_swigt__p_unsigned_char
,
35835 &_swigt__p_unsigned_int
,
35836 &_swigt__p_unsigned_long
,
35837 &_swigt__p_wxANIHandler
,
35838 &_swigt__p_wxAcceleratorTable
,
35839 &_swigt__p_wxActivateEvent
,
35840 &_swigt__p_wxAlphaPixelData
,
35841 &_swigt__p_wxAlphaPixelData_Accessor
,
35842 &_swigt__p_wxAutoBufferedPaintDC
,
35843 &_swigt__p_wxBMPHandler
,
35844 &_swigt__p_wxBitmap
,
35845 &_swigt__p_wxBoxSizer
,
35846 &_swigt__p_wxBrush
,
35847 &_swigt__p_wxBrushList
,
35848 &_swigt__p_wxBufferedDC
,
35849 &_swigt__p_wxBufferedPaintDC
,
35850 &_swigt__p_wxCURHandler
,
35852 &_swigt__p_wxChildFocusEvent
,
35853 &_swigt__p_wxClientDC
,
35854 &_swigt__p_wxClipboardTextEvent
,
35855 &_swigt__p_wxCloseEvent
,
35856 &_swigt__p_wxColor
,
35857 &_swigt__p_wxColour
,
35858 &_swigt__p_wxColourDatabase
,
35859 &_swigt__p_wxCommandEvent
,
35860 &_swigt__p_wxContextMenuEvent
,
35861 &_swigt__p_wxControl
,
35862 &_swigt__p_wxControlWithItems
,
35863 &_swigt__p_wxCursor
,
35865 &_swigt__p_wxDCOverlay
,
35867 &_swigt__p_wxDateEvent
,
35868 &_swigt__p_wxDisplayChangedEvent
,
35869 &_swigt__p_wxDropFilesEvent
,
35870 &_swigt__p_wxDuplexMode
,
35871 &_swigt__p_wxEffects
,
35872 &_swigt__p_wxEncodingConverter
,
35873 &_swigt__p_wxEraseEvent
,
35874 &_swigt__p_wxEvent
,
35875 &_swigt__p_wxEvtHandler
,
35876 &_swigt__p_wxFSFile
,
35877 &_swigt__p_wxFileSystem
,
35878 &_swigt__p_wxFlexGridSizer
,
35879 &_swigt__p_wxFocusEvent
,
35881 &_swigt__p_wxFontList
,
35882 &_swigt__p_wxFontMapper
,
35883 &_swigt__p_wxGBSizerItem
,
35885 &_swigt__p_wxGDIObjListBase
,
35886 &_swigt__p_wxGDIObject
,
35887 &_swigt__p_wxGIFHandler
,
35888 &_swigt__p_wxGraphicsContext
,
35889 &_swigt__p_wxGraphicsPath
,
35890 &_swigt__p_wxGridBagSizer
,
35891 &_swigt__p_wxGridSizer
,
35892 &_swigt__p_wxHeaderButtonParams
,
35893 &_swigt__p_wxICOHandler
,
35895 &_swigt__p_wxIconBundle
,
35896 &_swigt__p_wxIconLocation
,
35897 &_swigt__p_wxIconizeEvent
,
35898 &_swigt__p_wxIdleEvent
,
35899 &_swigt__p_wxImage
,
35900 &_swigt__p_wxImageHandler
,
35901 &_swigt__p_wxImageList
,
35902 &_swigt__p_wxIndividualLayoutConstraint
,
35903 &_swigt__p_wxInitDialogEvent
,
35904 &_swigt__p_wxJPEGHandler
,
35905 &_swigt__p_wxKeyEvent
,
35906 &_swigt__p_wxLanguageInfo
,
35907 &_swigt__p_wxLayoutConstraints
,
35908 &_swigt__p_wxLocale
,
35910 &_swigt__p_wxMaximizeEvent
,
35911 &_swigt__p_wxMemoryDC
,
35913 &_swigt__p_wxMenuBar
,
35914 &_swigt__p_wxMenuEvent
,
35915 &_swigt__p_wxMenuItem
,
35916 &_swigt__p_wxMetaFile
,
35917 &_swigt__p_wxMetaFileDC
,
35918 &_swigt__p_wxMirrorDC
,
35919 &_swigt__p_wxMouseCaptureChangedEvent
,
35920 &_swigt__p_wxMouseCaptureLostEvent
,
35921 &_swigt__p_wxMouseEvent
,
35922 &_swigt__p_wxMoveEvent
,
35923 &_swigt__p_wxNativeEncodingInfo
,
35924 &_swigt__p_wxNativeFontInfo
,
35925 &_swigt__p_wxNativePixelData
,
35926 &_swigt__p_wxNativePixelData_Accessor
,
35927 &_swigt__p_wxNavigationKeyEvent
,
35928 &_swigt__p_wxNcPaintEvent
,
35929 &_swigt__p_wxNotifyEvent
,
35930 &_swigt__p_wxObject
,
35931 &_swigt__p_wxOverlay
,
35932 &_swigt__p_wxPCXHandler
,
35933 &_swigt__p_wxPNGHandler
,
35934 &_swigt__p_wxPNMHandler
,
35935 &_swigt__p_wxPaintDC
,
35936 &_swigt__p_wxPaintEvent
,
35937 &_swigt__p_wxPalette
,
35938 &_swigt__p_wxPaletteChangedEvent
,
35939 &_swigt__p_wxPaperSize
,
35941 &_swigt__p_wxPenList
,
35942 &_swigt__p_wxPixelDataBase
,
35943 &_swigt__p_wxPoint
,
35944 &_swigt__p_wxPoint2D
,
35945 &_swigt__p_wxPostScriptDC
,
35946 &_swigt__p_wxPrintData
,
35947 &_swigt__p_wxPrinterDC
,
35948 &_swigt__p_wxPseudoDC
,
35949 &_swigt__p_wxPyApp
,
35950 &_swigt__p_wxPyCommandEvent
,
35951 &_swigt__p_wxPyEvent
,
35952 &_swigt__p_wxPyFontEnumerator
,
35953 &_swigt__p_wxPyImageHandler
,
35954 &_swigt__p_wxPyLocale
,
35955 &_swigt__p_wxPySizer
,
35956 &_swigt__p_wxPyValidator
,
35957 &_swigt__p_wxQueryNewPaletteEvent
,
35959 &_swigt__p_wxRegion
,
35960 &_swigt__p_wxRegionIterator
,
35961 &_swigt__p_wxRendererNative
,
35962 &_swigt__p_wxRendererVersion
,
35963 &_swigt__p_wxScreenDC
,
35964 &_swigt__p_wxScrollEvent
,
35965 &_swigt__p_wxScrollWinEvent
,
35966 &_swigt__p_wxSetCursorEvent
,
35967 &_swigt__p_wxShowEvent
,
35969 &_swigt__p_wxSizeEvent
,
35970 &_swigt__p_wxSizer
,
35971 &_swigt__p_wxSizerItem
,
35972 &_swigt__p_wxSplitterRenderParams
,
35973 &_swigt__p_wxStaticBoxSizer
,
35974 &_swigt__p_wxStdDialogButtonSizer
,
35975 &_swigt__p_wxStockGDI
,
35976 &_swigt__p_wxString
,
35977 &_swigt__p_wxSysColourChangedEvent
,
35978 &_swigt__p_wxTIFFHandler
,
35979 &_swigt__p_wxUpdateUIEvent
,
35980 &_swigt__p_wxValidator
,
35981 &_swigt__p_wxWindow
,
35982 &_swigt__p_wxWindowCreateEvent
,
35983 &_swigt__p_wxWindowDC
,
35984 &_swigt__p_wxWindowDestroyEvent
,
35985 &_swigt__p_wxXPMHandler
,
35988 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
35989 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
35990 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
35991 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
35992 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
35993 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
35994 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
35995 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
35996 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
35997 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
35998 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
35999 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
36000 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
36001 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
36002 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}};
36003 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
36004 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
36005 static swig_cast_info _swigc__p_wxClientDC
[] = { {&_swigt__p_wxClientDC
, 0, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxClientDC
, 0, 0},{0, 0, 0, 0}};
36006 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
36007 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
36008 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
36009 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
36010 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxAutoBufferedPaintDC
, _p_wxAutoBufferedPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxMetaFileDC
, _p_wxMetaFileDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxPostScriptDC
, _p_wxPostScriptDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxDC
, 0, 0, 0}, {&_swigt__p_wxWindowDC
, _p_wxWindowDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxScreenDC
, _p_wxScreenDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxGCDC
, _p_wxGCDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxMirrorDC
, _p_wxMirrorDCTo_p_wxDC
, 0, 0},{0, 0, 0, 0}};
36011 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
36012 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
36013 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
36014 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
36015 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
36016 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
36017 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
36018 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
36019 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
36020 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}};
36021 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}};
36022 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
36023 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
36024 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
36025 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
36026 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
36027 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
36028 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
36029 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
36030 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
36031 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}};
36032 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
36033 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}};
36034 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
36035 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
36036 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
36037 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
36038 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
36039 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
36040 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
36041 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
36042 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
36043 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
36044 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
36045 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
36046 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36047 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36048 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36049 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
36050 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
36051 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
36052 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
36053 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
36054 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
36055 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
36056 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
36057 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
36058 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
36059 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36060 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36061 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36062 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36063 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
36064 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
36065 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
36066 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
36067 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36068 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36069 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
36070 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
36071 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36072 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
36073 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36074 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
36075 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36076 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36077 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36078 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
36079 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36080 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
36081 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
36082 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
36083 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
36084 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
36085 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
36086 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
36087 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
36088 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
36089 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
36090 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
36091 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
36092 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
36093 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
36094 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
36095 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
36096 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
36097 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
36098 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36099 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36100 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36101 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
36102 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
36103 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
36104 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
36105 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
36106 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36107 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36108 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36109 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
36110 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
36111 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
36112 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
36113 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
36114 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
36115 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
36116 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
36117 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_wxGCDC
, _p_wxGCDCTo_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_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_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_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_wxAutoBufferedPaintDC
, _p_wxAutoBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_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}};
36118 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
36119 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
36120 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
36121 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
36122 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
36123 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
36124 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}};
36125 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
36126 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
36127 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
36128 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
36129 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
36130 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
36131 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
36132 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
36133 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
36134 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
36135 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
36136 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
36137 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
36138 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
36139 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
36140 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
36141 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
36142 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
36143 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}};
36144 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxWindowDC
, 0, 0},{0, 0, 0, 0}};
36146 static swig_cast_info
*swig_cast_initial
[] = {
36150 _swigc__p_form_ops_t
,
36152 _swigc__p_unsigned_char
,
36153 _swigc__p_unsigned_int
,
36154 _swigc__p_unsigned_long
,
36155 _swigc__p_wxANIHandler
,
36156 _swigc__p_wxAcceleratorTable
,
36157 _swigc__p_wxActivateEvent
,
36158 _swigc__p_wxAlphaPixelData
,
36159 _swigc__p_wxAlphaPixelData_Accessor
,
36160 _swigc__p_wxAutoBufferedPaintDC
,
36161 _swigc__p_wxBMPHandler
,
36162 _swigc__p_wxBitmap
,
36163 _swigc__p_wxBoxSizer
,
36165 _swigc__p_wxBrushList
,
36166 _swigc__p_wxBufferedDC
,
36167 _swigc__p_wxBufferedPaintDC
,
36168 _swigc__p_wxCURHandler
,
36170 _swigc__p_wxChildFocusEvent
,
36171 _swigc__p_wxClientDC
,
36172 _swigc__p_wxClipboardTextEvent
,
36173 _swigc__p_wxCloseEvent
,
36175 _swigc__p_wxColour
,
36176 _swigc__p_wxColourDatabase
,
36177 _swigc__p_wxCommandEvent
,
36178 _swigc__p_wxContextMenuEvent
,
36179 _swigc__p_wxControl
,
36180 _swigc__p_wxControlWithItems
,
36181 _swigc__p_wxCursor
,
36183 _swigc__p_wxDCOverlay
,
36185 _swigc__p_wxDateEvent
,
36186 _swigc__p_wxDisplayChangedEvent
,
36187 _swigc__p_wxDropFilesEvent
,
36188 _swigc__p_wxDuplexMode
,
36189 _swigc__p_wxEffects
,
36190 _swigc__p_wxEncodingConverter
,
36191 _swigc__p_wxEraseEvent
,
36193 _swigc__p_wxEvtHandler
,
36194 _swigc__p_wxFSFile
,
36195 _swigc__p_wxFileSystem
,
36196 _swigc__p_wxFlexGridSizer
,
36197 _swigc__p_wxFocusEvent
,
36199 _swigc__p_wxFontList
,
36200 _swigc__p_wxFontMapper
,
36201 _swigc__p_wxGBSizerItem
,
36203 _swigc__p_wxGDIObjListBase
,
36204 _swigc__p_wxGDIObject
,
36205 _swigc__p_wxGIFHandler
,
36206 _swigc__p_wxGraphicsContext
,
36207 _swigc__p_wxGraphicsPath
,
36208 _swigc__p_wxGridBagSizer
,
36209 _swigc__p_wxGridSizer
,
36210 _swigc__p_wxHeaderButtonParams
,
36211 _swigc__p_wxICOHandler
,
36213 _swigc__p_wxIconBundle
,
36214 _swigc__p_wxIconLocation
,
36215 _swigc__p_wxIconizeEvent
,
36216 _swigc__p_wxIdleEvent
,
36218 _swigc__p_wxImageHandler
,
36219 _swigc__p_wxImageList
,
36220 _swigc__p_wxIndividualLayoutConstraint
,
36221 _swigc__p_wxInitDialogEvent
,
36222 _swigc__p_wxJPEGHandler
,
36223 _swigc__p_wxKeyEvent
,
36224 _swigc__p_wxLanguageInfo
,
36225 _swigc__p_wxLayoutConstraints
,
36226 _swigc__p_wxLocale
,
36228 _swigc__p_wxMaximizeEvent
,
36229 _swigc__p_wxMemoryDC
,
36231 _swigc__p_wxMenuBar
,
36232 _swigc__p_wxMenuEvent
,
36233 _swigc__p_wxMenuItem
,
36234 _swigc__p_wxMetaFile
,
36235 _swigc__p_wxMetaFileDC
,
36236 _swigc__p_wxMirrorDC
,
36237 _swigc__p_wxMouseCaptureChangedEvent
,
36238 _swigc__p_wxMouseCaptureLostEvent
,
36239 _swigc__p_wxMouseEvent
,
36240 _swigc__p_wxMoveEvent
,
36241 _swigc__p_wxNativeEncodingInfo
,
36242 _swigc__p_wxNativeFontInfo
,
36243 _swigc__p_wxNativePixelData
,
36244 _swigc__p_wxNativePixelData_Accessor
,
36245 _swigc__p_wxNavigationKeyEvent
,
36246 _swigc__p_wxNcPaintEvent
,
36247 _swigc__p_wxNotifyEvent
,
36248 _swigc__p_wxObject
,
36249 _swigc__p_wxOverlay
,
36250 _swigc__p_wxPCXHandler
,
36251 _swigc__p_wxPNGHandler
,
36252 _swigc__p_wxPNMHandler
,
36253 _swigc__p_wxPaintDC
,
36254 _swigc__p_wxPaintEvent
,
36255 _swigc__p_wxPalette
,
36256 _swigc__p_wxPaletteChangedEvent
,
36257 _swigc__p_wxPaperSize
,
36259 _swigc__p_wxPenList
,
36260 _swigc__p_wxPixelDataBase
,
36262 _swigc__p_wxPoint2D
,
36263 _swigc__p_wxPostScriptDC
,
36264 _swigc__p_wxPrintData
,
36265 _swigc__p_wxPrinterDC
,
36266 _swigc__p_wxPseudoDC
,
36268 _swigc__p_wxPyCommandEvent
,
36269 _swigc__p_wxPyEvent
,
36270 _swigc__p_wxPyFontEnumerator
,
36271 _swigc__p_wxPyImageHandler
,
36272 _swigc__p_wxPyLocale
,
36273 _swigc__p_wxPySizer
,
36274 _swigc__p_wxPyValidator
,
36275 _swigc__p_wxQueryNewPaletteEvent
,
36277 _swigc__p_wxRegion
,
36278 _swigc__p_wxRegionIterator
,
36279 _swigc__p_wxRendererNative
,
36280 _swigc__p_wxRendererVersion
,
36281 _swigc__p_wxScreenDC
,
36282 _swigc__p_wxScrollEvent
,
36283 _swigc__p_wxScrollWinEvent
,
36284 _swigc__p_wxSetCursorEvent
,
36285 _swigc__p_wxShowEvent
,
36287 _swigc__p_wxSizeEvent
,
36289 _swigc__p_wxSizerItem
,
36290 _swigc__p_wxSplitterRenderParams
,
36291 _swigc__p_wxStaticBoxSizer
,
36292 _swigc__p_wxStdDialogButtonSizer
,
36293 _swigc__p_wxStockGDI
,
36294 _swigc__p_wxString
,
36295 _swigc__p_wxSysColourChangedEvent
,
36296 _swigc__p_wxTIFFHandler
,
36297 _swigc__p_wxUpdateUIEvent
,
36298 _swigc__p_wxValidator
,
36299 _swigc__p_wxWindow
,
36300 _swigc__p_wxWindowCreateEvent
,
36301 _swigc__p_wxWindowDC
,
36302 _swigc__p_wxWindowDestroyEvent
,
36303 _swigc__p_wxXPMHandler
,
36307 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36309 static swig_const_info swig_const_table
[] = {
36310 {0, 0, 0, 0.0, 0, 0}};
36315 /* -----------------------------------------------------------------------------
36316 * Type initialization:
36317 * This problem is tough by the requirement that no dynamic
36318 * memory is used. Also, since swig_type_info structures store pointers to
36319 * swig_cast_info structures and swig_cast_info structures store pointers back
36320 * to swig_type_info structures, we need some lookup code at initialization.
36321 * The idea is that swig generates all the structures that are needed.
36322 * The runtime then collects these partially filled structures.
36323 * The SWIG_InitializeModule function takes these initial arrays out of
36324 * swig_module, and does all the lookup, filling in the swig_module.types
36325 * array with the correct data and linking the correct swig_cast_info
36326 * structures together.
36328 * The generated swig_type_info structures are assigned staticly to an initial
36329 * array. We just loop though that array, and handle each type individually.
36330 * First we lookup if this type has been already loaded, and if so, use the
36331 * loaded structure instead of the generated one. Then we have to fill in the
36332 * cast linked list. The cast data is initially stored in something like a
36333 * two-dimensional array. Each row corresponds to a type (there are the same
36334 * number of rows as there are in the swig_type_initial array). Each entry in
36335 * a column is one of the swig_cast_info structures for that type.
36336 * The cast_initial array is actually an array of arrays, because each row has
36337 * a variable number of columns. So to actually build the cast linked list,
36338 * we find the array of casts associated with the type, and loop through it
36339 * adding the casts to the list. The one last trick we need to do is making
36340 * sure the type pointer in the swig_cast_info struct is correct.
36342 * First off, we lookup the cast->type name to see if it is already loaded.
36343 * There are three cases to handle:
36344 * 1) If the cast->type has already been loaded AND the type we are adding
36345 * casting info to has not been loaded (it is in this module), THEN we
36346 * replace the cast->type pointer with the type pointer that has already
36348 * 2) If BOTH types (the one we are adding casting info to, and the
36349 * cast->type) are loaded, THEN the cast info has already been loaded by
36350 * the previous module so we just ignore it.
36351 * 3) Finally, if cast->type has not already been loaded, then we add that
36352 * swig_cast_info to the linked list (because the cast->type) pointer will
36354 * ----------------------------------------------------------------------------- */
36364 #define SWIGRUNTIME_DEBUG
36368 SWIG_InitializeModule(void *clientdata
) {
36370 swig_module_info
*module_head
;
36371 static int init_run
= 0;
36373 clientdata
= clientdata
;
36375 if (init_run
) return;
36378 /* Initialize the swig_module */
36379 swig_module
.type_initial
= swig_type_initial
;
36380 swig_module
.cast_initial
= swig_cast_initial
;
36382 /* Try and load any already created modules */
36383 module_head
= SWIG_GetModule(clientdata
);
36385 swig_module
.next
= module_head
->next
;
36386 module_head
->next
= &swig_module
;
36388 /* This is the first module loaded */
36389 swig_module
.next
= &swig_module
;
36390 SWIG_SetModule(clientdata
, &swig_module
);
36393 /* Now work on filling in swig_module.types */
36394 #ifdef SWIGRUNTIME_DEBUG
36395 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
36397 for (i
= 0; i
< swig_module
.size
; ++i
) {
36398 swig_type_info
*type
= 0;
36399 swig_type_info
*ret
;
36400 swig_cast_info
*cast
;
36402 #ifdef SWIGRUNTIME_DEBUG
36403 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
36406 /* if there is another module already loaded */
36407 if (swig_module
.next
!= &swig_module
) {
36408 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
36411 /* Overwrite clientdata field */
36412 #ifdef SWIGRUNTIME_DEBUG
36413 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
36415 if (swig_module
.type_initial
[i
]->clientdata
) {
36416 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
36417 #ifdef SWIGRUNTIME_DEBUG
36418 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
36422 type
= swig_module
.type_initial
[i
];
36425 /* Insert casting types */
36426 cast
= swig_module
.cast_initial
[i
];
36427 while (cast
->type
) {
36428 /* Don't need to add information already in the list */
36430 #ifdef SWIGRUNTIME_DEBUG
36431 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
36433 if (swig_module
.next
!= &swig_module
) {
36434 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
36435 #ifdef SWIGRUNTIME_DEBUG
36436 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
36440 if (type
== swig_module
.type_initial
[i
]) {
36441 #ifdef SWIGRUNTIME_DEBUG
36442 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
36447 /* Check for casting already in the list */
36448 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
36449 #ifdef SWIGRUNTIME_DEBUG
36450 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
36452 if (!ocast
) ret
= 0;
36457 #ifdef SWIGRUNTIME_DEBUG
36458 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
36461 type
->cast
->prev
= cast
;
36462 cast
->next
= type
->cast
;
36468 /* Set entry in modules->types array equal to the type */
36469 swig_module
.types
[i
] = type
;
36471 swig_module
.types
[i
] = 0;
36473 #ifdef SWIGRUNTIME_DEBUG
36474 printf("**** SWIG_InitializeModule: Cast List ******\n");
36475 for (i
= 0; i
< swig_module
.size
; ++i
) {
36477 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
36478 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
36479 while (cast
->type
) {
36480 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
36484 printf("---- Total casts: %d\n",j
);
36486 printf("**** SWIG_InitializeModule: Cast List ******\n");
36490 /* This function will propagate the clientdata field of type to
36491 * any new swig_type_info structures that have been added into the list
36492 * of equivalent types. It is like calling
36493 * SWIG_TypeClientData(type, clientdata) a second time.
36496 SWIG_PropagateClientData(void) {
36498 swig_cast_info
*equiv
;
36499 static int init_run
= 0;
36501 if (init_run
) return;
36504 for (i
= 0; i
< swig_module
.size
; i
++) {
36505 if (swig_module
.types
[i
]->clientdata
) {
36506 equiv
= swig_module
.types
[i
]->cast
;
36508 if (!equiv
->converter
) {
36509 if (equiv
->type
&& !equiv
->type
->clientdata
)
36510 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
36512 equiv
= equiv
->next
;
36532 /* Python-specific SWIG API */
36533 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36534 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36535 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36537 /* -----------------------------------------------------------------------------
36538 * global variable support code.
36539 * ----------------------------------------------------------------------------- */
36541 typedef struct swig_globalvar
{
36542 char *name
; /* Name of global variable */
36543 PyObject
*(*get_attr
)(void); /* Return the current value */
36544 int (*set_attr
)(PyObject
*); /* Set the value */
36545 struct swig_globalvar
*next
;
36548 typedef struct swig_varlinkobject
{
36550 swig_globalvar
*vars
;
36551 } swig_varlinkobject
;
36553 SWIGINTERN PyObject
*
36554 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
36555 return PyString_FromString("<Swig global variables>");
36558 SWIGINTERN PyObject
*
36559 swig_varlink_str(swig_varlinkobject
*v
) {
36560 PyObject
*str
= PyString_FromString("(");
36561 swig_globalvar
*var
;
36562 for (var
= v
->vars
; var
; var
=var
->next
) {
36563 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
36564 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
36566 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
36571 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
36572 PyObject
*str
= swig_varlink_str(v
);
36573 fprintf(fp
,"Swig global variables ");
36574 fprintf(fp
,"%s\n", PyString_AsString(str
));
36580 swig_varlink_dealloc(swig_varlinkobject
*v
) {
36581 swig_globalvar
*var
= v
->vars
;
36583 swig_globalvar
*n
= var
->next
;
36590 SWIGINTERN PyObject
*
36591 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
36592 PyObject
*res
= NULL
;
36593 swig_globalvar
*var
= v
->vars
;
36595 if (strcmp(var
->name
,n
) == 0) {
36596 res
= (*var
->get_attr
)();
36601 if (res
== NULL
&& !PyErr_Occurred()) {
36602 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36608 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
36610 swig_globalvar
*var
= v
->vars
;
36612 if (strcmp(var
->name
,n
) == 0) {
36613 res
= (*var
->set_attr
)(p
);
36618 if (res
== 1 && !PyErr_Occurred()) {
36619 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36624 SWIGINTERN PyTypeObject
*
36625 swig_varlink_type(void) {
36626 static char varlink__doc__
[] = "Swig var link object";
36627 static PyTypeObject varlink_type
;
36628 static int type_init
= 0;
36630 const PyTypeObject tmp
36632 PyObject_HEAD_INIT(NULL
)
36633 0, /* Number of items in variable part (ob_size) */
36634 (char *)"swigvarlink", /* Type name (tp_name) */
36635 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
36636 0, /* Itemsize (tp_itemsize) */
36637 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
36638 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
36639 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
36640 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
36641 0, /* tp_compare */
36642 (reprfunc
) swig_varlink_repr
, /* tp_repr */
36643 0, /* tp_as_number */
36644 0, /* tp_as_sequence */
36645 0, /* tp_as_mapping */
36648 (reprfunc
)swig_varlink_str
, /* tp_str */
36649 0, /* tp_getattro */
36650 0, /* tp_setattro */
36651 0, /* tp_as_buffer */
36653 varlink__doc__
, /* tp_doc */
36654 0, /* tp_traverse */
36656 0, /* tp_richcompare */
36657 0, /* tp_weaklistoffset */
36658 #if PY_VERSION_HEX >= 0x02020000
36659 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
36661 #if PY_VERSION_HEX >= 0x02030000
36664 #ifdef COUNT_ALLOCS
36665 0,0,0,0 /* tp_alloc -> tp_next */
36668 varlink_type
= tmp
;
36669 varlink_type
.ob_type
= &PyType_Type
;
36672 return &varlink_type
;
36675 /* Create a variable linking object for use later */
36676 SWIGINTERN PyObject
*
36677 SWIG_Python_newvarlink(void) {
36678 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
36682 return ((PyObject
*) result
);
36686 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
36687 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
36688 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
36690 size_t size
= strlen(name
)+1;
36691 gv
->name
= (char *)malloc(size
);
36693 strncpy(gv
->name
,name
,size
);
36694 gv
->get_attr
= get_attr
;
36695 gv
->set_attr
= set_attr
;
36696 gv
->next
= v
->vars
;
36702 SWIGINTERN PyObject
*
36704 static PyObject
*_SWIG_globals
= 0;
36705 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
36706 return _SWIG_globals
;
36709 /* -----------------------------------------------------------------------------
36710 * constants/methods manipulation
36711 * ----------------------------------------------------------------------------- */
36713 /* Install Constants */
36715 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
36718 for (i
= 0; constants
[i
].type
; ++i
) {
36719 switch(constants
[i
].type
) {
36720 case SWIG_PY_POINTER
:
36721 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
36723 case SWIG_PY_BINARY
:
36724 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
36731 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
36737 /* -----------------------------------------------------------------------------*/
36738 /* Fix SwigMethods to carry the callback ptrs when needed */
36739 /* -----------------------------------------------------------------------------*/
36742 SWIG_Python_FixMethods(PyMethodDef
*methods
,
36743 swig_const_info
*const_table
,
36744 swig_type_info
**types
,
36745 swig_type_info
**types_initial
) {
36747 for (i
= 0; methods
[i
].ml_name
; ++i
) {
36748 const char *c
= methods
[i
].ml_doc
;
36749 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
36751 swig_const_info
*ci
= 0;
36752 const char *name
= c
+ 10;
36753 for (j
= 0; const_table
[j
].type
; ++j
) {
36754 if (strncmp(const_table
[j
].name
, name
,
36755 strlen(const_table
[j
].name
)) == 0) {
36756 ci
= &(const_table
[j
]);
36761 size_t shift
= (ci
->ptype
) - types
;
36762 swig_type_info
*ty
= types_initial
[shift
];
36763 size_t ldoc
= (c
- methods
[i
].ml_doc
);
36764 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
36765 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
36768 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
36770 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
36772 strncpy(buff
, "swig_ptr: ", 10);
36774 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
36775 methods
[i
].ml_doc
= ndoc
;
36787 /* -----------------------------------------------------------------------------*
36788 * Partial Init method
36789 * -----------------------------------------------------------------------------*/
36794 SWIGEXPORT
void SWIG_init(void) {
36797 /* Fix SwigMethods to carry the callback ptrs when needed */
36798 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
36800 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
36801 d
= PyModule_GetDict(m
);
36803 SWIG_InitializeModule(0);
36804 SWIG_InstallConstants(d
,swig_const_table
);
36807 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
36808 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
36809 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
36810 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
36811 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
36812 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
36813 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
36814 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
36815 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
36816 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
36817 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
36818 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
36819 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
36820 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
36821 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
36822 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
36823 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
36824 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
36825 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
36826 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
36827 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
36828 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
36829 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
36830 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
36831 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
36832 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
36833 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
36834 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
36835 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
36836 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
36837 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
36838 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
36839 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
36840 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
36841 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
36842 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
36843 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
36844 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
36845 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
36846 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
36847 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
36848 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
36849 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
36850 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
36851 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
36852 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
36853 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
36854 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
36855 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
36856 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
36857 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
36858 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
36859 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
36860 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
36861 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
36862 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
36863 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
36864 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
36865 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
36866 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
36867 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
36868 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
36869 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
36870 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
36871 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
36872 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
36873 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
36874 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
36875 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
36876 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
36877 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
36878 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
36879 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
36880 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
36881 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
36882 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
36883 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
36884 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
36885 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
36886 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
36887 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
36888 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
36889 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
36890 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
36891 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
36892 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
36893 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
36894 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
36895 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
36896 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
36897 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
36898 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
36899 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
36900 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
36901 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
36902 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
36903 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
36904 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
36905 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
36906 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
36907 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
36908 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
36909 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
36910 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
36911 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
36912 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
36913 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
36914 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
36915 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
36916 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
36917 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
36918 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
36919 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
36920 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
36921 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
36922 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
36923 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
36924 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
36925 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
36926 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
36927 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
36928 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
36929 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
36930 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
36931 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
36932 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
36933 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
36934 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
36935 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
36936 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
36937 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
36938 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
36940 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
36942 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
36943 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
36944 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
36945 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
36946 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
36947 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
36948 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
36949 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
36950 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
36951 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
36952 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
36953 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
36954 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
36955 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
36956 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
36957 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
36958 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
36959 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
36960 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
36961 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
36962 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
36963 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
36964 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
36965 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
36966 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
36967 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
36968 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
36969 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
36970 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
36971 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
36972 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
36973 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
36974 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
36975 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
36976 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
36977 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
36978 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
36979 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
36980 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
36981 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
36982 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
36983 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
36984 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
36985 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
36986 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
36987 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
36988 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
36989 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
36990 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
36991 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
36992 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
36993 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
36994 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
36995 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
36996 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
36997 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
36998 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
36999 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
37000 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
37001 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
37002 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
37003 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
37004 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
37005 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
37006 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
37007 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
37008 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
37009 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
37010 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
37011 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
37012 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
37013 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
37014 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
37015 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
37016 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
37017 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
37018 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
37019 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
37020 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
37021 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
37022 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
37023 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
37024 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
37025 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
37026 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
37027 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
37028 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
37029 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
37030 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
37031 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
37032 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
37033 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
37034 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
37035 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
37036 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
37037 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
37038 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
37039 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
37040 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
37041 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
37042 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
37043 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
37044 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
37045 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
37046 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
37047 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
37048 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
37049 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
37050 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
37051 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
37052 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
37053 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
37054 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
37055 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
37056 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
37057 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
37058 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
37059 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
37060 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
37061 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
37062 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
37063 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
37064 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
37065 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
37066 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
37067 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
37068 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
37069 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
37070 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
37071 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
37072 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
37073 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
37074 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
37075 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
37076 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
37077 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
37078 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
37079 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
37080 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
37081 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
37082 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
37083 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
37084 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
37085 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
37086 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
37087 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
37088 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
37089 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
37090 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
37091 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
37092 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
37093 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
37094 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
37095 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
37096 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
37097 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
37098 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
37099 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
37100 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
37101 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
37102 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
37103 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
37104 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
37105 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
37106 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
37107 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
37108 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
37109 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
37110 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
37111 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
37112 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
37113 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
37114 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
37115 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
37116 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
37117 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
37118 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
37119 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
37120 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
37121 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
37122 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
37123 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
37124 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
37125 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
37126 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
37127 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
37128 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
37129 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
37130 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
37131 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
37132 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
37133 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
37134 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
37135 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
37136 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
37137 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
37138 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
37139 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
37140 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
37141 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
37142 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
37143 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
37144 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
37145 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
37146 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
37147 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
37148 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
37149 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
37150 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
37151 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
37152 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
37153 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
37154 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
37155 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
37156 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
37157 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
37158 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
37159 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
37160 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
37161 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
37162 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
37163 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
37164 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
37165 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
37166 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
37167 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
37168 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
37169 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
37170 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
37171 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
37172 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
37173 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
37174 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
37175 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
37176 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
37177 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
37178 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
37179 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
37180 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
37181 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
37182 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
37183 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
37184 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
37185 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
37186 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
37187 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
37188 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
37189 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
37190 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
37191 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
37192 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
37193 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
37194 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
37195 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
37196 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
37197 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
37198 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
37199 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
37200 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
37201 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
37202 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
37203 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
37204 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
37205 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
37206 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
37207 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
37208 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
37209 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
37210 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
37211 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
37212 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
37213 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
37214 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
37215 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
37216 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
37217 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
37218 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
37219 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
37220 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
37221 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
37222 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
37223 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
37224 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
37225 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
37226 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
37227 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
37228 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
37229 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
37230 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
37231 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
37232 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
37233 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
37234 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
37235 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
37236 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
37237 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
37238 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
37239 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
37240 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
37241 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
37242 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
37243 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
37244 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
37245 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
37246 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
37247 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
37248 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
37249 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
37250 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
37251 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
37252 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
37253 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
37254 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
37255 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
37256 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
37257 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
37258 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
37259 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
37260 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
37262 // Work around a chicken/egg problem in drawlist.cpp
37263 wxPyDrawList_SetAPIPtr();