1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_buffer swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_double swig_types[2]
2469 #define SWIGTYPE_p_form_ops_t swig_types[3]
2470 #define SWIGTYPE_p_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_wxANIHandler swig_types[8]
2475 #define SWIGTYPE_p_wxAcceleratorTable swig_types[9]
2476 #define SWIGTYPE_p_wxActivateEvent swig_types[10]
2477 #define SWIGTYPE_p_wxAlphaPixelData swig_types[11]
2478 #define SWIGTYPE_p_wxAlphaPixelData_Accessor swig_types[12]
2479 #define SWIGTYPE_p_wxBMPHandler swig_types[13]
2480 #define SWIGTYPE_p_wxBitmap swig_types[14]
2481 #define SWIGTYPE_p_wxBoxSizer swig_types[15]
2482 #define SWIGTYPE_p_wxBrush swig_types[16]
2483 #define SWIGTYPE_p_wxBrushList swig_types[17]
2484 #define SWIGTYPE_p_wxBufferedDC swig_types[18]
2485 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[19]
2486 #define SWIGTYPE_p_wxCURHandler swig_types[20]
2487 #define SWIGTYPE_p_wxChar swig_types[21]
2488 #define SWIGTYPE_p_wxChildFocusEvent swig_types[22]
2489 #define SWIGTYPE_p_wxClientDC swig_types[23]
2490 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[24]
2491 #define SWIGTYPE_p_wxCloseEvent swig_types[25]
2492 #define SWIGTYPE_p_wxColor swig_types[26]
2493 #define SWIGTYPE_p_wxColour swig_types[27]
2494 #define SWIGTYPE_p_wxColourDatabase swig_types[28]
2495 #define SWIGTYPE_p_wxCommandEvent swig_types[29]
2496 #define SWIGTYPE_p_wxContextMenuEvent swig_types[30]
2497 #define SWIGTYPE_p_wxControl swig_types[31]
2498 #define SWIGTYPE_p_wxControlWithItems swig_types[32]
2499 #define SWIGTYPE_p_wxCursor swig_types[33]
2500 #define SWIGTYPE_p_wxDC swig_types[34]
2501 #define SWIGTYPE_p_wxDCOverlay swig_types[35]
2502 #define SWIGTYPE_p_wxDash swig_types[36]
2503 #define SWIGTYPE_p_wxDateEvent swig_types[37]
2504 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[38]
2505 #define SWIGTYPE_p_wxDropFilesEvent swig_types[39]
2506 #define SWIGTYPE_p_wxDuplexMode swig_types[40]
2507 #define SWIGTYPE_p_wxEffects swig_types[41]
2508 #define SWIGTYPE_p_wxEncodingConverter swig_types[42]
2509 #define SWIGTYPE_p_wxEraseEvent swig_types[43]
2510 #define SWIGTYPE_p_wxEvent swig_types[44]
2511 #define SWIGTYPE_p_wxEvtHandler swig_types[45]
2512 #define SWIGTYPE_p_wxFSFile swig_types[46]
2513 #define SWIGTYPE_p_wxFileSystem swig_types[47]
2514 #define SWIGTYPE_p_wxFlexGridSizer swig_types[48]
2515 #define SWIGTYPE_p_wxFocusEvent swig_types[49]
2516 #define SWIGTYPE_p_wxFont swig_types[50]
2517 #define SWIGTYPE_p_wxFontList swig_types[51]
2518 #define SWIGTYPE_p_wxFontMapper swig_types[52]
2519 #define SWIGTYPE_p_wxGBSizerItem swig_types[53]
2520 #define SWIGTYPE_p_wxGCDC swig_types[54]
2521 #define SWIGTYPE_p_wxGDIObjListBase swig_types[55]
2522 #define SWIGTYPE_p_wxGDIObject swig_types[56]
2523 #define SWIGTYPE_p_wxGIFHandler swig_types[57]
2524 #define SWIGTYPE_p_wxGraphicsContext swig_types[58]
2525 #define SWIGTYPE_p_wxGraphicsPath swig_types[59]
2526 #define SWIGTYPE_p_wxGridBagSizer swig_types[60]
2527 #define SWIGTYPE_p_wxGridSizer swig_types[61]
2528 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[62]
2529 #define SWIGTYPE_p_wxICOHandler swig_types[63]
2530 #define SWIGTYPE_p_wxIcon swig_types[64]
2531 #define SWIGTYPE_p_wxIconBundle swig_types[65]
2532 #define SWIGTYPE_p_wxIconLocation swig_types[66]
2533 #define SWIGTYPE_p_wxIconizeEvent swig_types[67]
2534 #define SWIGTYPE_p_wxIdleEvent swig_types[68]
2535 #define SWIGTYPE_p_wxImage swig_types[69]
2536 #define SWIGTYPE_p_wxImageHandler swig_types[70]
2537 #define SWIGTYPE_p_wxImageList swig_types[71]
2538 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[72]
2539 #define SWIGTYPE_p_wxInitDialogEvent swig_types[73]
2540 #define SWIGTYPE_p_wxJPEGHandler swig_types[74]
2541 #define SWIGTYPE_p_wxKeyEvent swig_types[75]
2542 #define SWIGTYPE_p_wxLanguageInfo swig_types[76]
2543 #define SWIGTYPE_p_wxLayoutConstraints swig_types[77]
2544 #define SWIGTYPE_p_wxLocale swig_types[78]
2545 #define SWIGTYPE_p_wxMask swig_types[79]
2546 #define SWIGTYPE_p_wxMaximizeEvent swig_types[80]
2547 #define SWIGTYPE_p_wxMemoryDC swig_types[81]
2548 #define SWIGTYPE_p_wxMenu swig_types[82]
2549 #define SWIGTYPE_p_wxMenuBar swig_types[83]
2550 #define SWIGTYPE_p_wxMenuEvent swig_types[84]
2551 #define SWIGTYPE_p_wxMenuItem swig_types[85]
2552 #define SWIGTYPE_p_wxMetaFile swig_types[86]
2553 #define SWIGTYPE_p_wxMetaFileDC swig_types[87]
2554 #define SWIGTYPE_p_wxMirrorDC swig_types[88]
2555 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[89]
2556 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[90]
2557 #define SWIGTYPE_p_wxMouseEvent swig_types[91]
2558 #define SWIGTYPE_p_wxMoveEvent swig_types[92]
2559 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[93]
2560 #define SWIGTYPE_p_wxNativeFontInfo swig_types[94]
2561 #define SWIGTYPE_p_wxNativePixelData swig_types[95]
2562 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[96]
2563 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[97]
2564 #define SWIGTYPE_p_wxNcPaintEvent swig_types[98]
2565 #define SWIGTYPE_p_wxNotifyEvent swig_types[99]
2566 #define SWIGTYPE_p_wxObject swig_types[100]
2567 #define SWIGTYPE_p_wxOverlay swig_types[101]
2568 #define SWIGTYPE_p_wxPCXHandler swig_types[102]
2569 #define SWIGTYPE_p_wxPNGHandler swig_types[103]
2570 #define SWIGTYPE_p_wxPNMHandler swig_types[104]
2571 #define SWIGTYPE_p_wxPaintDC swig_types[105]
2572 #define SWIGTYPE_p_wxPaintEvent swig_types[106]
2573 #define SWIGTYPE_p_wxPalette swig_types[107]
2574 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPaperSize swig_types[109]
2576 #define SWIGTYPE_p_wxPen swig_types[110]
2577 #define SWIGTYPE_p_wxPenList swig_types[111]
2578 #define SWIGTYPE_p_wxPixelDataBase swig_types[112]
2579 #define SWIGTYPE_p_wxPoint swig_types[113]
2580 #define SWIGTYPE_p_wxPoint2D swig_types[114]
2581 #define SWIGTYPE_p_wxPostScriptDC swig_types[115]
2582 #define SWIGTYPE_p_wxPrintData swig_types[116]
2583 #define SWIGTYPE_p_wxPrinterDC swig_types[117]
2584 #define SWIGTYPE_p_wxPseudoDC swig_types[118]
2585 #define SWIGTYPE_p_wxPyApp swig_types[119]
2586 #define SWIGTYPE_p_wxPyCommandEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPyEvent swig_types[121]
2588 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[122]
2589 #define SWIGTYPE_p_wxPyImageHandler swig_types[123]
2590 #define SWIGTYPE_p_wxPyLocale swig_types[124]
2591 #define SWIGTYPE_p_wxPySizer swig_types[125]
2592 #define SWIGTYPE_p_wxPyValidator swig_types[126]
2593 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[127]
2594 #define SWIGTYPE_p_wxRect swig_types[128]
2595 #define SWIGTYPE_p_wxRegion swig_types[129]
2596 #define SWIGTYPE_p_wxRegionIterator swig_types[130]
2597 #define SWIGTYPE_p_wxRendererNative swig_types[131]
2598 #define SWIGTYPE_p_wxRendererVersion swig_types[132]
2599 #define SWIGTYPE_p_wxScreenDC swig_types[133]
2600 #define SWIGTYPE_p_wxScrollEvent swig_types[134]
2601 #define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSetCursorEvent swig_types[136]
2603 #define SWIGTYPE_p_wxShowEvent swig_types[137]
2604 #define SWIGTYPE_p_wxSize swig_types[138]
2605 #define SWIGTYPE_p_wxSizeEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSizer swig_types[140]
2607 #define SWIGTYPE_p_wxSizerItem swig_types[141]
2608 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[142]
2609 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[143]
2610 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[144]
2611 #define SWIGTYPE_p_wxStockGDI swig_types[145]
2612 #define SWIGTYPE_p_wxString swig_types[146]
2613 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[147]
2614 #define SWIGTYPE_p_wxTIFFHandler swig_types[148]
2615 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[149]
2616 #define SWIGTYPE_p_wxValidator swig_types[150]
2617 #define SWIGTYPE_p_wxWindow swig_types[151]
2618 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[152]
2619 #define SWIGTYPE_p_wxWindowDC swig_types[153]
2620 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[154]
2621 #define SWIGTYPE_p_wxXPMHandler swig_types[155]
2622 static swig_type_info
*swig_types
[157];
2623 static swig_module_info swig_module
= {swig_types
, 156, 0, 0, 0, 0};
2624 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2625 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2627 /* -------- TYPES TABLE (END) -------- */
2629 #if (PY_VERSION_HEX <= 0x02000000)
2630 # if !defined(SWIG_PYTHON_CLASSIC)
2631 # error "This python version requires to use swig with the '-classic' option"
2634 #if (PY_VERSION_HEX <= 0x02020000)
2635 # error "This python version requires to use swig with the '-nomodern' option"
2637 #if (PY_VERSION_HEX <= 0x02020000)
2638 # error "This python version requires to use swig with the '-nomodernargs' option"
2641 # error "This python version requires to use swig with the '-nofastunpack' option"
2644 /*-----------------------------------------------
2645 @(target):= _gdi_.so
2646 ------------------------------------------------*/
2647 #define SWIG_init init_gdi_
2649 #define SWIG_name "_gdi_"
2651 #define SWIGVERSION 0x010329
2654 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2655 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2658 #include <stdexcept>
2662 class PyObject_ptr
{
2667 PyObject_ptr() :_obj(0)
2671 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2676 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2678 if (initial_ref
) Py_XINCREF(_obj
);
2681 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2683 Py_XINCREF(item
._obj
);
2694 operator PyObject
*() const
2699 PyObject
*operator->() const
2708 struct PyObject_var
: PyObject_ptr
{
2709 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2711 PyObject_var
& operator = (PyObject
* obj
)
2721 #include "wx/wxPython/wxPython.h"
2722 #include "wx/wxPython/pyclasses.h"
2725 static const wxString
wxPyEmptyString(wxEmptyString
);
2727 #define SWIG_From_long PyInt_FromLong
2730 SWIGINTERNINLINE PyObject
*
2731 SWIG_From_int (int value
)
2733 return SWIG_From_long (value
);
2739 # define LLONG_MIN LONG_LONG_MIN
2742 # define LLONG_MAX LONG_LONG_MAX
2745 # define ULLONG_MAX ULONG_LONG_MAX
2750 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2752 if (PyNumber_Check(obj
)) {
2753 if (val
) *val
= PyInt_AsLong(obj
);
2756 return SWIG_TypeError
;
2761 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2764 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2765 return SWIG_TypeError
;
2768 *val
= (unsigned long)v
;
2774 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2777 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2778 if (SWIG_IsOK(res
)) {
2779 if ((v
> UCHAR_MAX
)) {
2780 return SWIG_OverflowError
;
2782 if (val
) *val
= static_cast< unsigned char >(v
);
2789 SWIGINTERNINLINE PyObject
*
2790 SWIG_From_unsigned_SS_long (unsigned long value
)
2792 return (value
> LONG_MAX
) ?
2793 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2797 SWIGINTERNINLINE PyObject
*
2798 SWIG_From_unsigned_SS_char (unsigned char value
)
2800 return SWIG_From_unsigned_SS_long (value
);
2803 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2804 wxColour temp
, *obj
= &temp
;
2805 if ( other
== Py_None
) return false;
2806 if ( ! wxColour_helper(other
, &obj
) ) {
2810 return self
->operator==(*obj
);
2812 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2813 wxColour temp
, *obj
= &temp
;
2814 if ( other
== Py_None
) return true;
2815 if ( ! wxColour_helper(other
, &obj
)) {
2819 return self
->operator!=(*obj
);
2823 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2825 if (obj
== Py_True
) {
2826 if (val
) *val
= true;
2828 } else if (obj
== Py_False
) {
2829 if (val
) *val
= false;
2833 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2834 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2839 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2840 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2844 int alpha
= wxALPHA_OPAQUE
;
2847 green
= self
->Green();
2848 blue
= self
->Blue();
2849 alpha
= self
->Alpha();
2851 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2852 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2853 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2855 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2858 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2859 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2863 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2866 int res
= SWIG_AsVal_long (obj
, &v
);
2867 if (SWIG_IsOK(res
)) {
2868 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2869 return SWIG_OverflowError
;
2871 if (val
) *val
= static_cast< int >(v
);
2877 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2879 int count
= self
->GetDashes(&dashes
);
2880 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2881 PyObject
* retval
= PyList_New(0);
2882 for (int x
=0; x
<count
; x
++) {
2883 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2884 PyList_Append(retval
, pyint
);
2887 wxPyEndBlockThreads(blocked
);
2890 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2891 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2892 int size
= PyList_Size(pyDashes
);
2893 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2895 // black magic warning! The array of wxDashes needs to exist as
2896 // long as the pen does because wxPen does not copy the array. So
2897 // stick a copy in a Python string object and attach it to _self,
2898 // and then call SetDashes with a pointer to that array. Then
2899 // when the Python pen object is destroyed the array will be
2901 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2902 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2904 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2906 Py_DECREF(strDashes
);
2907 wxPyEndBlockThreads(blocked
);
2909 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2910 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2912 SWIGINTERNINLINE PyObject
*
2913 SWIG_From_short (short value
)
2915 return SWIG_From_long (value
);
2920 SWIG_AsVal_short (PyObject
* obj
, short *val
)
2923 int res
= SWIG_AsVal_long (obj
, &v
);
2924 if (SWIG_IsOK(res
)) {
2925 if ((v
< SHRT_MIN
|| v
> SHRT_MAX
)) {
2926 return SWIG_OverflowError
;
2928 if (val
) *val
= static_cast< short >(v
);
2935 #include <wx/rawbmp.h>
2938 #include <wx/image.h>
2940 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2941 char** cArray
= NULL
;
2944 if (!PyList_Check(listOfStrings
)) {
2945 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2948 count
= PyList_Size(listOfStrings
);
2949 cArray
= new char*[count
];
2951 for(int x
=0; x
<count
; x
++) {
2952 // TODO: Need some validation and error checking here
2953 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2959 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2960 char** cArray
= NULL
;
2963 cArray
= ConvertListOfStrings(listOfStrings
);
2966 bmp
= new wxBitmap(cArray
);
2970 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2973 PyString_AsStringAndSize(bits
, &buf
, &length
);
2974 return new wxBitmap(buf
, width
, height
, depth
);
2976 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2977 wxSize
size(self
->GetWidth(), self
->GetHeight());
2980 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2981 wxMask
*mask
= new wxMask(*self
, colour
);
2982 self
->SetMask(mask
);
2984 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2985 self
->SetWidth(size
.x
);
2986 self
->SetHeight(size
.y
);
2988 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2989 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2991 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2992 // appears to me that the other platforms are already doing it, so I'll just
2993 // automatically do it for wxMSW here.
2995 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2996 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2998 #define wxPy_premultiply(p, a) (p)
2999 #define wxPy_unpremultiply(p, a) (p)
3003 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3004 buffer data
, int DATASIZE
,
3005 buffer alpha
, int ALPHASIZE
)
3007 if (DATASIZE
!= width
*height
*3) {
3008 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3012 if (ALPHASIZE
!= width
*height
) {
3013 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3017 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3018 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3020 // raise an exception...
3021 wxPyErr_SetString(PyExc_RuntimeError
,
3022 "Failed to gain raw access to bitmap data.");
3027 wxAlphaPixelData::Iterator
p(pixData
);
3028 for (int y
=0; y
<height
; y
++) {
3029 wxAlphaPixelData::Iterator rowStart
= p
;
3030 for (int x
=0; x
<width
; x
++) {
3031 byte a
= *(alpha
++);
3032 p
.Red() = wxPy_premultiply(*(data
++), a
);
3033 p
.Green() = wxPy_premultiply(*(data
++), a
);
3034 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3039 p
.OffsetY(pixData
, 1);
3044 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3046 if (DATASIZE
!= width
*height
*3) {
3047 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3051 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3052 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3054 // raise an exception...
3055 wxPyErr_SetString(PyExc_RuntimeError
,
3056 "Failed to gain raw access to bitmap data.");
3060 wxNativePixelData::Iterator
p(pixData
);
3061 for (int y
=0; y
<height
; y
++) {
3062 wxNativePixelData::Iterator rowStart
= p
;
3063 for (int x
=0; x
<width
; x
++) {
3064 p
.Red() = *(data
++);
3065 p
.Green() = *(data
++);
3066 p
.Blue() = *(data
++);
3070 p
.OffsetY(pixData
, 1);
3076 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3078 if (DATASIZE
!= width
*height
*4) {
3079 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3083 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3084 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3086 // raise an exception...
3087 wxPyErr_SetString(PyExc_RuntimeError
,
3088 "Failed to gain raw access to bitmap data.");
3093 wxAlphaPixelData::Iterator
p(pixData
);
3094 for (int y
=0; y
<height
; y
++) {
3095 wxAlphaPixelData::Iterator rowStart
= p
;
3096 for (int x
=0; x
<width
; x
++) {
3098 p
.Red() = wxPy_premultiply(*(data
++), a
);
3099 p
.Green() = wxPy_premultiply(*(data
++), a
);
3100 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3101 p
.Alpha() = a
; data
++;
3105 p
.OffsetY(pixData
, 1);
3111 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3113 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3114 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3115 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3117 self
->Green() = green
;
3118 self
->Blue() = blue
;
3120 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3121 PyObject
* rv
= PyTuple_New(3);
3122 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3123 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3124 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3128 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3130 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3131 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3132 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3133 self
->Red() = wxPy_premultiply(red
, alpha
);
3134 self
->Green() = wxPy_premultiply(green
, alpha
);
3135 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3136 self
->Alpha() = alpha
;
3138 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3139 PyObject
* rv
= PyTuple_New(4);
3140 int red
= self
->Red();
3141 int green
= self
->Green();
3142 int blue
= self
->Blue();
3143 int alpha
= self
->Alpha();
3145 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3146 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3147 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3148 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3151 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3152 if ( !colour
.IsOk() )
3153 return new wxMask(bitmap
, *wxBLACK
);
3155 return new wxMask(bitmap
, colour
);
3158 #include <wx/iconbndl.h>
3160 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3161 wxIcon
* icon
= new wxIcon();
3162 icon
->CopyFromBitmap(bmp
);
3165 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3166 char** cArray
= NULL
;
3169 cArray
= ConvertListOfStrings(listOfStrings
);
3172 icon
= new wxIcon(cArray
);
3176 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3180 return new wxIconLocation(*filename
);
3183 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3190 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3197 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3199 wxImage
img(cursorName
, type
);
3200 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3201 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3202 return new wxCursor(img
);
3204 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3209 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3212 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3213 return self
->operator bool();
3216 #include <wx/fontutil.h>
3217 #include <wx/fontmap.h>
3218 #include <wx/fontenum.h>
3220 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3221 return self
->ToString();
3224 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3225 static wxNativeEncodingInfo info
;
3226 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3233 SWIGINTERNINLINE PyObject
*
3234 SWIG_From_size_t (size_t value
)
3236 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3240 SWIGINTERNINLINE
int
3241 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3244 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3245 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3249 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3250 wxFontEncoding alt_enc
;
3251 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3252 return PyInt_FromLong(alt_enc
);
3258 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3259 wxNativeFontInfo nfi
;
3260 nfi
.FromString(info
);
3261 return new wxFont(nfi
);
3263 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3264 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3266 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3267 return wxFontBase::New(pixelSize
, family
,
3268 style
, weight
, underlined
,
3271 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3272 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3274 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3275 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3277 class wxPyFontEnumerator
: public wxFontEnumerator
{
3279 wxPyFontEnumerator() {}
3280 ~wxPyFontEnumerator() {}
3282 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3283 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3288 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3289 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3292 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3294 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3295 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3296 ret
= wxArrayString2PyList_helper(arr
);
3297 wxPyEndBlockThreads(blocked
);
3300 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3302 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3303 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3304 ret
= wxArrayString2PyList_helper(arr
);
3305 wxPyEndBlockThreads(blocked
);
3311 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3314 loc
= new wxLocale();
3316 loc
= new wxLocale(language
, flags
);
3317 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3318 // for the floating point conversions and such to work right.
3319 #if PY_VERSION_HEX < 0x02040000
3320 setlocale(LC_NUMERIC
, "C");
3324 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3325 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3326 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3327 // for the floating point conversions and such to work right.
3328 #if PY_VERSION_HEX < 0x02040000
3329 setlocale(LC_NUMERIC
, "C");
3333 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3334 bool rc
= self
->Init(language
, flags
);
3335 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3336 // for the floating point conversions and such to work right.
3337 #if PY_VERSION_HEX < 0x02040000
3338 setlocale(LC_NUMERIC
, "C");
3343 class wxPyLocale
: public wxLocale
3348 wxPyLocale(const wxChar
*szName
, // name (for messages)
3349 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3350 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3351 bool bLoadDefault
= true, // preload wxstd.mo?
3352 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3354 wxPyLocale(int language
, // wxLanguage id or custom language
3355 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3359 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3360 const wxChar
*szDomain
= NULL
) const;
3361 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3362 const wxChar
*szOrigString2
, size_t n
,
3363 const wxChar
*szDomain
= NULL
) const;
3365 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3366 const wxChar
*szDomain
= NULL
) const;
3367 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3368 const wxChar
*szOrigString2
, size_t n
,
3369 const wxChar
*szDomain
= NULL
) const;
3373 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3376 wxPyLocale::wxPyLocale() : wxLocale()
3380 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3381 const wxChar
*szShort
, // dir prefix (for msg files)
3382 const wxChar
*szLocale
, // locale (for setlocale)
3383 bool bLoadDefault
, // preload wxstd.mo?
3384 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3385 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3389 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3390 int flags
) : wxLocale(language
, flags
)
3394 wxPyLocale::~wxPyLocale()
3398 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3399 const wxChar
*szDomain
) const
3401 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3402 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3405 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3406 const wxChar
*szOrigString2
, size_t n
,
3407 const wxChar
*szDomain
) const
3409 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3410 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3413 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3414 const wxChar
*szDomain
) const
3417 static wxString str
;
3418 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.
3419 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3420 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3421 PyObject
* param1
= wx2PyString(szOrigString
);
3422 PyObject
* param2
= wx2PyString(szDomain
);
3423 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3427 str
= Py2wxString(ret
);
3431 wxPyEndBlockThreads(blocked
);
3432 return (found
? (wxChar
*)str
.c_str() : NULL
);
3435 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3436 const wxChar
*szOrigString2
, size_t n
,
3437 const wxChar
*szDomain
) const
3440 static wxString str
;
3441 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.
3442 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3443 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3444 PyObject
* param1
= wx2PyString(szOrigString
);
3445 PyObject
* param2
= wx2PyString(szOrigString2
);
3446 PyObject
* param4
= wx2PyString(szDomain
);
3447 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3452 str
= Py2wxString(ret
);
3456 wxPyEndBlockThreads(blocked
);
3457 return (found
? (wxChar
*)str
.c_str() : NULL
);
3460 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3463 loc
= new wxPyLocale();
3465 loc
= new wxPyLocale(language
, flags
);
3466 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3467 // for the floating point conversions and such to work right.
3468 #if PY_VERSION_HEX < 0x02040000
3469 setlocale(LC_NUMERIC
, "C");
3474 #include "wx/wxPython/pydrawxxx.h"
3476 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3478 self
->GetPixel(x
, y
, &col
);
3481 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3483 self
->GetPixel(pt
, &col
);
3488 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3490 if (PyNumber_Check(obj
)) {
3491 if (val
) *val
= PyFloat_AsDouble(obj
);
3494 return SWIG_TypeError
;
3497 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3499 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3502 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3504 self
->GetClippingBox(rect
);
3507 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3509 self
->GetPartialTextExtents(text
, widths
);
3513 #define SWIG_From_double PyFloat_FromDouble
3515 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3516 self
->SetLogicalOrigin(point
.x
, point
.y
);
3518 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3519 self
->SetDeviceOrigin(point
.x
, point
.y
);
3521 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3522 self
->CalcBoundingBox(point
.x
, point
.y
);
3524 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3525 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3527 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3528 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3530 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3531 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3533 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3534 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3536 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3537 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3539 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3540 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3543 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3551 #include <wx/dcbuffer.h>
3554 #include <wx/dcps.h>
3557 #include <wx/metafile.h>
3560 #include <wx/graphics.h>
3563 #if !wxUSE_GRAPHICS_CONTEXT
3564 // C++ stub classes for platforms that don't have wxGraphicsContext yet.
3566 class wxGraphicsPath
3570 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3571 PyErr_SetString(PyExc_NotImplementedError
,
3572 "wxGraphicsPath is not available on this platform.");
3573 wxPyEndBlockThreads(blocked
);
3575 virtual ~wxGraphicsPath() {}
3577 void MoveToPoint( wxDouble
, wxDouble
) {}
3578 void AddLineToPoint( wxDouble
, wxDouble
) {}
3579 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3580 void CloseSubpath() {}
3581 void GetCurrentPoint( wxDouble
&, wxDouble
&) {}
3582 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3584 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3585 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3586 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3587 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3589 wxPoint2DDouble
GetCurrentPoint() { return wxPoint2DDouble(0,0); }
3590 void MoveToPoint( const wxPoint2DDouble
& ) {}
3591 void AddLineToPoint( const wxPoint2DDouble
&) {}
3592 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3593 void AddArc( const wxPoint2DDouble
&, wxDouble
, wxDouble
, wxDouble
, bool) {}
3597 class wxGraphicsContext
3600 wxGraphicsContext() {
3601 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3602 PyErr_SetString(PyExc_NotImplementedError
,
3603 "wxGraphicsContext is not available on this platform.");
3604 wxPyEndBlockThreads(blocked
);
3606 virtual ~wxGraphicsContext() {}
3608 static wxGraphicsContext
* Create( const wxWindowDC
&) {
3609 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3610 PyErr_SetString(PyExc_NotImplementedError
,
3611 "wxGraphicsPath is not available on this platform.");
3612 wxPyEndBlockThreads(blocked
);
3616 wxGraphicsPath
* CreatePath() { return NULL
; }
3619 void Clip( const wxRegion
& ) {}
3620 void Translate( wxDouble
, wxDouble
) {}
3621 void Scale( wxDouble
, wxDouble
) {}
3622 void Rotate( wxDouble
) {}
3623 void SetPen( const wxPen
& ) {}
3624 void SetBrush( const wxBrush
& ) {}
3625 void SetLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3626 const wxColour
&, const wxColour
&) {}
3627 void SetRadialGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3628 const wxColour
&, const wxColour
&) {}
3629 void SetFont( const wxFont
& ) {}
3630 void SetTextColor( const wxColour
& ) {}
3631 void StrokePath( const wxGraphicsPath
* ) {}
3632 void FillPath( const wxGraphicsPath
*, int ) {}
3633 void DrawPath( const wxGraphicsPath
*, int ) {}
3634 void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3635 void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3636 void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3637 wxDouble
*, wxDouble
* ) const {}
3638 void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3639 void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3640 void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3641 void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3642 void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3643 void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3644 void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3645 void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3646 void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3647 void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3651 class wxGCDC
: public wxWindowDC
3654 wxGCDC(const wxWindowDC
&) {
3655 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3656 PyErr_SetString(PyExc_NotImplementedError
,
3657 "wxGCDC is not available on this platform.");
3658 wxPyEndBlockThreads(blocked
);
3662 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3663 PyErr_SetString(PyExc_NotImplementedError
,
3664 "wxGCDC is not available on this platform.");
3665 wxPyEndBlockThreads(blocked
);
3668 virtual ~wxGCDC() {}
3670 wxGraphicsContext
* GetGraphicContext() { return NULL
; }
3675 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3676 wxArrayDouble widths
;
3677 self
->GetPartialTextExtents(text
, widths
);
3680 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3681 size_t c1
, c2
, count
;
3682 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3683 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3685 if ( beginP
!= NULL
&& endP
!= NULL
)
3687 count
= wxMin(c1
, c2
);
3688 self
->StrokeLines(count
, beginP
, endP
);
3695 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3696 self
->AddColour(name
, wxColour(red
, green
, blue
));
3699 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3700 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3701 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3702 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3705 #include <wx/effects.h>
3708 #include "wx/renderer.h"
3711 SWIGINTERNINLINE PyObject
*
3712 SWIG_From_bool (bool value
)
3714 return PyBool_FromLong(value
? 1 : 0);
3718 #include "wx/wxPython/pseudodc.h"
3720 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3722 self
->GetIdBounds(id
, rect
);
3728 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3729 PyObject
*resultobj
= 0;
3730 wxGDIObject
*result
= 0 ;
3732 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3734 if (!wxPyCheckForApp()) SWIG_fail
;
3735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3736 result
= (wxGDIObject
*)new wxGDIObject();
3737 wxPyEndAllowThreads(__tstate
);
3738 if (PyErr_Occurred()) SWIG_fail
;
3740 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3747 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3748 PyObject
*resultobj
= 0;
3749 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3752 PyObject
*swig_obj
[1] ;
3754 if (!args
) SWIG_fail
;
3756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3757 if (!SWIG_IsOK(res1
)) {
3758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3760 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3765 wxPyEndAllowThreads(__tstate
);
3766 if (PyErr_Occurred()) SWIG_fail
;
3768 resultobj
= SWIG_Py_Void();
3775 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3776 PyObject
*resultobj
= 0;
3777 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3781 PyObject
*swig_obj
[1] ;
3783 if (!args
) SWIG_fail
;
3785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3786 if (!SWIG_IsOK(res1
)) {
3787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3789 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3792 result
= (bool)(arg1
)->IsNull();
3793 wxPyEndAllowThreads(__tstate
);
3794 if (PyErr_Occurred()) SWIG_fail
;
3797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3805 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3807 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3808 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3809 return SWIG_Py_Void();
3812 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3813 return SWIG_Python_InitShadowInstance(args
);
3816 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3817 PyObject
*resultobj
= 0;
3818 byte arg1
= (byte
) 0 ;
3819 byte arg2
= (byte
) 0 ;
3820 byte arg3
= (byte
) 0 ;
3821 byte arg4
= (byte
) wxALPHA_OPAQUE
;
3822 wxColour
*result
= 0 ;
3823 unsigned char val1
;
3825 unsigned char val2
;
3827 unsigned char val3
;
3829 unsigned char val4
;
3831 PyObject
* obj0
= 0 ;
3832 PyObject
* obj1
= 0 ;
3833 PyObject
* obj2
= 0 ;
3834 PyObject
* obj3
= 0 ;
3835 char * kwnames
[] = {
3836 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
3839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3841 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3842 if (!SWIG_IsOK(ecode1
)) {
3843 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3845 arg1
= static_cast< byte
>(val1
);
3848 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3849 if (!SWIG_IsOK(ecode2
)) {
3850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3852 arg2
= static_cast< byte
>(val2
);
3855 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3856 if (!SWIG_IsOK(ecode3
)) {
3857 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3859 arg3
= static_cast< byte
>(val3
);
3862 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3863 if (!SWIG_IsOK(ecode4
)) {
3864 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
3866 arg4
= static_cast< byte
>(val4
);
3869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3870 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
3871 wxPyEndAllowThreads(__tstate
);
3872 if (PyErr_Occurred()) SWIG_fail
;
3874 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3881 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3882 PyObject
*resultobj
= 0;
3883 wxString
*arg1
= 0 ;
3884 wxColour
*result
= 0 ;
3885 bool temp1
= false ;
3886 PyObject
* obj0
= 0 ;
3887 char * kwnames
[] = {
3888 (char *) "colorName", NULL
3891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3893 arg1
= wxString_in_helper(obj0
);
3894 if (arg1
== NULL
) SWIG_fail
;
3898 if (!wxPyCheckForApp()) SWIG_fail
;
3899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3900 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3901 wxPyEndAllowThreads(__tstate
);
3902 if (PyErr_Occurred()) SWIG_fail
;
3904 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3919 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3920 PyObject
*resultobj
= 0;
3921 unsigned long arg1
;
3922 wxColour
*result
= 0 ;
3923 unsigned long val1
;
3925 PyObject
* obj0
= 0 ;
3926 char * kwnames
[] = {
3927 (char *) "colRGB", NULL
3930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3931 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3932 if (!SWIG_IsOK(ecode1
)) {
3933 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3935 arg1
= static_cast< unsigned long >(val1
);
3937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3938 result
= (wxColour
*)new wxColour(arg1
);
3939 wxPyEndAllowThreads(__tstate
);
3940 if (PyErr_Occurred()) SWIG_fail
;
3942 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3949 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3950 PyObject
*resultobj
= 0;
3951 wxColour
*arg1
= (wxColour
*) 0 ;
3954 PyObject
*swig_obj
[1] ;
3956 if (!args
) SWIG_fail
;
3958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3959 if (!SWIG_IsOK(res1
)) {
3960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3962 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3967 wxPyEndAllowThreads(__tstate
);
3968 if (PyErr_Occurred()) SWIG_fail
;
3970 resultobj
= SWIG_Py_Void();
3977 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3978 PyObject
*resultobj
= 0;
3979 wxColour
*arg1
= (wxColour
*) 0 ;
3983 PyObject
*swig_obj
[1] ;
3985 if (!args
) SWIG_fail
;
3987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3988 if (!SWIG_IsOK(res1
)) {
3989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3991 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3994 result
= (byte
)(arg1
)->Red();
3995 wxPyEndAllowThreads(__tstate
);
3996 if (PyErr_Occurred()) SWIG_fail
;
3998 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4005 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4006 PyObject
*resultobj
= 0;
4007 wxColour
*arg1
= (wxColour
*) 0 ;
4011 PyObject
*swig_obj
[1] ;
4013 if (!args
) SWIG_fail
;
4015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4016 if (!SWIG_IsOK(res1
)) {
4017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4019 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4022 result
= (byte
)(arg1
)->Green();
4023 wxPyEndAllowThreads(__tstate
);
4024 if (PyErr_Occurred()) SWIG_fail
;
4026 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4033 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4034 PyObject
*resultobj
= 0;
4035 wxColour
*arg1
= (wxColour
*) 0 ;
4039 PyObject
*swig_obj
[1] ;
4041 if (!args
) SWIG_fail
;
4043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4044 if (!SWIG_IsOK(res1
)) {
4045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4047 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4050 result
= (byte
)(arg1
)->Blue();
4051 wxPyEndAllowThreads(__tstate
);
4052 if (PyErr_Occurred()) SWIG_fail
;
4054 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4061 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4062 PyObject
*resultobj
= 0;
4063 wxColour
*arg1
= (wxColour
*) 0 ;
4067 PyObject
*swig_obj
[1] ;
4069 if (!args
) SWIG_fail
;
4071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4072 if (!SWIG_IsOK(res1
)) {
4073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4075 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4078 result
= (byte
)(arg1
)->Alpha();
4079 wxPyEndAllowThreads(__tstate
);
4080 if (PyErr_Occurred()) SWIG_fail
;
4082 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4089 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4090 PyObject
*resultobj
= 0;
4091 wxColour
*arg1
= (wxColour
*) 0 ;
4095 PyObject
*swig_obj
[1] ;
4097 if (!args
) SWIG_fail
;
4099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4100 if (!SWIG_IsOK(res1
)) {
4101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4103 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4106 result
= (bool)(arg1
)->IsOk();
4107 wxPyEndAllowThreads(__tstate
);
4108 if (PyErr_Occurred()) SWIG_fail
;
4111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4119 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4120 PyObject
*resultobj
= 0;
4121 wxColour
*arg1
= (wxColour
*) 0 ;
4125 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4128 unsigned char val2
;
4130 unsigned char val3
;
4132 unsigned char val4
;
4134 unsigned char val5
;
4136 PyObject
* obj0
= 0 ;
4137 PyObject
* obj1
= 0 ;
4138 PyObject
* obj2
= 0 ;
4139 PyObject
* obj3
= 0 ;
4140 PyObject
* obj4
= 0 ;
4141 char * kwnames
[] = {
4142 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4147 if (!SWIG_IsOK(res1
)) {
4148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4150 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4151 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4152 if (!SWIG_IsOK(ecode2
)) {
4153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4155 arg2
= static_cast< byte
>(val2
);
4156 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4157 if (!SWIG_IsOK(ecode3
)) {
4158 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4160 arg3
= static_cast< byte
>(val3
);
4161 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4162 if (!SWIG_IsOK(ecode4
)) {
4163 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4165 arg4
= static_cast< byte
>(val4
);
4167 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4168 if (!SWIG_IsOK(ecode5
)) {
4169 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4171 arg5
= static_cast< byte
>(val5
);
4174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4175 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4176 wxPyEndAllowThreads(__tstate
);
4177 if (PyErr_Occurred()) SWIG_fail
;
4179 resultobj
= SWIG_Py_Void();
4186 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4187 PyObject
*resultobj
= 0;
4188 wxColour
*arg1
= (wxColour
*) 0 ;
4189 unsigned long arg2
;
4192 unsigned long val2
;
4194 PyObject
* obj0
= 0 ;
4195 PyObject
* obj1
= 0 ;
4196 char * kwnames
[] = {
4197 (char *) "self",(char *) "colRGB", NULL
4200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4202 if (!SWIG_IsOK(res1
)) {
4203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4205 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4206 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4207 if (!SWIG_IsOK(ecode2
)) {
4208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4210 arg2
= static_cast< unsigned long >(val2
);
4212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4214 wxPyEndAllowThreads(__tstate
);
4215 if (PyErr_Occurred()) SWIG_fail
;
4217 resultobj
= SWIG_Py_Void();
4224 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4225 PyObject
*resultobj
= 0;
4226 wxColour
*arg1
= (wxColour
*) 0 ;
4227 wxString
*arg2
= 0 ;
4230 bool temp2
= false ;
4231 PyObject
* obj0
= 0 ;
4232 PyObject
* obj1
= 0 ;
4233 char * kwnames
[] = {
4234 (char *) "self",(char *) "colourName", NULL
4237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4239 if (!SWIG_IsOK(res1
)) {
4240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4242 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4244 arg2
= wxString_in_helper(obj1
);
4245 if (arg2
== NULL
) SWIG_fail
;
4249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4250 (arg1
)->Set((wxString
const &)*arg2
);
4251 wxPyEndAllowThreads(__tstate
);
4252 if (PyErr_Occurred()) SWIG_fail
;
4254 resultobj
= SWIG_Py_Void();
4269 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
*resultobj
= 0;
4271 wxColour
*arg1
= (wxColour
*) 0 ;
4272 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4278 PyObject
* obj0
= 0 ;
4279 PyObject
* obj1
= 0 ;
4280 char * kwnames
[] = {
4281 (char *) "self",(char *) "flags", NULL
4284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4286 if (!SWIG_IsOK(res1
)) {
4287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4289 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4291 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4292 if (!SWIG_IsOK(ecode2
)) {
4293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4295 arg2
= static_cast< long >(val2
);
4298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4299 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4300 wxPyEndAllowThreads(__tstate
);
4301 if (PyErr_Occurred()) SWIG_fail
;
4305 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4307 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4316 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4317 PyObject
*resultobj
= 0;
4318 wxColour
*arg1
= (wxColour
*) 0 ;
4322 PyObject
*swig_obj
[1] ;
4324 if (!args
) SWIG_fail
;
4326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4327 if (!SWIG_IsOK(res1
)) {
4328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4330 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4333 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4334 wxPyEndAllowThreads(__tstate
);
4335 if (PyErr_Occurred()) SWIG_fail
;
4337 resultobj
= SWIG_From_long(static_cast< long >(result
));
4344 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4345 PyObject
*resultobj
= 0;
4346 wxColour
*arg1
= (wxColour
*) 0 ;
4347 PyObject
*arg2
= (PyObject
*) 0 ;
4351 PyObject
* obj0
= 0 ;
4352 PyObject
* obj1
= 0 ;
4353 char * kwnames
[] = {
4354 (char *) "self",(char *) "other", NULL
4357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4359 if (!SWIG_IsOK(res1
)) {
4360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4362 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4365 result
= (bool)wxColour___eq__(arg1
,arg2
);
4366 if (PyErr_Occurred()) SWIG_fail
;
4369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4377 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4378 PyObject
*resultobj
= 0;
4379 wxColour
*arg1
= (wxColour
*) 0 ;
4380 PyObject
*arg2
= (PyObject
*) 0 ;
4384 PyObject
* obj0
= 0 ;
4385 PyObject
* obj1
= 0 ;
4386 char * kwnames
[] = {
4387 (char *) "self",(char *) "other", NULL
4390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4392 if (!SWIG_IsOK(res1
)) {
4393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4395 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4398 result
= (bool)wxColour___ne__(arg1
,arg2
);
4399 if (PyErr_Occurred()) SWIG_fail
;
4402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4410 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4411 PyObject
*resultobj
= 0;
4412 wxColour
*arg1
= (wxColour
*) 0 ;
4413 bool arg2
= (bool) false ;
4414 PyObject
*result
= 0 ;
4419 PyObject
* obj0
= 0 ;
4420 PyObject
* obj1
= 0 ;
4421 char * kwnames
[] = {
4422 (char *) "self",(char *) "includeAlpha", NULL
4425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4427 if (!SWIG_IsOK(res1
)) {
4428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4430 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4432 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4433 if (!SWIG_IsOK(ecode2
)) {
4434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4436 arg2
= static_cast< bool >(val2
);
4439 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4440 if (PyErr_Occurred()) SWIG_fail
;
4449 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4450 PyObject
*resultobj
= 0;
4451 wxColour
*arg1
= (wxColour
*) 0 ;
4452 unsigned long result
;
4455 PyObject
*swig_obj
[1] ;
4457 if (!args
) SWIG_fail
;
4459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4460 if (!SWIG_IsOK(res1
)) {
4461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4463 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4465 result
= (unsigned long)wxColour_GetRGB(arg1
);
4466 if (PyErr_Occurred()) SWIG_fail
;
4468 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4475 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4477 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4478 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4479 return SWIG_Py_Void();
4482 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4483 return SWIG_Python_InitShadowInstance(args
);
4486 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4487 PyObject
*resultobj
= 0;
4489 unsigned char *arg2
= (unsigned char *) 0 ;
4490 unsigned char *arg3
= (unsigned char *) 0 ;
4491 unsigned char *arg4
= (unsigned char *) 0 ;
4492 wxPalette
*result
= 0 ;
4501 PyObject
* obj0
= 0 ;
4502 PyObject
* obj1
= 0 ;
4503 PyObject
* obj2
= 0 ;
4504 PyObject
* obj3
= 0 ;
4505 char * kwnames
[] = {
4506 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4510 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4511 if (!SWIG_IsOK(ecode1
)) {
4512 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4514 arg1
= static_cast< int >(val1
);
4515 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4516 if (!SWIG_IsOK(res2
)) {
4517 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4519 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4520 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4521 if (!SWIG_IsOK(res3
)) {
4522 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4524 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4525 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4526 if (!SWIG_IsOK(res4
)) {
4527 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4529 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4531 if (!wxPyCheckForApp()) SWIG_fail
;
4532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4533 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4534 wxPyEndAllowThreads(__tstate
);
4535 if (PyErr_Occurred()) SWIG_fail
;
4537 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4544 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4545 PyObject
*resultobj
= 0;
4546 wxPalette
*arg1
= (wxPalette
*) 0 ;
4549 PyObject
*swig_obj
[1] ;
4551 if (!args
) SWIG_fail
;
4553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4554 if (!SWIG_IsOK(res1
)) {
4555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4557 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4562 wxPyEndAllowThreads(__tstate
);
4563 if (PyErr_Occurred()) SWIG_fail
;
4565 resultobj
= SWIG_Py_Void();
4572 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
*resultobj
= 0;
4574 wxPalette
*arg1
= (wxPalette
*) 0 ;
4581 unsigned char val2
;
4583 unsigned char val3
;
4585 unsigned char val4
;
4587 PyObject
* obj0
= 0 ;
4588 PyObject
* obj1
= 0 ;
4589 PyObject
* obj2
= 0 ;
4590 PyObject
* obj3
= 0 ;
4591 char * kwnames
[] = {
4592 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4597 if (!SWIG_IsOK(res1
)) {
4598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4600 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4601 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4602 if (!SWIG_IsOK(ecode2
)) {
4603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4605 arg2
= static_cast< byte
>(val2
);
4606 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4607 if (!SWIG_IsOK(ecode3
)) {
4608 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4610 arg3
= static_cast< byte
>(val3
);
4611 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4612 if (!SWIG_IsOK(ecode4
)) {
4613 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4615 arg4
= static_cast< byte
>(val4
);
4617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4618 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4619 wxPyEndAllowThreads(__tstate
);
4620 if (PyErr_Occurred()) SWIG_fail
;
4622 resultobj
= SWIG_From_int(static_cast< int >(result
));
4629 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4630 PyObject
*resultobj
= 0;
4631 wxPalette
*arg1
= (wxPalette
*) 0 ;
4633 byte
*arg3
= (byte
*) 0 ;
4634 byte
*arg4
= (byte
*) 0 ;
4635 byte
*arg5
= (byte
*) 0 ;
4642 int res3
= SWIG_TMPOBJ
;
4644 int res4
= SWIG_TMPOBJ
;
4646 int res5
= SWIG_TMPOBJ
;
4647 PyObject
* obj0
= 0 ;
4648 PyObject
* obj1
= 0 ;
4649 char * kwnames
[] = {
4650 (char *) "self",(char *) "pixel", NULL
4656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4658 if (!SWIG_IsOK(res1
)) {
4659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4661 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4662 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4663 if (!SWIG_IsOK(ecode2
)) {
4664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4666 arg2
= static_cast< int >(val2
);
4668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4669 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4670 wxPyEndAllowThreads(__tstate
);
4671 if (PyErr_Occurred()) SWIG_fail
;
4674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4676 if (SWIG_IsTmpObj(res3
)) {
4677 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4679 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4680 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4682 if (SWIG_IsTmpObj(res4
)) {
4683 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4685 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4686 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4688 if (SWIG_IsTmpObj(res5
)) {
4689 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4691 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4692 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4700 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4701 PyObject
*resultobj
= 0;
4702 wxPalette
*arg1
= (wxPalette
*) 0 ;
4706 PyObject
*swig_obj
[1] ;
4708 if (!args
) SWIG_fail
;
4710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4711 if (!SWIG_IsOK(res1
)) {
4712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4714 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4717 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4718 wxPyEndAllowThreads(__tstate
);
4719 if (PyErr_Occurred()) SWIG_fail
;
4721 resultobj
= SWIG_From_int(static_cast< int >(result
));
4728 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4729 PyObject
*resultobj
= 0;
4730 wxPalette
*arg1
= (wxPalette
*) 0 ;
4734 PyObject
*swig_obj
[1] ;
4736 if (!args
) SWIG_fail
;
4738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4739 if (!SWIG_IsOK(res1
)) {
4740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
4742 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4745 result
= (bool)(arg1
)->IsOk();
4746 wxPyEndAllowThreads(__tstate
);
4747 if (PyErr_Occurred()) SWIG_fail
;
4750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4758 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4760 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4761 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4762 return SWIG_Py_Void();
4765 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4766 return SWIG_Python_InitShadowInstance(args
);
4769 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4770 PyObject
*resultobj
= 0;
4771 wxColour
*arg1
= 0 ;
4772 int arg2
= (int) 1 ;
4773 int arg3
= (int) wxSOLID
;
4780 PyObject
* obj0
= 0 ;
4781 PyObject
* obj1
= 0 ;
4782 PyObject
* obj2
= 0 ;
4783 char * kwnames
[] = {
4784 (char *) "colour",(char *) "width",(char *) "style", NULL
4787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4790 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4794 if (!SWIG_IsOK(ecode2
)) {
4795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4797 arg2
= static_cast< int >(val2
);
4800 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4801 if (!SWIG_IsOK(ecode3
)) {
4802 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4804 arg3
= static_cast< int >(val3
);
4807 if (!wxPyCheckForApp()) SWIG_fail
;
4808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4809 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4810 wxPyEndAllowThreads(__tstate
);
4811 if (PyErr_Occurred()) SWIG_fail
;
4813 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4820 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4821 PyObject
*resultobj
= 0;
4822 wxPen
*arg1
= (wxPen
*) 0 ;
4825 PyObject
*swig_obj
[1] ;
4827 if (!args
) SWIG_fail
;
4829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4830 if (!SWIG_IsOK(res1
)) {
4831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4833 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4838 wxPyEndAllowThreads(__tstate
);
4839 if (PyErr_Occurred()) SWIG_fail
;
4841 resultobj
= SWIG_Py_Void();
4848 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4849 PyObject
*resultobj
= 0;
4850 wxPen
*arg1
= (wxPen
*) 0 ;
4854 PyObject
*swig_obj
[1] ;
4856 if (!args
) SWIG_fail
;
4858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4859 if (!SWIG_IsOK(res1
)) {
4860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4862 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4865 result
= (int)(arg1
)->GetCap();
4866 wxPyEndAllowThreads(__tstate
);
4867 if (PyErr_Occurred()) SWIG_fail
;
4869 resultobj
= SWIG_From_int(static_cast< int >(result
));
4876 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4877 PyObject
*resultobj
= 0;
4878 wxPen
*arg1
= (wxPen
*) 0 ;
4882 PyObject
*swig_obj
[1] ;
4884 if (!args
) SWIG_fail
;
4886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4887 if (!SWIG_IsOK(res1
)) {
4888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4890 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4893 result
= (arg1
)->GetColour();
4894 wxPyEndAllowThreads(__tstate
);
4895 if (PyErr_Occurred()) SWIG_fail
;
4897 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4904 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4905 PyObject
*resultobj
= 0;
4906 wxPen
*arg1
= (wxPen
*) 0 ;
4910 PyObject
*swig_obj
[1] ;
4912 if (!args
) SWIG_fail
;
4914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4915 if (!SWIG_IsOK(res1
)) {
4916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4918 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4921 result
= (int)(arg1
)->GetJoin();
4922 wxPyEndAllowThreads(__tstate
);
4923 if (PyErr_Occurred()) SWIG_fail
;
4925 resultobj
= SWIG_From_int(static_cast< int >(result
));
4932 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4933 PyObject
*resultobj
= 0;
4934 wxPen
*arg1
= (wxPen
*) 0 ;
4938 PyObject
*swig_obj
[1] ;
4940 if (!args
) SWIG_fail
;
4942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4943 if (!SWIG_IsOK(res1
)) {
4944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4946 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4949 result
= (int)(arg1
)->GetStyle();
4950 wxPyEndAllowThreads(__tstate
);
4951 if (PyErr_Occurred()) SWIG_fail
;
4953 resultobj
= SWIG_From_int(static_cast< int >(result
));
4960 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4961 PyObject
*resultobj
= 0;
4962 wxPen
*arg1
= (wxPen
*) 0 ;
4966 PyObject
*swig_obj
[1] ;
4968 if (!args
) SWIG_fail
;
4970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4971 if (!SWIG_IsOK(res1
)) {
4972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4974 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4977 result
= (int)(arg1
)->GetWidth();
4978 wxPyEndAllowThreads(__tstate
);
4979 if (PyErr_Occurred()) SWIG_fail
;
4981 resultobj
= SWIG_From_int(static_cast< int >(result
));
4988 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4989 PyObject
*resultobj
= 0;
4990 wxPen
*arg1
= (wxPen
*) 0 ;
4994 PyObject
*swig_obj
[1] ;
4996 if (!args
) SWIG_fail
;
4998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4999 if (!SWIG_IsOK(res1
)) {
5000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5002 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5005 result
= (bool)(arg1
)->IsOk();
5006 wxPyEndAllowThreads(__tstate
);
5007 if (PyErr_Occurred()) SWIG_fail
;
5010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5018 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5019 PyObject
*resultobj
= 0;
5020 wxPen
*arg1
= (wxPen
*) 0 ;
5026 PyObject
* obj0
= 0 ;
5027 PyObject
* obj1
= 0 ;
5028 char * kwnames
[] = {
5029 (char *) "self",(char *) "cap_style", NULL
5032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5034 if (!SWIG_IsOK(res1
)) {
5035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5037 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5038 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5039 if (!SWIG_IsOK(ecode2
)) {
5040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5042 arg2
= static_cast< int >(val2
);
5044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5045 (arg1
)->SetCap(arg2
);
5046 wxPyEndAllowThreads(__tstate
);
5047 if (PyErr_Occurred()) SWIG_fail
;
5049 resultobj
= SWIG_Py_Void();
5056 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5057 PyObject
*resultobj
= 0;
5058 wxPen
*arg1
= (wxPen
*) 0 ;
5059 wxColour
*arg2
= 0 ;
5063 PyObject
* obj0
= 0 ;
5064 PyObject
* obj1
= 0 ;
5065 char * kwnames
[] = {
5066 (char *) "self",(char *) "colour", NULL
5069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5071 if (!SWIG_IsOK(res1
)) {
5072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5074 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5077 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5081 (arg1
)->SetColour(*arg2
);
5082 wxPyEndAllowThreads(__tstate
);
5083 if (PyErr_Occurred()) SWIG_fail
;
5085 resultobj
= SWIG_Py_Void();
5092 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5093 PyObject
*resultobj
= 0;
5094 wxPen
*arg1
= (wxPen
*) 0 ;
5100 PyObject
* obj0
= 0 ;
5101 PyObject
* obj1
= 0 ;
5102 char * kwnames
[] = {
5103 (char *) "self",(char *) "join_style", NULL
5106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5108 if (!SWIG_IsOK(res1
)) {
5109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5111 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5112 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5113 if (!SWIG_IsOK(ecode2
)) {
5114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5116 arg2
= static_cast< int >(val2
);
5118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5119 (arg1
)->SetJoin(arg2
);
5120 wxPyEndAllowThreads(__tstate
);
5121 if (PyErr_Occurred()) SWIG_fail
;
5123 resultobj
= SWIG_Py_Void();
5130 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5131 PyObject
*resultobj
= 0;
5132 wxPen
*arg1
= (wxPen
*) 0 ;
5138 PyObject
* obj0
= 0 ;
5139 PyObject
* obj1
= 0 ;
5140 char * kwnames
[] = {
5141 (char *) "self",(char *) "style", NULL
5144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5146 if (!SWIG_IsOK(res1
)) {
5147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5149 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5151 if (!SWIG_IsOK(ecode2
)) {
5152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5154 arg2
= static_cast< int >(val2
);
5156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5157 (arg1
)->SetStyle(arg2
);
5158 wxPyEndAllowThreads(__tstate
);
5159 if (PyErr_Occurred()) SWIG_fail
;
5161 resultobj
= SWIG_Py_Void();
5168 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5169 PyObject
*resultobj
= 0;
5170 wxPen
*arg1
= (wxPen
*) 0 ;
5176 PyObject
* obj0
= 0 ;
5177 PyObject
* obj1
= 0 ;
5178 char * kwnames
[] = {
5179 (char *) "self",(char *) "width", NULL
5182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5184 if (!SWIG_IsOK(res1
)) {
5185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5187 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5188 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5189 if (!SWIG_IsOK(ecode2
)) {
5190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5192 arg2
= static_cast< int >(val2
);
5194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5195 (arg1
)->SetWidth(arg2
);
5196 wxPyEndAllowThreads(__tstate
);
5197 if (PyErr_Occurred()) SWIG_fail
;
5199 resultobj
= SWIG_Py_Void();
5206 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5207 PyObject
*resultobj
= 0;
5208 wxPen
*arg1
= (wxPen
*) 0 ;
5210 wxDash
*arg3
= (wxDash
*) 0 ;
5213 PyObject
* obj0
= 0 ;
5214 PyObject
* obj1
= 0 ;
5215 char * kwnames
[] = {
5216 (char *) "self",(char *) "dashes", NULL
5219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5221 if (!SWIG_IsOK(res1
)) {
5222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5224 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5226 arg2
= PyList_Size(obj1
);
5227 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5228 if (arg3
== NULL
) SWIG_fail
;
5231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5232 (arg1
)->SetDashes(arg2
,arg3
);
5233 wxPyEndAllowThreads(__tstate
);
5234 if (PyErr_Occurred()) SWIG_fail
;
5236 resultobj
= SWIG_Py_Void();
5238 if (arg3
) delete [] arg3
;
5243 if (arg3
) delete [] arg3
;
5249 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5250 PyObject
*resultobj
= 0;
5251 wxPen
*arg1
= (wxPen
*) 0 ;
5252 PyObject
*result
= 0 ;
5255 PyObject
*swig_obj
[1] ;
5257 if (!args
) SWIG_fail
;
5259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5260 if (!SWIG_IsOK(res1
)) {
5261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5263 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5266 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5267 wxPyEndAllowThreads(__tstate
);
5268 if (PyErr_Occurred()) SWIG_fail
;
5277 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5278 PyObject
*resultobj
= 0;
5279 wxPen
*arg1
= (wxPen
*) 0 ;
5280 PyObject
*arg2
= (PyObject
*) 0 ;
5281 PyObject
*arg3
= (PyObject
*) 0 ;
5284 PyObject
* obj0
= 0 ;
5285 PyObject
* obj1
= 0 ;
5286 PyObject
* obj2
= 0 ;
5287 char * kwnames
[] = {
5288 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5293 if (!SWIG_IsOK(res1
)) {
5294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5296 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5301 wxPen__SetDashes(arg1
,arg2
,arg3
);
5302 wxPyEndAllowThreads(__tstate
);
5303 if (PyErr_Occurred()) SWIG_fail
;
5305 resultobj
= SWIG_Py_Void();
5312 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5313 PyObject
*resultobj
= 0;
5314 wxPen
*arg1
= (wxPen
*) 0 ;
5315 wxPen
*arg2
= (wxPen
*) 0 ;
5321 PyObject
* obj0
= 0 ;
5322 PyObject
* obj1
= 0 ;
5323 char * kwnames
[] = {
5324 (char *) "self",(char *) "other", NULL
5327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5329 if (!SWIG_IsOK(res1
)) {
5330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5332 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5333 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5334 if (!SWIG_IsOK(res2
)) {
5335 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5337 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5340 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5341 wxPyEndAllowThreads(__tstate
);
5342 if (PyErr_Occurred()) SWIG_fail
;
5345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5353 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5354 PyObject
*resultobj
= 0;
5355 wxPen
*arg1
= (wxPen
*) 0 ;
5356 wxPen
*arg2
= (wxPen
*) 0 ;
5362 PyObject
* obj0
= 0 ;
5363 PyObject
* obj1
= 0 ;
5364 char * kwnames
[] = {
5365 (char *) "self",(char *) "other", NULL
5368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5370 if (!SWIG_IsOK(res1
)) {
5371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5373 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5374 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5375 if (!SWIG_IsOK(res2
)) {
5376 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5378 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5381 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5382 wxPyEndAllowThreads(__tstate
);
5383 if (PyErr_Occurred()) SWIG_fail
;
5386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5394 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5396 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5397 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5398 return SWIG_Py_Void();
5401 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5402 return SWIG_Python_InitShadowInstance(args
);
5405 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5406 PyObject
*resultobj
= 0;
5407 wxColour
*arg1
= 0 ;
5408 int arg2
= (int) wxSOLID
;
5409 wxBrush
*result
= 0 ;
5413 PyObject
* obj0
= 0 ;
5414 PyObject
* obj1
= 0 ;
5415 char * kwnames
[] = {
5416 (char *) "colour",(char *) "style", NULL
5419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5422 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5425 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5426 if (!SWIG_IsOK(ecode2
)) {
5427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5429 arg2
= static_cast< int >(val2
);
5432 if (!wxPyCheckForApp()) SWIG_fail
;
5433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5434 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5435 wxPyEndAllowThreads(__tstate
);
5436 if (PyErr_Occurred()) SWIG_fail
;
5438 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5445 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5446 PyObject
*resultobj
= 0;
5447 wxBitmap
*arg1
= 0 ;
5448 wxBrush
*result
= 0 ;
5451 PyObject
* obj0
= 0 ;
5452 char * kwnames
[] = {
5453 (char *) "stippleBitmap", NULL
5456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5457 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5458 if (!SWIG_IsOK(res1
)) {
5459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5462 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5464 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5466 if (!wxPyCheckForApp()) SWIG_fail
;
5467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5468 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5469 wxPyEndAllowThreads(__tstate
);
5470 if (PyErr_Occurred()) SWIG_fail
;
5472 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5479 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5480 PyObject
*resultobj
= 0;
5481 wxBrush
*arg1
= (wxBrush
*) 0 ;
5484 PyObject
*swig_obj
[1] ;
5486 if (!args
) SWIG_fail
;
5488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5489 if (!SWIG_IsOK(res1
)) {
5490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5492 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5497 wxPyEndAllowThreads(__tstate
);
5498 if (PyErr_Occurred()) SWIG_fail
;
5500 resultobj
= SWIG_Py_Void();
5507 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5508 PyObject
*resultobj
= 0;
5509 wxBrush
*arg1
= (wxBrush
*) 0 ;
5510 wxColour
*arg2
= 0 ;
5514 PyObject
* obj0
= 0 ;
5515 PyObject
* obj1
= 0 ;
5516 char * kwnames
[] = {
5517 (char *) "self",(char *) "col", NULL
5520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5522 if (!SWIG_IsOK(res1
)) {
5523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5525 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5528 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5532 (arg1
)->SetColour((wxColour
const &)*arg2
);
5533 wxPyEndAllowThreads(__tstate
);
5534 if (PyErr_Occurred()) SWIG_fail
;
5536 resultobj
= SWIG_Py_Void();
5543 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5544 PyObject
*resultobj
= 0;
5545 wxBrush
*arg1
= (wxBrush
*) 0 ;
5551 PyObject
* obj0
= 0 ;
5552 PyObject
* obj1
= 0 ;
5553 char * kwnames
[] = {
5554 (char *) "self",(char *) "style", NULL
5557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5559 if (!SWIG_IsOK(res1
)) {
5560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5562 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5563 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5564 if (!SWIG_IsOK(ecode2
)) {
5565 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5567 arg2
= static_cast< int >(val2
);
5569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5570 (arg1
)->SetStyle(arg2
);
5571 wxPyEndAllowThreads(__tstate
);
5572 if (PyErr_Occurred()) SWIG_fail
;
5574 resultobj
= SWIG_Py_Void();
5581 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5582 PyObject
*resultobj
= 0;
5583 wxBrush
*arg1
= (wxBrush
*) 0 ;
5584 wxBitmap
*arg2
= 0 ;
5589 PyObject
* obj0
= 0 ;
5590 PyObject
* obj1
= 0 ;
5591 char * kwnames
[] = {
5592 (char *) "self",(char *) "stipple", NULL
5595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5597 if (!SWIG_IsOK(res1
)) {
5598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5600 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5601 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5602 if (!SWIG_IsOK(res2
)) {
5603 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5606 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5608 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5611 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5612 wxPyEndAllowThreads(__tstate
);
5613 if (PyErr_Occurred()) SWIG_fail
;
5615 resultobj
= SWIG_Py_Void();
5622 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5623 PyObject
*resultobj
= 0;
5624 wxBrush
*arg1
= (wxBrush
*) 0 ;
5628 PyObject
*swig_obj
[1] ;
5630 if (!args
) SWIG_fail
;
5632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5633 if (!SWIG_IsOK(res1
)) {
5634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5636 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5639 result
= ((wxBrush
const *)arg1
)->GetColour();
5640 wxPyEndAllowThreads(__tstate
);
5641 if (PyErr_Occurred()) SWIG_fail
;
5643 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5650 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5651 PyObject
*resultobj
= 0;
5652 wxBrush
*arg1
= (wxBrush
*) 0 ;
5656 PyObject
*swig_obj
[1] ;
5658 if (!args
) SWIG_fail
;
5660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5661 if (!SWIG_IsOK(res1
)) {
5662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5664 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5667 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5668 wxPyEndAllowThreads(__tstate
);
5669 if (PyErr_Occurred()) SWIG_fail
;
5671 resultobj
= SWIG_From_int(static_cast< int >(result
));
5678 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5679 PyObject
*resultobj
= 0;
5680 wxBrush
*arg1
= (wxBrush
*) 0 ;
5681 wxBitmap
*result
= 0 ;
5684 PyObject
*swig_obj
[1] ;
5686 if (!args
) SWIG_fail
;
5688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5689 if (!SWIG_IsOK(res1
)) {
5690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5692 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5695 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5696 wxPyEndAllowThreads(__tstate
);
5697 if (PyErr_Occurred()) SWIG_fail
;
5699 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5706 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5707 PyObject
*resultobj
= 0;
5708 wxBrush
*arg1
= (wxBrush
*) 0 ;
5712 PyObject
*swig_obj
[1] ;
5714 if (!args
) SWIG_fail
;
5716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5717 if (!SWIG_IsOK(res1
)) {
5718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5720 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5723 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5724 wxPyEndAllowThreads(__tstate
);
5725 if (PyErr_Occurred()) SWIG_fail
;
5728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5736 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5737 PyObject
*resultobj
= 0;
5738 wxBrush
*arg1
= (wxBrush
*) 0 ;
5742 PyObject
*swig_obj
[1] ;
5744 if (!args
) SWIG_fail
;
5746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5747 if (!SWIG_IsOK(res1
)) {
5748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
5750 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5753 result
= (bool)(arg1
)->IsOk();
5754 wxPyEndAllowThreads(__tstate
);
5755 if (PyErr_Occurred()) SWIG_fail
;
5758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5766 SWIGINTERN PyObject
*_wrap_Brush_MacGetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5767 PyObject
*resultobj
= 0;
5768 wxBrush
*arg1
= (wxBrush
*) 0 ;
5772 PyObject
*swig_obj
[1] ;
5774 if (!args
) SWIG_fail
;
5776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5777 if (!SWIG_IsOK(res1
)) {
5778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacGetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
5780 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5783 result
= (short)(arg1
)->MacGetTheme();
5784 wxPyEndAllowThreads(__tstate
);
5785 if (PyErr_Occurred()) SWIG_fail
;
5787 resultobj
= SWIG_From_short(static_cast< short >(result
));
5794 SWIGINTERN PyObject
*_wrap_Brush_MacSetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5795 PyObject
*resultobj
= 0;
5796 wxBrush
*arg1
= (wxBrush
*) 0 ;
5802 PyObject
* obj0
= 0 ;
5803 PyObject
* obj1
= 0 ;
5804 char * kwnames
[] = {
5805 (char *) "self",(char *) "macThemeBrush", NULL
5808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5810 if (!SWIG_IsOK(res1
)) {
5811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacSetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
5813 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5814 ecode2
= SWIG_AsVal_short(obj1
, &val2
);
5815 if (!SWIG_IsOK(ecode2
)) {
5816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_MacSetTheme" "', expected argument " "2"" of type '" "short""'");
5818 arg2
= static_cast< short >(val2
);
5820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5821 (arg1
)->MacSetTheme(arg2
);
5822 wxPyEndAllowThreads(__tstate
);
5823 if (PyErr_Occurred()) SWIG_fail
;
5825 resultobj
= SWIG_Py_Void();
5832 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5834 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5835 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5836 return SWIG_Py_Void();
5839 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5840 return SWIG_Python_InitShadowInstance(args
);
5843 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5844 PyObject
*resultobj
= 0;
5845 wxString
*arg1
= 0 ;
5846 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5847 wxBitmap
*result
= 0 ;
5848 bool temp1
= false ;
5851 PyObject
* obj0
= 0 ;
5852 PyObject
* obj1
= 0 ;
5853 char * kwnames
[] = {
5854 (char *) "name",(char *) "type", NULL
5857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5859 arg1
= wxString_in_helper(obj0
);
5860 if (arg1
== NULL
) SWIG_fail
;
5864 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5865 if (!SWIG_IsOK(ecode2
)) {
5866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5868 arg2
= static_cast< wxBitmapType
>(val2
);
5871 if (!wxPyCheckForApp()) SWIG_fail
;
5872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5873 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5874 wxPyEndAllowThreads(__tstate
);
5875 if (PyErr_Occurred()) SWIG_fail
;
5877 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5892 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5893 PyObject
*resultobj
= 0;
5894 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5897 PyObject
*swig_obj
[1] ;
5899 if (!args
) SWIG_fail
;
5901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5902 if (!SWIG_IsOK(res1
)) {
5903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5905 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5909 if (PyErr_Occurred()) SWIG_fail
;
5911 resultobj
= SWIG_Py_Void();
5918 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5919 PyObject
*resultobj
= 0;
5922 int arg3
= (int) -1 ;
5923 wxBitmap
*result
= 0 ;
5930 PyObject
* obj0
= 0 ;
5931 PyObject
* obj1
= 0 ;
5932 PyObject
* obj2
= 0 ;
5933 char * kwnames
[] = {
5934 (char *) "width",(char *) "height",(char *) "depth", NULL
5937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5938 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5939 if (!SWIG_IsOK(ecode1
)) {
5940 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5942 arg1
= static_cast< int >(val1
);
5943 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5944 if (!SWIG_IsOK(ecode2
)) {
5945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5947 arg2
= static_cast< int >(val2
);
5949 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5950 if (!SWIG_IsOK(ecode3
)) {
5951 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5953 arg3
= static_cast< int >(val3
);
5956 if (!wxPyCheckForApp()) SWIG_fail
;
5957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5958 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5959 wxPyEndAllowThreads(__tstate
);
5960 if (PyErr_Occurred()) SWIG_fail
;
5962 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5969 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5970 PyObject
*resultobj
= 0;
5972 wxBitmap
*result
= 0 ;
5975 PyObject
* obj0
= 0 ;
5976 char * kwnames
[] = {
5977 (char *) "icon", NULL
5980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5981 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5982 if (!SWIG_IsOK(res1
)) {
5983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5986 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5988 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
5990 if (!wxPyCheckForApp()) SWIG_fail
;
5991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5992 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
5993 wxPyEndAllowThreads(__tstate
);
5994 if (PyErr_Occurred()) SWIG_fail
;
5996 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6003 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6004 PyObject
*resultobj
= 0;
6006 int arg2
= (int) -1 ;
6007 wxBitmap
*result
= 0 ;
6012 PyObject
* obj0
= 0 ;
6013 PyObject
* obj1
= 0 ;
6014 char * kwnames
[] = {
6015 (char *) "image",(char *) "depth", NULL
6018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6019 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6020 if (!SWIG_IsOK(res1
)) {
6021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6024 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6026 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6029 if (!SWIG_IsOK(ecode2
)) {
6030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6032 arg2
= static_cast< int >(val2
);
6035 if (!wxPyCheckForApp()) SWIG_fail
;
6036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6037 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6038 wxPyEndAllowThreads(__tstate
);
6039 if (PyErr_Occurred()) SWIG_fail
;
6041 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6048 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6049 PyObject
*resultobj
= 0;
6050 PyObject
*arg1
= (PyObject
*) 0 ;
6051 wxBitmap
*result
= 0 ;
6052 PyObject
* obj0
= 0 ;
6053 char * kwnames
[] = {
6054 (char *) "listOfStrings", NULL
6057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6060 if (!wxPyCheckForApp()) SWIG_fail
;
6061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6062 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6063 wxPyEndAllowThreads(__tstate
);
6064 if (PyErr_Occurred()) SWIG_fail
;
6066 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6073 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6074 PyObject
*resultobj
= 0;
6075 PyObject
*arg1
= (PyObject
*) 0 ;
6078 int arg4
= (int) 1 ;
6079 wxBitmap
*result
= 0 ;
6086 PyObject
* obj0
= 0 ;
6087 PyObject
* obj1
= 0 ;
6088 PyObject
* obj2
= 0 ;
6089 PyObject
* obj3
= 0 ;
6090 char * kwnames
[] = {
6091 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6097 if (!SWIG_IsOK(ecode2
)) {
6098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6100 arg2
= static_cast< int >(val2
);
6101 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6102 if (!SWIG_IsOK(ecode3
)) {
6103 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6105 arg3
= static_cast< int >(val3
);
6107 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6108 if (!SWIG_IsOK(ecode4
)) {
6109 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6111 arg4
= static_cast< int >(val4
);
6114 if (!wxPyCheckForApp()) SWIG_fail
;
6115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6116 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6117 wxPyEndAllowThreads(__tstate
);
6118 if (PyErr_Occurred()) SWIG_fail
;
6120 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6127 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6128 PyObject
*resultobj
= 0;
6129 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6133 PyObject
*swig_obj
[1] ;
6135 if (!args
) SWIG_fail
;
6137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6138 if (!SWIG_IsOK(res1
)) {
6139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6141 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6143 result
= (bool)(arg1
)->IsOk();
6144 if (PyErr_Occurred()) SWIG_fail
;
6147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6155 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6156 PyObject
*resultobj
= 0;
6157 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6161 PyObject
*swig_obj
[1] ;
6163 if (!args
) SWIG_fail
;
6165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6166 if (!SWIG_IsOK(res1
)) {
6167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6169 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6171 result
= (int)(arg1
)->GetWidth();
6172 if (PyErr_Occurred()) SWIG_fail
;
6174 resultobj
= SWIG_From_int(static_cast< int >(result
));
6181 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6182 PyObject
*resultobj
= 0;
6183 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6187 PyObject
*swig_obj
[1] ;
6189 if (!args
) SWIG_fail
;
6191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6192 if (!SWIG_IsOK(res1
)) {
6193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6195 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6197 result
= (int)(arg1
)->GetHeight();
6198 if (PyErr_Occurred()) SWIG_fail
;
6200 resultobj
= SWIG_From_int(static_cast< int >(result
));
6207 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6208 PyObject
*resultobj
= 0;
6209 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6213 PyObject
*swig_obj
[1] ;
6215 if (!args
) SWIG_fail
;
6217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6218 if (!SWIG_IsOK(res1
)) {
6219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6221 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6223 result
= (int)(arg1
)->GetDepth();
6224 if (PyErr_Occurred()) SWIG_fail
;
6226 resultobj
= SWIG_From_int(static_cast< int >(result
));
6233 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6234 PyObject
*resultobj
= 0;
6235 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6239 PyObject
*swig_obj
[1] ;
6241 if (!args
) SWIG_fail
;
6243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6244 if (!SWIG_IsOK(res1
)) {
6245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6247 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6249 result
= wxBitmap_GetSize(arg1
);
6250 if (PyErr_Occurred()) SWIG_fail
;
6252 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6259 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6260 PyObject
*resultobj
= 0;
6261 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6262 SwigValueWrapper
<wxImage
> result
;
6265 PyObject
*swig_obj
[1] ;
6267 if (!args
) SWIG_fail
;
6269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6270 if (!SWIG_IsOK(res1
)) {
6271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6273 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6275 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6276 if (PyErr_Occurred()) SWIG_fail
;
6278 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6285 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6286 PyObject
*resultobj
= 0;
6287 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6288 wxMask
*result
= 0 ;
6291 PyObject
*swig_obj
[1] ;
6293 if (!args
) SWIG_fail
;
6295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6296 if (!SWIG_IsOK(res1
)) {
6297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6299 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6301 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6302 if (PyErr_Occurred()) SWIG_fail
;
6304 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6311 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6312 PyObject
*resultobj
= 0;
6313 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6314 wxMask
*arg2
= (wxMask
*) 0 ;
6318 PyObject
* obj0
= 0 ;
6319 PyObject
* obj1
= 0 ;
6320 char * kwnames
[] = {
6321 (char *) "self",(char *) "mask", NULL
6324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6326 if (!SWIG_IsOK(res1
)) {
6327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6329 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6330 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6331 if (!SWIG_IsOK(res2
)) {
6332 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6335 (arg1
)->SetMask(arg2
);
6336 if (PyErr_Occurred()) SWIG_fail
;
6338 resultobj
= SWIG_Py_Void();
6345 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6346 PyObject
*resultobj
= 0;
6347 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6348 wxColour
*arg2
= 0 ;
6352 PyObject
* obj0
= 0 ;
6353 PyObject
* obj1
= 0 ;
6354 char * kwnames
[] = {
6355 (char *) "self",(char *) "colour", NULL
6358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6360 if (!SWIG_IsOK(res1
)) {
6361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6363 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6366 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6369 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6370 if (PyErr_Occurred()) SWIG_fail
;
6372 resultobj
= SWIG_Py_Void();
6379 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6380 PyObject
*resultobj
= 0;
6381 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6383 SwigValueWrapper
<wxBitmap
> result
;
6387 PyObject
* obj0
= 0 ;
6388 PyObject
* obj1
= 0 ;
6389 char * kwnames
[] = {
6390 (char *) "self",(char *) "rect", NULL
6393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6395 if (!SWIG_IsOK(res1
)) {
6396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6398 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6401 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6404 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6405 if (PyErr_Occurred()) SWIG_fail
;
6407 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6414 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6415 PyObject
*resultobj
= 0;
6416 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6417 wxString
*arg2
= 0 ;
6419 wxPalette
*arg4
= (wxPalette
*) NULL
;
6423 bool temp2
= false ;
6428 PyObject
* obj0
= 0 ;
6429 PyObject
* obj1
= 0 ;
6430 PyObject
* obj2
= 0 ;
6431 PyObject
* obj3
= 0 ;
6432 char * kwnames
[] = {
6433 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6438 if (!SWIG_IsOK(res1
)) {
6439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6441 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6443 arg2
= wxString_in_helper(obj1
);
6444 if (arg2
== NULL
) SWIG_fail
;
6447 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6448 if (!SWIG_IsOK(ecode3
)) {
6449 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6451 arg3
= static_cast< wxBitmapType
>(val3
);
6453 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6454 if (!SWIG_IsOK(res4
)) {
6455 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6457 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6460 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6461 if (PyErr_Occurred()) SWIG_fail
;
6464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6480 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6481 PyObject
*resultobj
= 0;
6482 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6483 wxString
*arg2
= 0 ;
6488 bool temp2
= false ;
6491 PyObject
* obj0
= 0 ;
6492 PyObject
* obj1
= 0 ;
6493 PyObject
* obj2
= 0 ;
6494 char * kwnames
[] = {
6495 (char *) "self",(char *) "name",(char *) "type", NULL
6498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6500 if (!SWIG_IsOK(res1
)) {
6501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6503 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6505 arg2
= wxString_in_helper(obj1
);
6506 if (arg2
== NULL
) SWIG_fail
;
6509 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6510 if (!SWIG_IsOK(ecode3
)) {
6511 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6513 arg3
= static_cast< wxBitmapType
>(val3
);
6515 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6516 if (PyErr_Occurred()) SWIG_fail
;
6519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6535 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6536 PyObject
*resultobj
= 0;
6537 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6538 wxPalette
*result
= 0 ;
6541 PyObject
*swig_obj
[1] ;
6543 if (!args
) SWIG_fail
;
6545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6546 if (!SWIG_IsOK(res1
)) {
6547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6549 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6551 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6552 if (PyErr_Occurred()) SWIG_fail
;
6554 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6561 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6562 PyObject
*resultobj
= 0;
6563 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6570 PyObject
* obj0
= 0 ;
6571 PyObject
* obj1
= 0 ;
6572 char * kwnames
[] = {
6573 (char *) "self",(char *) "icon", NULL
6576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6578 if (!SWIG_IsOK(res1
)) {
6579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6581 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6582 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6583 if (!SWIG_IsOK(res2
)) {
6584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6587 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6589 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6591 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6592 if (PyErr_Occurred()) SWIG_fail
;
6595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6603 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6604 PyObject
*resultobj
= 0;
6605 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6611 PyObject
* obj0
= 0 ;
6612 PyObject
* obj1
= 0 ;
6613 char * kwnames
[] = {
6614 (char *) "self",(char *) "height", NULL
6617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6619 if (!SWIG_IsOK(res1
)) {
6620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6622 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6623 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6624 if (!SWIG_IsOK(ecode2
)) {
6625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6627 arg2
= static_cast< int >(val2
);
6629 (arg1
)->SetHeight(arg2
);
6630 if (PyErr_Occurred()) SWIG_fail
;
6632 resultobj
= SWIG_Py_Void();
6639 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6640 PyObject
*resultobj
= 0;
6641 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6647 PyObject
* obj0
= 0 ;
6648 PyObject
* obj1
= 0 ;
6649 char * kwnames
[] = {
6650 (char *) "self",(char *) "width", NULL
6653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6655 if (!SWIG_IsOK(res1
)) {
6656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6658 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6659 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6660 if (!SWIG_IsOK(ecode2
)) {
6661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6663 arg2
= static_cast< int >(val2
);
6665 (arg1
)->SetWidth(arg2
);
6666 if (PyErr_Occurred()) SWIG_fail
;
6668 resultobj
= SWIG_Py_Void();
6675 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6676 PyObject
*resultobj
= 0;
6677 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6683 PyObject
* obj0
= 0 ;
6684 PyObject
* obj1
= 0 ;
6685 char * kwnames
[] = {
6686 (char *) "self",(char *) "depth", NULL
6689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6691 if (!SWIG_IsOK(res1
)) {
6692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6694 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6695 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6696 if (!SWIG_IsOK(ecode2
)) {
6697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6699 arg2
= static_cast< int >(val2
);
6701 (arg1
)->SetDepth(arg2
);
6702 if (PyErr_Occurred()) SWIG_fail
;
6704 resultobj
= SWIG_Py_Void();
6711 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6712 PyObject
*resultobj
= 0;
6713 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6718 PyObject
* obj0
= 0 ;
6719 PyObject
* obj1
= 0 ;
6720 char * kwnames
[] = {
6721 (char *) "self",(char *) "size", NULL
6724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6726 if (!SWIG_IsOK(res1
)) {
6727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6729 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6732 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6735 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6736 if (PyErr_Occurred()) SWIG_fail
;
6738 resultobj
= SWIG_Py_Void();
6745 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6746 PyObject
*resultobj
= 0;
6747 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6748 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6754 PyObject
* obj0
= 0 ;
6755 PyObject
* obj1
= 0 ;
6756 char * kwnames
[] = {
6757 (char *) "self",(char *) "other", NULL
6760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6762 if (!SWIG_IsOK(res1
)) {
6763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6765 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6766 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6767 if (!SWIG_IsOK(res2
)) {
6768 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6770 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6772 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6773 if (PyErr_Occurred()) SWIG_fail
;
6776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6784 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6785 PyObject
*resultobj
= 0;
6786 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6787 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6793 PyObject
* obj0
= 0 ;
6794 PyObject
* obj1
= 0 ;
6795 char * kwnames
[] = {
6796 (char *) "self",(char *) "other", NULL
6799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6801 if (!SWIG_IsOK(res1
)) {
6802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6804 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6805 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6806 if (!SWIG_IsOK(res2
)) {
6807 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6809 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6811 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6812 if (PyErr_Occurred()) SWIG_fail
;
6815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6823 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6825 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6826 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6827 return SWIG_Py_Void();
6830 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6831 return SWIG_Python_InitShadowInstance(args
);
6834 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6835 PyObject
*resultobj
= 0;
6842 wxBitmap
*result
= 0 ;
6849 PyObject
* obj0
= 0 ;
6850 PyObject
* obj1
= 0 ;
6851 PyObject
* obj2
= 0 ;
6852 PyObject
* obj3
= 0 ;
6853 char * kwnames
[] = {
6854 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
6857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6858 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6859 if (!SWIG_IsOK(ecode1
)) {
6860 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
6862 arg1
= static_cast< int >(val1
);
6863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6864 if (!SWIG_IsOK(ecode2
)) {
6865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
6867 arg2
= static_cast< int >(val2
);
6869 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6873 if (obj3
!= Py_None
) {
6874 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
6879 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
6880 if (PyErr_Occurred()) SWIG_fail
;
6882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6889 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6890 PyObject
*resultobj
= 0;
6895 wxBitmap
*result
= 0 ;
6901 PyObject
* obj0
= 0 ;
6902 PyObject
* obj1
= 0 ;
6903 PyObject
* obj2
= 0 ;
6904 char * kwnames
[] = {
6905 (char *) "width",(char *) "height",(char *) "data", NULL
6908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6909 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6910 if (!SWIG_IsOK(ecode1
)) {
6911 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
6913 arg1
= static_cast< int >(val1
);
6914 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6915 if (!SWIG_IsOK(ecode2
)) {
6916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
6918 arg2
= static_cast< int >(val2
);
6920 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6924 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
6925 if (PyErr_Occurred()) SWIG_fail
;
6927 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6934 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6935 PyObject
*resultobj
= 0;
6940 wxBitmap
*result
= 0 ;
6946 PyObject
* obj0
= 0 ;
6947 PyObject
* obj1
= 0 ;
6948 PyObject
* obj2
= 0 ;
6949 char * kwnames
[] = {
6950 (char *) "width",(char *) "height",(char *) "data", NULL
6953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6954 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6955 if (!SWIG_IsOK(ecode1
)) {
6956 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
6958 arg1
= static_cast< int >(val1
);
6959 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6960 if (!SWIG_IsOK(ecode2
)) {
6961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
6963 arg2
= static_cast< int >(val2
);
6965 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6969 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
6970 if (PyErr_Occurred()) SWIG_fail
;
6972 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6979 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6980 PyObject
*resultobj
= 0;
6981 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6985 PyObject
*swig_obj
[1] ;
6987 if (!args
) SWIG_fail
;
6989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6990 if (!SWIG_IsOK(res1
)) {
6991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6993 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6995 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
6996 if (PyErr_Occurred()) SWIG_fail
;
6998 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7005 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7006 PyObject
*resultobj
= 0;
7007 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7011 PyObject
*swig_obj
[1] ;
7013 if (!args
) SWIG_fail
;
7015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7016 if (!SWIG_IsOK(res1
)) {
7017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7019 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7021 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7022 if (PyErr_Occurred()) SWIG_fail
;
7024 resultobj
= SWIG_From_int(static_cast< int >(result
));
7031 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7032 PyObject
*resultobj
= 0;
7033 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7037 PyObject
*swig_obj
[1] ;
7039 if (!args
) SWIG_fail
;
7041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7042 if (!SWIG_IsOK(res1
)) {
7043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7045 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7047 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7048 if (PyErr_Occurred()) SWIG_fail
;
7050 resultobj
= SWIG_From_int(static_cast< int >(result
));
7057 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7058 PyObject
*resultobj
= 0;
7059 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7063 PyObject
*swig_obj
[1] ;
7065 if (!args
) SWIG_fail
;
7067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7068 if (!SWIG_IsOK(res1
)) {
7069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7071 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7073 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7074 if (PyErr_Occurred()) SWIG_fail
;
7076 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7083 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7084 PyObject
*resultobj
= 0;
7085 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7089 PyObject
*swig_obj
[1] ;
7091 if (!args
) SWIG_fail
;
7093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7094 if (!SWIG_IsOK(res1
)) {
7095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7097 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7099 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7100 if (PyErr_Occurred()) SWIG_fail
;
7102 resultobj
= SWIG_From_int(static_cast< int >(result
));
7109 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7111 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7112 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7113 return SWIG_Py_Void();
7116 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7117 PyObject
*resultobj
= 0;
7118 wxBitmap
*arg1
= 0 ;
7119 wxNativePixelData
*result
= 0 ;
7123 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7125 if (!SWIG_IsOK(res1
)) {
7126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7129 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7131 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7133 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7134 if (PyErr_Occurred()) SWIG_fail
;
7136 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7143 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7144 PyObject
*resultobj
= 0;
7145 wxBitmap
*arg1
= 0 ;
7147 wxNativePixelData
*result
= 0 ;
7152 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7154 if (!SWIG_IsOK(res1
)) {
7155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7158 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7160 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7163 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7166 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7167 if (PyErr_Occurred()) SWIG_fail
;
7169 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7176 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7177 PyObject
*resultobj
= 0;
7178 wxBitmap
*arg1
= 0 ;
7181 wxNativePixelData
*result
= 0 ;
7187 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7189 if (!SWIG_IsOK(res1
)) {
7190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7193 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7195 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7198 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7202 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7205 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7206 if (PyErr_Occurred()) SWIG_fail
;
7208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7215 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7219 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7222 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7225 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7228 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7232 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7237 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7238 PyObject
*resultobj
= 0;
7239 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7242 PyObject
*swig_obj
[1] ;
7244 if (!args
) SWIG_fail
;
7246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7247 if (!SWIG_IsOK(res1
)) {
7248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7250 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7254 if (PyErr_Occurred()) SWIG_fail
;
7256 resultobj
= SWIG_Py_Void();
7263 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7264 PyObject
*resultobj
= 0;
7265 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7266 wxNativePixelData_Accessor result
;
7269 PyObject
*swig_obj
[1] ;
7271 if (!args
) SWIG_fail
;
7273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7274 if (!SWIG_IsOK(res1
)) {
7275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7277 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7279 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7280 if (PyErr_Occurred()) SWIG_fail
;
7282 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7289 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7290 PyObject
*resultobj
= 0;
7291 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7294 PyObject
*swig_obj
[1] ;
7296 if (!args
) SWIG_fail
;
7298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7299 if (!SWIG_IsOK(res1
)) {
7300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7302 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7305 if (PyErr_Occurred()) SWIG_fail
;
7307 resultobj
= SWIG_Py_Void();
7314 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7315 PyObject
*resultobj
= 0;
7316 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7320 PyObject
*swig_obj
[1] ;
7322 if (!args
) SWIG_fail
;
7324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7325 if (!SWIG_IsOK(res1
)) {
7326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7328 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7330 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7331 if (PyErr_Occurred()) SWIG_fail
;
7334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7342 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7344 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7345 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7346 return SWIG_Py_Void();
7349 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7350 return SWIG_Python_InitShadowInstance(args
);
7353 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7354 PyObject
*resultobj
= 0;
7355 wxNativePixelData
*arg1
= 0 ;
7356 wxNativePixelData_Accessor
*result
= 0 ;
7360 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7362 if (!SWIG_IsOK(res1
)) {
7363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7366 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7368 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7370 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7371 if (PyErr_Occurred()) SWIG_fail
;
7373 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7380 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7381 PyObject
*resultobj
= 0;
7382 wxBitmap
*arg1
= 0 ;
7383 wxNativePixelData
*arg2
= 0 ;
7384 wxNativePixelData_Accessor
*result
= 0 ;
7390 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7392 if (!SWIG_IsOK(res1
)) {
7393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7396 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7398 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7399 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7400 if (!SWIG_IsOK(res2
)) {
7401 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7404 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7406 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7408 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7409 if (PyErr_Occurred()) SWIG_fail
;
7411 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7418 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7419 PyObject
*resultobj
= 0;
7420 wxNativePixelData_Accessor
*result
= 0 ;
7422 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7424 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7425 if (PyErr_Occurred()) SWIG_fail
;
7427 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7434 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7438 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7441 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7444 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7447 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7451 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7456 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7457 PyObject
*resultobj
= 0;
7458 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7461 PyObject
*swig_obj
[1] ;
7463 if (!args
) SWIG_fail
;
7465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7466 if (!SWIG_IsOK(res1
)) {
7467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7469 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7473 if (PyErr_Occurred()) SWIG_fail
;
7475 resultobj
= SWIG_Py_Void();
7482 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7483 PyObject
*resultobj
= 0;
7484 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7485 wxNativePixelData
*arg2
= 0 ;
7490 PyObject
* obj0
= 0 ;
7491 PyObject
* obj1
= 0 ;
7492 char * kwnames
[] = {
7493 (char *) "self",(char *) "data", NULL
7496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7498 if (!SWIG_IsOK(res1
)) {
7499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7501 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7502 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7503 if (!SWIG_IsOK(res2
)) {
7504 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7507 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7509 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7511 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7512 if (PyErr_Occurred()) SWIG_fail
;
7514 resultobj
= SWIG_Py_Void();
7521 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7522 PyObject
*resultobj
= 0;
7523 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7527 PyObject
*swig_obj
[1] ;
7529 if (!args
) SWIG_fail
;
7531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7532 if (!SWIG_IsOK(res1
)) {
7533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7535 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7537 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7538 if (PyErr_Occurred()) SWIG_fail
;
7541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7549 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7550 PyObject
*resultobj
= 0;
7551 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7554 PyObject
*swig_obj
[1] ;
7556 if (!args
) SWIG_fail
;
7558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7559 if (!SWIG_IsOK(res1
)) {
7560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7562 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7564 wxNativePixelData_Accessor_nextPixel(arg1
);
7565 if (PyErr_Occurred()) SWIG_fail
;
7567 resultobj
= SWIG_Py_Void();
7574 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7575 PyObject
*resultobj
= 0;
7576 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7577 wxNativePixelData
*arg2
= 0 ;
7588 PyObject
* obj0
= 0 ;
7589 PyObject
* obj1
= 0 ;
7590 PyObject
* obj2
= 0 ;
7591 PyObject
* obj3
= 0 ;
7592 char * kwnames
[] = {
7593 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7598 if (!SWIG_IsOK(res1
)) {
7599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7601 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7602 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7603 if (!SWIG_IsOK(res2
)) {
7604 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7607 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7609 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7610 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7611 if (!SWIG_IsOK(ecode3
)) {
7612 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7614 arg3
= static_cast< int >(val3
);
7615 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7616 if (!SWIG_IsOK(ecode4
)) {
7617 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7619 arg4
= static_cast< int >(val4
);
7621 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7622 if (PyErr_Occurred()) SWIG_fail
;
7624 resultobj
= SWIG_Py_Void();
7631 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7632 PyObject
*resultobj
= 0;
7633 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7634 wxNativePixelData
*arg2
= 0 ;
7642 PyObject
* obj0
= 0 ;
7643 PyObject
* obj1
= 0 ;
7644 PyObject
* obj2
= 0 ;
7645 char * kwnames
[] = {
7646 (char *) "self",(char *) "data",(char *) "x", NULL
7649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7651 if (!SWIG_IsOK(res1
)) {
7652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7654 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7655 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7656 if (!SWIG_IsOK(res2
)) {
7657 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7660 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7662 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7663 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7664 if (!SWIG_IsOK(ecode3
)) {
7665 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7667 arg3
= static_cast< int >(val3
);
7669 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7670 if (PyErr_Occurred()) SWIG_fail
;
7672 resultobj
= SWIG_Py_Void();
7679 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7680 PyObject
*resultobj
= 0;
7681 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7682 wxNativePixelData
*arg2
= 0 ;
7690 PyObject
* obj0
= 0 ;
7691 PyObject
* obj1
= 0 ;
7692 PyObject
* obj2
= 0 ;
7693 char * kwnames
[] = {
7694 (char *) "self",(char *) "data",(char *) "y", NULL
7697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7699 if (!SWIG_IsOK(res1
)) {
7700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7702 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7703 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7704 if (!SWIG_IsOK(res2
)) {
7705 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7708 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7710 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7711 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7712 if (!SWIG_IsOK(ecode3
)) {
7713 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
7715 arg3
= static_cast< int >(val3
);
7717 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
7718 if (PyErr_Occurred()) SWIG_fail
;
7720 resultobj
= SWIG_Py_Void();
7727 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7728 PyObject
*resultobj
= 0;
7729 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7730 wxNativePixelData
*arg2
= 0 ;
7741 PyObject
* obj0
= 0 ;
7742 PyObject
* obj1
= 0 ;
7743 PyObject
* obj2
= 0 ;
7744 PyObject
* obj3
= 0 ;
7745 char * kwnames
[] = {
7746 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7751 if (!SWIG_IsOK(res1
)) {
7752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7754 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7755 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7756 if (!SWIG_IsOK(res2
)) {
7757 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7760 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7762 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7763 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7764 if (!SWIG_IsOK(ecode3
)) {
7765 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
7767 arg3
= static_cast< int >(val3
);
7768 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7769 if (!SWIG_IsOK(ecode4
)) {
7770 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
7772 arg4
= static_cast< int >(val4
);
7774 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7775 if (PyErr_Occurred()) SWIG_fail
;
7777 resultobj
= SWIG_Py_Void();
7784 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
*resultobj
= 0;
7786 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7792 unsigned char val2
;
7794 unsigned char val3
;
7796 unsigned char val4
;
7798 PyObject
* obj0
= 0 ;
7799 PyObject
* obj1
= 0 ;
7800 PyObject
* obj2
= 0 ;
7801 PyObject
* obj3
= 0 ;
7802 char * kwnames
[] = {
7803 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
7806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7808 if (!SWIG_IsOK(res1
)) {
7809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7811 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7812 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
7813 if (!SWIG_IsOK(ecode2
)) {
7814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
7816 arg2
= static_cast< byte
>(val2
);
7817 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
7818 if (!SWIG_IsOK(ecode3
)) {
7819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
7821 arg3
= static_cast< byte
>(val3
);
7822 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
7823 if (!SWIG_IsOK(ecode4
)) {
7824 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
7826 arg4
= static_cast< byte
>(val4
);
7828 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
7829 if (PyErr_Occurred()) SWIG_fail
;
7831 resultobj
= SWIG_Py_Void();
7838 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7839 PyObject
*resultobj
= 0;
7840 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7841 PyObject
*result
= 0 ;
7844 PyObject
*swig_obj
[1] ;
7846 if (!args
) SWIG_fail
;
7848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7849 if (!SWIG_IsOK(res1
)) {
7850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7852 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7854 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
7855 if (PyErr_Occurred()) SWIG_fail
;
7864 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7866 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7867 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
7868 return SWIG_Py_Void();
7871 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7872 return SWIG_Python_InitShadowInstance(args
);
7875 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7876 PyObject
*resultobj
= 0;
7877 wxBitmap
*arg1
= 0 ;
7878 wxAlphaPixelData
*result
= 0 ;
7882 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7884 if (!SWIG_IsOK(res1
)) {
7885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7888 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7890 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7892 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
7893 if (PyErr_Occurred()) SWIG_fail
;
7895 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7902 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7903 PyObject
*resultobj
= 0;
7904 wxBitmap
*arg1
= 0 ;
7906 wxAlphaPixelData
*result
= 0 ;
7911 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7913 if (!SWIG_IsOK(res1
)) {
7914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7917 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7919 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7922 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7925 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
7926 if (PyErr_Occurred()) SWIG_fail
;
7928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7935 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7936 PyObject
*resultobj
= 0;
7937 wxBitmap
*arg1
= 0 ;
7940 wxAlphaPixelData
*result
= 0 ;
7946 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7948 if (!SWIG_IsOK(res1
)) {
7949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7952 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7954 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7957 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7961 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7964 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7965 if (PyErr_Occurred()) SWIG_fail
;
7967 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7974 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
7978 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
7981 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
7984 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
7987 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
7991 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
7996 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7997 PyObject
*resultobj
= 0;
7998 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8001 PyObject
*swig_obj
[1] ;
8003 if (!args
) SWIG_fail
;
8005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8006 if (!SWIG_IsOK(res1
)) {
8007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8009 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8013 if (PyErr_Occurred()) SWIG_fail
;
8015 resultobj
= SWIG_Py_Void();
8022 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8023 PyObject
*resultobj
= 0;
8024 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8025 wxAlphaPixelData_Accessor result
;
8028 PyObject
*swig_obj
[1] ;
8030 if (!args
) SWIG_fail
;
8032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8033 if (!SWIG_IsOK(res1
)) {
8034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8036 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8038 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8039 if (PyErr_Occurred()) SWIG_fail
;
8041 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8048 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8049 PyObject
*resultobj
= 0;
8050 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8053 PyObject
*swig_obj
[1] ;
8055 if (!args
) SWIG_fail
;
8057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8058 if (!SWIG_IsOK(res1
)) {
8059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8061 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8064 if (PyErr_Occurred()) SWIG_fail
;
8066 resultobj
= SWIG_Py_Void();
8073 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8074 PyObject
*resultobj
= 0;
8075 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8079 PyObject
*swig_obj
[1] ;
8081 if (!args
) SWIG_fail
;
8083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8084 if (!SWIG_IsOK(res1
)) {
8085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8087 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8089 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8090 if (PyErr_Occurred()) SWIG_fail
;
8093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8101 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8103 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8104 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8105 return SWIG_Py_Void();
8108 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8109 return SWIG_Python_InitShadowInstance(args
);
8112 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8113 PyObject
*resultobj
= 0;
8114 wxAlphaPixelData
*arg1
= 0 ;
8115 wxAlphaPixelData_Accessor
*result
= 0 ;
8119 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8121 if (!SWIG_IsOK(res1
)) {
8122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8125 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8127 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8129 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8130 if (PyErr_Occurred()) SWIG_fail
;
8132 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8139 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8140 PyObject
*resultobj
= 0;
8141 wxBitmap
*arg1
= 0 ;
8142 wxAlphaPixelData
*arg2
= 0 ;
8143 wxAlphaPixelData_Accessor
*result
= 0 ;
8149 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8151 if (!SWIG_IsOK(res1
)) {
8152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8155 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8157 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8158 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8159 if (!SWIG_IsOK(res2
)) {
8160 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8163 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8165 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8167 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8168 if (PyErr_Occurred()) SWIG_fail
;
8170 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8177 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8178 PyObject
*resultobj
= 0;
8179 wxAlphaPixelData_Accessor
*result
= 0 ;
8181 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8183 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8184 if (PyErr_Occurred()) SWIG_fail
;
8186 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8193 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8197 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8200 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8203 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8206 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8210 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8215 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8216 PyObject
*resultobj
= 0;
8217 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8220 PyObject
*swig_obj
[1] ;
8222 if (!args
) SWIG_fail
;
8224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8225 if (!SWIG_IsOK(res1
)) {
8226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8228 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8232 if (PyErr_Occurred()) SWIG_fail
;
8234 resultobj
= SWIG_Py_Void();
8241 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8242 PyObject
*resultobj
= 0;
8243 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8244 wxAlphaPixelData
*arg2
= 0 ;
8249 PyObject
* obj0
= 0 ;
8250 PyObject
* obj1
= 0 ;
8251 char * kwnames
[] = {
8252 (char *) "self",(char *) "data", NULL
8255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8257 if (!SWIG_IsOK(res1
)) {
8258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8260 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8261 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8262 if (!SWIG_IsOK(res2
)) {
8263 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8266 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8268 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8270 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8271 if (PyErr_Occurred()) SWIG_fail
;
8273 resultobj
= SWIG_Py_Void();
8280 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8281 PyObject
*resultobj
= 0;
8282 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8286 PyObject
*swig_obj
[1] ;
8288 if (!args
) SWIG_fail
;
8290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8291 if (!SWIG_IsOK(res1
)) {
8292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8294 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8296 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8297 if (PyErr_Occurred()) SWIG_fail
;
8300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8308 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8309 PyObject
*resultobj
= 0;
8310 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8313 PyObject
*swig_obj
[1] ;
8315 if (!args
) SWIG_fail
;
8317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8318 if (!SWIG_IsOK(res1
)) {
8319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8321 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8323 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8324 if (PyErr_Occurred()) SWIG_fail
;
8326 resultobj
= SWIG_Py_Void();
8333 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8334 PyObject
*resultobj
= 0;
8335 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8336 wxAlphaPixelData
*arg2
= 0 ;
8347 PyObject
* obj0
= 0 ;
8348 PyObject
* obj1
= 0 ;
8349 PyObject
* obj2
= 0 ;
8350 PyObject
* obj3
= 0 ;
8351 char * kwnames
[] = {
8352 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8357 if (!SWIG_IsOK(res1
)) {
8358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8360 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8361 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8362 if (!SWIG_IsOK(res2
)) {
8363 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8366 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8368 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8369 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8370 if (!SWIG_IsOK(ecode3
)) {
8371 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8373 arg3
= static_cast< int >(val3
);
8374 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8375 if (!SWIG_IsOK(ecode4
)) {
8376 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8378 arg4
= static_cast< int >(val4
);
8380 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8381 if (PyErr_Occurred()) SWIG_fail
;
8383 resultobj
= SWIG_Py_Void();
8390 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8391 PyObject
*resultobj
= 0;
8392 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8393 wxAlphaPixelData
*arg2
= 0 ;
8401 PyObject
* obj0
= 0 ;
8402 PyObject
* obj1
= 0 ;
8403 PyObject
* obj2
= 0 ;
8404 char * kwnames
[] = {
8405 (char *) "self",(char *) "data",(char *) "x", NULL
8408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8410 if (!SWIG_IsOK(res1
)) {
8411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8413 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8414 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8415 if (!SWIG_IsOK(res2
)) {
8416 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8419 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8421 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8422 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8423 if (!SWIG_IsOK(ecode3
)) {
8424 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8426 arg3
= static_cast< int >(val3
);
8428 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8429 if (PyErr_Occurred()) SWIG_fail
;
8431 resultobj
= SWIG_Py_Void();
8438 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8439 PyObject
*resultobj
= 0;
8440 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8441 wxAlphaPixelData
*arg2
= 0 ;
8449 PyObject
* obj0
= 0 ;
8450 PyObject
* obj1
= 0 ;
8451 PyObject
* obj2
= 0 ;
8452 char * kwnames
[] = {
8453 (char *) "self",(char *) "data",(char *) "y", NULL
8456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8458 if (!SWIG_IsOK(res1
)) {
8459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8461 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8462 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8463 if (!SWIG_IsOK(res2
)) {
8464 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8467 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8469 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8470 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8471 if (!SWIG_IsOK(ecode3
)) {
8472 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8474 arg3
= static_cast< int >(val3
);
8476 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8477 if (PyErr_Occurred()) SWIG_fail
;
8479 resultobj
= SWIG_Py_Void();
8486 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8487 PyObject
*resultobj
= 0;
8488 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8489 wxAlphaPixelData
*arg2
= 0 ;
8500 PyObject
* obj0
= 0 ;
8501 PyObject
* obj1
= 0 ;
8502 PyObject
* obj2
= 0 ;
8503 PyObject
* obj3
= 0 ;
8504 char * kwnames
[] = {
8505 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8510 if (!SWIG_IsOK(res1
)) {
8511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8513 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8514 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8515 if (!SWIG_IsOK(res2
)) {
8516 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8519 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8521 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8522 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8523 if (!SWIG_IsOK(ecode3
)) {
8524 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8526 arg3
= static_cast< int >(val3
);
8527 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8528 if (!SWIG_IsOK(ecode4
)) {
8529 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8531 arg4
= static_cast< int >(val4
);
8533 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8534 if (PyErr_Occurred()) SWIG_fail
;
8536 resultobj
= SWIG_Py_Void();
8543 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8544 PyObject
*resultobj
= 0;
8545 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8552 unsigned char val2
;
8554 unsigned char val3
;
8556 unsigned char val4
;
8558 unsigned char val5
;
8560 PyObject
* obj0
= 0 ;
8561 PyObject
* obj1
= 0 ;
8562 PyObject
* obj2
= 0 ;
8563 PyObject
* obj3
= 0 ;
8564 PyObject
* obj4
= 0 ;
8565 char * kwnames
[] = {
8566 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8571 if (!SWIG_IsOK(res1
)) {
8572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8574 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8575 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8576 if (!SWIG_IsOK(ecode2
)) {
8577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8579 arg2
= static_cast< byte
>(val2
);
8580 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8581 if (!SWIG_IsOK(ecode3
)) {
8582 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8584 arg3
= static_cast< byte
>(val3
);
8585 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8586 if (!SWIG_IsOK(ecode4
)) {
8587 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8589 arg4
= static_cast< byte
>(val4
);
8590 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8591 if (!SWIG_IsOK(ecode5
)) {
8592 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8594 arg5
= static_cast< byte
>(val5
);
8596 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8597 if (PyErr_Occurred()) SWIG_fail
;
8599 resultobj
= SWIG_Py_Void();
8606 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8607 PyObject
*resultobj
= 0;
8608 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8609 PyObject
*result
= 0 ;
8612 PyObject
*swig_obj
[1] ;
8614 if (!args
) SWIG_fail
;
8616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8617 if (!SWIG_IsOK(res1
)) {
8618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8620 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8622 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8623 if (PyErr_Occurred()) SWIG_fail
;
8632 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8634 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8635 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8636 return SWIG_Py_Void();
8639 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8640 return SWIG_Python_InitShadowInstance(args
);
8643 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8644 PyObject
*resultobj
= 0;
8645 wxBitmap
*arg1
= 0 ;
8646 wxColour
const &arg2_defvalue
= wxNullColour
;
8647 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8648 wxMask
*result
= 0 ;
8652 PyObject
* obj0
= 0 ;
8653 PyObject
* obj1
= 0 ;
8654 char * kwnames
[] = {
8655 (char *) "bitmap",(char *) "colour", NULL
8658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8659 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8660 if (!SWIG_IsOK(res1
)) {
8661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8664 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8666 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8670 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8674 if (!wxPyCheckForApp()) SWIG_fail
;
8675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8676 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8677 wxPyEndAllowThreads(__tstate
);
8678 if (PyErr_Occurred()) SWIG_fail
;
8680 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
8687 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8688 PyObject
*resultobj
= 0;
8689 wxMask
*arg1
= (wxMask
*) 0 ;
8692 PyObject
*swig_obj
[1] ;
8694 if (!args
) SWIG_fail
;
8696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
8697 if (!SWIG_IsOK(res1
)) {
8698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
8700 arg1
= reinterpret_cast< wxMask
* >(argp1
);
8704 if (PyErr_Occurred()) SWIG_fail
;
8706 resultobj
= SWIG_Py_Void();
8713 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8715 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8716 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
8717 return SWIG_Py_Void();
8720 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8721 return SWIG_Python_InitShadowInstance(args
);
8724 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8725 PyObject
*resultobj
= 0;
8726 wxString
*arg1
= 0 ;
8728 int arg3
= (int) -1 ;
8729 int arg4
= (int) -1 ;
8730 wxIcon
*result
= 0 ;
8731 bool temp1
= false ;
8738 PyObject
* obj0
= 0 ;
8739 PyObject
* obj1
= 0 ;
8740 PyObject
* obj2
= 0 ;
8741 PyObject
* obj3
= 0 ;
8742 char * kwnames
[] = {
8743 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
8746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8748 arg1
= wxString_in_helper(obj0
);
8749 if (arg1
== NULL
) SWIG_fail
;
8752 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8753 if (!SWIG_IsOK(ecode2
)) {
8754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
8756 arg2
= static_cast< wxBitmapType
>(val2
);
8758 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8759 if (!SWIG_IsOK(ecode3
)) {
8760 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
8762 arg3
= static_cast< int >(val3
);
8765 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8766 if (!SWIG_IsOK(ecode4
)) {
8767 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
8769 arg4
= static_cast< int >(val4
);
8772 if (!wxPyCheckForApp()) SWIG_fail
;
8773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8774 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
8775 wxPyEndAllowThreads(__tstate
);
8776 if (PyErr_Occurred()) SWIG_fail
;
8778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
8793 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8794 PyObject
*resultobj
= 0;
8795 wxIcon
*arg1
= (wxIcon
*) 0 ;
8798 PyObject
*swig_obj
[1] ;
8800 if (!args
) SWIG_fail
;
8802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
8803 if (!SWIG_IsOK(res1
)) {
8804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
8806 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8811 wxPyEndAllowThreads(__tstate
);
8812 if (PyErr_Occurred()) SWIG_fail
;
8814 resultobj
= SWIG_Py_Void();
8821 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8822 PyObject
*resultobj
= 0;
8823 wxIcon
*result
= 0 ;
8825 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
8827 if (!wxPyCheckForApp()) SWIG_fail
;
8828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8829 result
= (wxIcon
*)new wxIcon();
8830 wxPyEndAllowThreads(__tstate
);
8831 if (PyErr_Occurred()) SWIG_fail
;
8833 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8840 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8841 PyObject
*resultobj
= 0;
8842 wxIconLocation
*arg1
= 0 ;
8843 wxIcon
*result
= 0 ;
8846 PyObject
* obj0
= 0 ;
8847 char * kwnames
[] = {
8848 (char *) "loc", NULL
8851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
8852 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
8853 if (!SWIG_IsOK(res1
)) {
8854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8857 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8859 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
8861 if (!wxPyCheckForApp()) SWIG_fail
;
8862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8863 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
8864 wxPyEndAllowThreads(__tstate
);
8865 if (PyErr_Occurred()) SWIG_fail
;
8867 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8874 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8875 PyObject
*resultobj
= 0;
8876 wxBitmap
*arg1
= 0 ;
8877 wxIcon
*result
= 0 ;
8880 PyObject
* obj0
= 0 ;
8881 char * kwnames
[] = {
8882 (char *) "bmp", NULL
8885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
8886 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8887 if (!SWIG_IsOK(res1
)) {
8888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8891 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8893 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8895 if (!wxPyCheckForApp()) SWIG_fail
;
8896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8897 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
8898 wxPyEndAllowThreads(__tstate
);
8899 if (PyErr_Occurred()) SWIG_fail
;
8901 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8908 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8909 PyObject
*resultobj
= 0;
8910 PyObject
*arg1
= (PyObject
*) 0 ;
8911 wxIcon
*result
= 0 ;
8912 PyObject
* obj0
= 0 ;
8913 char * kwnames
[] = {
8914 (char *) "listOfStrings", NULL
8917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
8920 if (!wxPyCheckForApp()) SWIG_fail
;
8921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8922 result
= (wxIcon
*)new_wxIcon(arg1
);
8923 wxPyEndAllowThreads(__tstate
);
8924 if (PyErr_Occurred()) SWIG_fail
;
8926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8933 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8934 PyObject
*resultobj
= 0;
8935 wxIcon
*arg1
= (wxIcon
*) 0 ;
8939 PyObject
*swig_obj
[1] ;
8941 if (!args
) SWIG_fail
;
8943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8944 if (!SWIG_IsOK(res1
)) {
8945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
8947 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8950 result
= (bool)(arg1
)->IsOk();
8951 wxPyEndAllowThreads(__tstate
);
8952 if (PyErr_Occurred()) SWIG_fail
;
8955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8963 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8964 PyObject
*resultobj
= 0;
8965 wxIcon
*arg1
= (wxIcon
*) 0 ;
8969 PyObject
*swig_obj
[1] ;
8971 if (!args
) SWIG_fail
;
8973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8974 if (!SWIG_IsOK(res1
)) {
8975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
8977 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8980 result
= (int)(arg1
)->GetWidth();
8981 wxPyEndAllowThreads(__tstate
);
8982 if (PyErr_Occurred()) SWIG_fail
;
8984 resultobj
= SWIG_From_int(static_cast< int >(result
));
8991 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8992 PyObject
*resultobj
= 0;
8993 wxIcon
*arg1
= (wxIcon
*) 0 ;
8997 PyObject
*swig_obj
[1] ;
8999 if (!args
) SWIG_fail
;
9001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9002 if (!SWIG_IsOK(res1
)) {
9003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9005 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9008 result
= (int)(arg1
)->GetHeight();
9009 wxPyEndAllowThreads(__tstate
);
9010 if (PyErr_Occurred()) SWIG_fail
;
9012 resultobj
= SWIG_From_int(static_cast< int >(result
));
9019 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9020 PyObject
*resultobj
= 0;
9021 wxIcon
*arg1
= (wxIcon
*) 0 ;
9025 PyObject
*swig_obj
[1] ;
9027 if (!args
) SWIG_fail
;
9029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9030 if (!SWIG_IsOK(res1
)) {
9031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9033 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9036 result
= (int)(arg1
)->GetDepth();
9037 wxPyEndAllowThreads(__tstate
);
9038 if (PyErr_Occurred()) SWIG_fail
;
9040 resultobj
= SWIG_From_int(static_cast< int >(result
));
9047 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9048 PyObject
*resultobj
= 0;
9049 wxIcon
*arg1
= (wxIcon
*) 0 ;
9055 PyObject
* obj0
= 0 ;
9056 PyObject
* obj1
= 0 ;
9057 char * kwnames
[] = {
9058 (char *) "self",(char *) "w", NULL
9061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9063 if (!SWIG_IsOK(res1
)) {
9064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9066 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9068 if (!SWIG_IsOK(ecode2
)) {
9069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9071 arg2
= static_cast< int >(val2
);
9073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9074 (arg1
)->SetWidth(arg2
);
9075 wxPyEndAllowThreads(__tstate
);
9076 if (PyErr_Occurred()) SWIG_fail
;
9078 resultobj
= SWIG_Py_Void();
9085 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9086 PyObject
*resultobj
= 0;
9087 wxIcon
*arg1
= (wxIcon
*) 0 ;
9093 PyObject
* obj0
= 0 ;
9094 PyObject
* obj1
= 0 ;
9095 char * kwnames
[] = {
9096 (char *) "self",(char *) "h", NULL
9099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9101 if (!SWIG_IsOK(res1
)) {
9102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9104 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9105 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9106 if (!SWIG_IsOK(ecode2
)) {
9107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9109 arg2
= static_cast< int >(val2
);
9111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9112 (arg1
)->SetHeight(arg2
);
9113 wxPyEndAllowThreads(__tstate
);
9114 if (PyErr_Occurred()) SWIG_fail
;
9116 resultobj
= SWIG_Py_Void();
9123 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9124 PyObject
*resultobj
= 0;
9125 wxIcon
*arg1
= (wxIcon
*) 0 ;
9131 PyObject
* obj0
= 0 ;
9132 PyObject
* obj1
= 0 ;
9133 char * kwnames
[] = {
9134 (char *) "self",(char *) "d", NULL
9137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9139 if (!SWIG_IsOK(res1
)) {
9140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9142 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9143 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9144 if (!SWIG_IsOK(ecode2
)) {
9145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9147 arg2
= static_cast< int >(val2
);
9149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9150 (arg1
)->SetDepth(arg2
);
9151 wxPyEndAllowThreads(__tstate
);
9152 if (PyErr_Occurred()) SWIG_fail
;
9154 resultobj
= SWIG_Py_Void();
9161 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9162 PyObject
*resultobj
= 0;
9163 wxIcon
*arg1
= (wxIcon
*) 0 ;
9164 wxBitmap
*arg2
= 0 ;
9169 PyObject
* obj0
= 0 ;
9170 PyObject
* obj1
= 0 ;
9171 char * kwnames
[] = {
9172 (char *) "self",(char *) "bmp", NULL
9175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9177 if (!SWIG_IsOK(res1
)) {
9178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9180 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9181 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9182 if (!SWIG_IsOK(res2
)) {
9183 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9186 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9188 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9191 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9192 wxPyEndAllowThreads(__tstate
);
9193 if (PyErr_Occurred()) SWIG_fail
;
9195 resultobj
= SWIG_Py_Void();
9202 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9204 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9205 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9206 return SWIG_Py_Void();
9209 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9210 return SWIG_Python_InitShadowInstance(args
);
9213 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9214 PyObject
*resultobj
= 0;
9215 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9216 int arg2
= (int) 0 ;
9217 wxIconLocation
*result
= 0 ;
9218 bool temp1
= false ;
9221 PyObject
* obj0
= 0 ;
9222 PyObject
* obj1
= 0 ;
9223 char * kwnames
[] = {
9224 (char *) "filename",(char *) "num", NULL
9227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9230 arg1
= wxString_in_helper(obj0
);
9231 if (arg1
== NULL
) SWIG_fail
;
9236 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9237 if (!SWIG_IsOK(ecode2
)) {
9238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9240 arg2
= static_cast< int >(val2
);
9243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9244 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9245 wxPyEndAllowThreads(__tstate
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9263 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9264 PyObject
*resultobj
= 0;
9265 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9268 PyObject
*swig_obj
[1] ;
9270 if (!args
) SWIG_fail
;
9272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9273 if (!SWIG_IsOK(res1
)) {
9274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9276 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9281 wxPyEndAllowThreads(__tstate
);
9282 if (PyErr_Occurred()) SWIG_fail
;
9284 resultobj
= SWIG_Py_Void();
9291 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9292 PyObject
*resultobj
= 0;
9293 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9297 PyObject
*swig_obj
[1] ;
9299 if (!args
) SWIG_fail
;
9301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9302 if (!SWIG_IsOK(res1
)) {
9303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9305 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9308 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9309 wxPyEndAllowThreads(__tstate
);
9310 if (PyErr_Occurred()) SWIG_fail
;
9313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9321 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9322 PyObject
*resultobj
= 0;
9323 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9324 wxString
*arg2
= 0 ;
9327 bool temp2
= false ;
9328 PyObject
* obj0
= 0 ;
9329 PyObject
* obj1
= 0 ;
9330 char * kwnames
[] = {
9331 (char *) "self",(char *) "filename", NULL
9334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9336 if (!SWIG_IsOK(res1
)) {
9337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9339 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9341 arg2
= wxString_in_helper(obj1
);
9342 if (arg2
== NULL
) SWIG_fail
;
9346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9347 (arg1
)->SetFileName((wxString
const &)*arg2
);
9348 wxPyEndAllowThreads(__tstate
);
9349 if (PyErr_Occurred()) SWIG_fail
;
9351 resultobj
= SWIG_Py_Void();
9366 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9367 PyObject
*resultobj
= 0;
9368 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9369 wxString
*result
= 0 ;
9372 PyObject
*swig_obj
[1] ;
9374 if (!args
) SWIG_fail
;
9376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9377 if (!SWIG_IsOK(res1
)) {
9378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9380 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9384 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9385 result
= (wxString
*) &_result_ref
;
9387 wxPyEndAllowThreads(__tstate
);
9388 if (PyErr_Occurred()) SWIG_fail
;
9392 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9394 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9403 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9404 PyObject
*resultobj
= 0;
9405 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9411 PyObject
* obj0
= 0 ;
9412 PyObject
* obj1
= 0 ;
9413 char * kwnames
[] = {
9414 (char *) "self",(char *) "num", NULL
9417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9419 if (!SWIG_IsOK(res1
)) {
9420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9422 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9423 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9424 if (!SWIG_IsOK(ecode2
)) {
9425 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9427 arg2
= static_cast< int >(val2
);
9429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9430 wxIconLocation_SetIndex(arg1
,arg2
);
9431 wxPyEndAllowThreads(__tstate
);
9432 if (PyErr_Occurred()) SWIG_fail
;
9434 resultobj
= SWIG_Py_Void();
9441 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9442 PyObject
*resultobj
= 0;
9443 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9447 PyObject
*swig_obj
[1] ;
9449 if (!args
) SWIG_fail
;
9451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9452 if (!SWIG_IsOK(res1
)) {
9453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9455 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9458 result
= (int)wxIconLocation_GetIndex(arg1
);
9459 wxPyEndAllowThreads(__tstate
);
9460 if (PyErr_Occurred()) SWIG_fail
;
9462 resultobj
= SWIG_From_int(static_cast< int >(result
));
9469 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9471 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9472 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9473 return SWIG_Py_Void();
9476 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9477 return SWIG_Python_InitShadowInstance(args
);
9480 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9481 PyObject
*resultobj
= 0;
9482 wxIconBundle
*result
= 0 ;
9484 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9487 result
= (wxIconBundle
*)new wxIconBundle();
9488 wxPyEndAllowThreads(__tstate
);
9489 if (PyErr_Occurred()) SWIG_fail
;
9491 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9498 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9499 PyObject
*resultobj
= 0;
9500 wxString
*arg1
= 0 ;
9502 wxIconBundle
*result
= 0 ;
9503 bool temp1
= false ;
9506 PyObject
* obj0
= 0 ;
9507 PyObject
* obj1
= 0 ;
9508 char * kwnames
[] = {
9509 (char *) "file",(char *) "type", NULL
9512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9514 arg1
= wxString_in_helper(obj0
);
9515 if (arg1
== NULL
) SWIG_fail
;
9518 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9519 if (!SWIG_IsOK(ecode2
)) {
9520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9522 arg2
= static_cast< long >(val2
);
9524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9525 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9526 wxPyEndAllowThreads(__tstate
);
9527 if (PyErr_Occurred()) SWIG_fail
;
9529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9544 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9545 PyObject
*resultobj
= 0;
9547 wxIconBundle
*result
= 0 ;
9550 PyObject
* obj0
= 0 ;
9551 char * kwnames
[] = {
9552 (char *) "icon", NULL
9555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9556 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9557 if (!SWIG_IsOK(res1
)) {
9558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9561 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9563 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9566 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9567 wxPyEndAllowThreads(__tstate
);
9568 if (PyErr_Occurred()) SWIG_fail
;
9570 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9577 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9578 PyObject
*resultobj
= 0;
9579 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9582 PyObject
*swig_obj
[1] ;
9584 if (!args
) SWIG_fail
;
9586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9587 if (!SWIG_IsOK(res1
)) {
9588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9590 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9595 wxPyEndAllowThreads(__tstate
);
9596 if (PyErr_Occurred()) SWIG_fail
;
9598 resultobj
= SWIG_Py_Void();
9605 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9606 PyObject
*resultobj
= 0;
9607 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9613 PyObject
* obj0
= 0 ;
9614 PyObject
* obj1
= 0 ;
9615 char * kwnames
[] = {
9616 (char *) "self",(char *) "icon", NULL
9619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9621 if (!SWIG_IsOK(res1
)) {
9622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9624 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9625 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9626 if (!SWIG_IsOK(res2
)) {
9627 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9630 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9632 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9635 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9636 wxPyEndAllowThreads(__tstate
);
9637 if (PyErr_Occurred()) SWIG_fail
;
9639 resultobj
= SWIG_Py_Void();
9646 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9647 PyObject
*resultobj
= 0;
9648 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9649 wxString
*arg2
= 0 ;
9653 bool temp2
= false ;
9656 PyObject
* obj0
= 0 ;
9657 PyObject
* obj1
= 0 ;
9658 PyObject
* obj2
= 0 ;
9659 char * kwnames
[] = {
9660 (char *) "self",(char *) "file",(char *) "type", NULL
9663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9665 if (!SWIG_IsOK(res1
)) {
9666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9668 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9670 arg2
= wxString_in_helper(obj1
);
9671 if (arg2
== NULL
) SWIG_fail
;
9674 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
9675 if (!SWIG_IsOK(ecode3
)) {
9676 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
9678 arg3
= static_cast< long >(val3
);
9680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9681 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
9682 wxPyEndAllowThreads(__tstate
);
9683 if (PyErr_Occurred()) SWIG_fail
;
9685 resultobj
= SWIG_Py_Void();
9700 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9701 PyObject
*resultobj
= 0;
9702 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9704 wxIcon
*result
= 0 ;
9708 PyObject
* obj0
= 0 ;
9709 PyObject
* obj1
= 0 ;
9710 char * kwnames
[] = {
9711 (char *) "self",(char *) "size", NULL
9714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9716 if (!SWIG_IsOK(res1
)) {
9717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
9719 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9722 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9727 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
9728 result
= (wxIcon
*) &_result_ref
;
9730 wxPyEndAllowThreads(__tstate
);
9731 if (PyErr_Occurred()) SWIG_fail
;
9734 wxIcon
* resultptr
= new wxIcon(*result
);
9735 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
9743 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9745 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9746 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
9747 return SWIG_Py_Void();
9750 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9751 return SWIG_Python_InitShadowInstance(args
);
9754 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9755 PyObject
*resultobj
= 0;
9756 wxString
*arg1
= 0 ;
9758 int arg3
= (int) 0 ;
9759 int arg4
= (int) 0 ;
9760 wxCursor
*result
= 0 ;
9761 bool temp1
= false ;
9768 PyObject
* obj0
= 0 ;
9769 PyObject
* obj1
= 0 ;
9770 PyObject
* obj2
= 0 ;
9771 PyObject
* obj3
= 0 ;
9772 char * kwnames
[] = {
9773 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
9776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9778 arg1
= wxString_in_helper(obj0
);
9779 if (arg1
== NULL
) SWIG_fail
;
9782 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9783 if (!SWIG_IsOK(ecode2
)) {
9784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
9786 arg2
= static_cast< long >(val2
);
9788 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9789 if (!SWIG_IsOK(ecode3
)) {
9790 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
9792 arg3
= static_cast< int >(val3
);
9795 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9796 if (!SWIG_IsOK(ecode4
)) {
9797 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
9799 arg4
= static_cast< int >(val4
);
9802 if (!wxPyCheckForApp()) SWIG_fail
;
9803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9804 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9805 wxPyEndAllowThreads(__tstate
);
9806 if (PyErr_Occurred()) SWIG_fail
;
9808 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
9823 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9824 PyObject
*resultobj
= 0;
9825 wxCursor
*arg1
= (wxCursor
*) 0 ;
9828 PyObject
*swig_obj
[1] ;
9830 if (!args
) SWIG_fail
;
9832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
9833 if (!SWIG_IsOK(res1
)) {
9834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
9836 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9841 wxPyEndAllowThreads(__tstate
);
9842 if (PyErr_Occurred()) SWIG_fail
;
9844 resultobj
= SWIG_Py_Void();
9851 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9852 PyObject
*resultobj
= 0;
9854 wxCursor
*result
= 0 ;
9857 PyObject
* obj0
= 0 ;
9858 char * kwnames
[] = {
9862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
9863 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9864 if (!SWIG_IsOK(ecode1
)) {
9865 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
9867 arg1
= static_cast< int >(val1
);
9869 if (!wxPyCheckForApp()) SWIG_fail
;
9870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9871 result
= (wxCursor
*)new wxCursor(arg1
);
9872 wxPyEndAllowThreads(__tstate
);
9873 if (PyErr_Occurred()) SWIG_fail
;
9875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
9882 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9883 PyObject
*resultobj
= 0;
9885 wxCursor
*result
= 0 ;
9888 PyObject
* obj0
= 0 ;
9889 char * kwnames
[] = {
9890 (char *) "image", NULL
9893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
9894 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
9895 if (!SWIG_IsOK(res1
)) {
9896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
9899 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
9901 arg1
= reinterpret_cast< wxImage
* >(argp1
);
9903 if (!wxPyCheckForApp()) SWIG_fail
;
9904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9905 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
9906 wxPyEndAllowThreads(__tstate
);
9907 if (PyErr_Occurred()) SWIG_fail
;
9909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
9916 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9917 PyObject
*resultobj
= 0;
9918 wxCursor
*arg1
= (wxCursor
*) 0 ;
9922 PyObject
*swig_obj
[1] ;
9924 if (!args
) SWIG_fail
;
9926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
9927 if (!SWIG_IsOK(res1
)) {
9928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
9930 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9933 result
= (bool)(arg1
)->IsOk();
9934 wxPyEndAllowThreads(__tstate
);
9935 if (PyErr_Occurred()) SWIG_fail
;
9938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9946 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9948 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9949 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
9950 return SWIG_Py_Void();
9953 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9954 return SWIG_Python_InitShadowInstance(args
);
9957 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9958 PyObject
*resultobj
= 0;
9959 int arg1
= (int) 0 ;
9960 int arg2
= (int) 0 ;
9961 int arg3
= (int) 0 ;
9962 int arg4
= (int) 0 ;
9963 wxRegion
*result
= 0 ;
9972 PyObject
* obj0
= 0 ;
9973 PyObject
* obj1
= 0 ;
9974 PyObject
* obj2
= 0 ;
9975 PyObject
* obj3
= 0 ;
9976 char * kwnames
[] = {
9977 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9982 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9983 if (!SWIG_IsOK(ecode1
)) {
9984 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
9986 arg1
= static_cast< int >(val1
);
9989 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9990 if (!SWIG_IsOK(ecode2
)) {
9991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
9993 arg2
= static_cast< int >(val2
);
9996 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9997 if (!SWIG_IsOK(ecode3
)) {
9998 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10000 arg3
= static_cast< int >(val3
);
10003 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10004 if (!SWIG_IsOK(ecode4
)) {
10005 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10007 arg4
= static_cast< int >(val4
);
10010 if (!wxPyCheckForApp()) SWIG_fail
;
10011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10012 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10013 wxPyEndAllowThreads(__tstate
);
10014 if (PyErr_Occurred()) SWIG_fail
;
10016 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10023 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10024 PyObject
*resultobj
= 0;
10025 wxBitmap
*arg1
= 0 ;
10026 wxRegion
*result
= 0 ;
10029 PyObject
* obj0
= 0 ;
10030 char * kwnames
[] = {
10031 (char *) "bmp", NULL
10034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10035 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10036 if (!SWIG_IsOK(res1
)) {
10037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10040 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10042 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10044 if (!wxPyCheckForApp()) SWIG_fail
;
10045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10046 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10047 wxPyEndAllowThreads(__tstate
);
10048 if (PyErr_Occurred()) SWIG_fail
;
10050 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10057 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10058 PyObject
*resultobj
= 0;
10059 wxBitmap
*arg1
= 0 ;
10060 wxColour
*arg2
= 0 ;
10061 int arg3
= (int) 0 ;
10062 wxRegion
*result
= 0 ;
10068 PyObject
* obj0
= 0 ;
10069 PyObject
* obj1
= 0 ;
10070 PyObject
* obj2
= 0 ;
10071 char * kwnames
[] = {
10072 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10076 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10077 if (!SWIG_IsOK(res1
)) {
10078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10081 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10083 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10086 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10089 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10090 if (!SWIG_IsOK(ecode3
)) {
10091 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10093 arg3
= static_cast< int >(val3
);
10096 if (!wxPyCheckForApp()) SWIG_fail
;
10097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10098 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10099 wxPyEndAllowThreads(__tstate
);
10100 if (PyErr_Occurred()) SWIG_fail
;
10102 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10109 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10110 PyObject
*resultobj
= 0;
10112 wxPoint
*arg2
= (wxPoint
*) 0 ;
10113 int arg3
= (int) wxWINDING_RULE
;
10114 wxRegion
*result
= 0 ;
10117 PyObject
* obj0
= 0 ;
10118 PyObject
* obj1
= 0 ;
10119 char * kwnames
[] = {
10120 (char *) "points",(char *) "fillStyle", NULL
10123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10125 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10126 if (arg2
== NULL
) SWIG_fail
;
10129 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10130 if (!SWIG_IsOK(ecode3
)) {
10131 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10133 arg3
= static_cast< int >(val3
);
10136 if (!wxPyCheckForApp()) SWIG_fail
;
10137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10138 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10139 wxPyEndAllowThreads(__tstate
);
10140 if (PyErr_Occurred()) SWIG_fail
;
10142 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10144 if (arg2
) delete [] arg2
;
10149 if (arg2
) delete [] arg2
;
10155 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10156 PyObject
*resultobj
= 0;
10157 wxRegion
*arg1
= (wxRegion
*) 0 ;
10160 PyObject
*swig_obj
[1] ;
10162 if (!args
) SWIG_fail
;
10163 swig_obj
[0] = args
;
10164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10165 if (!SWIG_IsOK(res1
)) {
10166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10168 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10173 wxPyEndAllowThreads(__tstate
);
10174 if (PyErr_Occurred()) SWIG_fail
;
10176 resultobj
= SWIG_Py_Void();
10183 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10184 PyObject
*resultobj
= 0;
10185 wxRegion
*arg1
= (wxRegion
*) 0 ;
10188 PyObject
*swig_obj
[1] ;
10190 if (!args
) SWIG_fail
;
10191 swig_obj
[0] = args
;
10192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10193 if (!SWIG_IsOK(res1
)) {
10194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10196 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10200 wxPyEndAllowThreads(__tstate
);
10201 if (PyErr_Occurred()) SWIG_fail
;
10203 resultobj
= SWIG_Py_Void();
10210 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10211 PyObject
*resultobj
= 0;
10212 wxRegion
*arg1
= (wxRegion
*) 0 ;
10222 PyObject
* obj0
= 0 ;
10223 PyObject
* obj1
= 0 ;
10224 PyObject
* obj2
= 0 ;
10225 char * kwnames
[] = {
10226 (char *) "self",(char *) "x",(char *) "y", NULL
10229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10231 if (!SWIG_IsOK(res1
)) {
10232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10234 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10235 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10236 if (!SWIG_IsOK(ecode2
)) {
10237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10239 arg2
= static_cast< int >(val2
);
10240 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10241 if (!SWIG_IsOK(ecode3
)) {
10242 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10244 arg3
= static_cast< int >(val3
);
10246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10247 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10248 wxPyEndAllowThreads(__tstate
);
10249 if (PyErr_Occurred()) SWIG_fail
;
10252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10260 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10261 PyObject
*resultobj
= 0;
10262 wxRegion
*arg1
= (wxRegion
*) 0 ;
10265 wxRegionContain result
;
10272 PyObject
* obj0
= 0 ;
10273 PyObject
* obj1
= 0 ;
10274 PyObject
* obj2
= 0 ;
10275 char * kwnames
[] = {
10276 (char *) "self",(char *) "x",(char *) "y", NULL
10279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10281 if (!SWIG_IsOK(res1
)) {
10282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10284 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10285 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10286 if (!SWIG_IsOK(ecode2
)) {
10287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10289 arg2
= static_cast< int >(val2
);
10290 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10291 if (!SWIG_IsOK(ecode3
)) {
10292 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10294 arg3
= static_cast< int >(val3
);
10296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10297 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10298 wxPyEndAllowThreads(__tstate
);
10299 if (PyErr_Occurred()) SWIG_fail
;
10301 resultobj
= SWIG_From_int(static_cast< int >(result
));
10308 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10309 PyObject
*resultobj
= 0;
10310 wxRegion
*arg1
= (wxRegion
*) 0 ;
10311 wxPoint
*arg2
= 0 ;
10312 wxRegionContain result
;
10316 PyObject
* obj0
= 0 ;
10317 PyObject
* obj1
= 0 ;
10318 char * kwnames
[] = {
10319 (char *) "self",(char *) "pt", NULL
10322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10324 if (!SWIG_IsOK(res1
)) {
10325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10327 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10330 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10334 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10335 wxPyEndAllowThreads(__tstate
);
10336 if (PyErr_Occurred()) SWIG_fail
;
10338 resultobj
= SWIG_From_int(static_cast< int >(result
));
10345 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10346 PyObject
*resultobj
= 0;
10347 wxRegion
*arg1
= (wxRegion
*) 0 ;
10349 wxRegionContain result
;
10353 PyObject
* obj0
= 0 ;
10354 PyObject
* obj1
= 0 ;
10355 char * kwnames
[] = {
10356 (char *) "self",(char *) "rect", NULL
10359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10361 if (!SWIG_IsOK(res1
)) {
10362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10364 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10367 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10371 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10372 wxPyEndAllowThreads(__tstate
);
10373 if (PyErr_Occurred()) SWIG_fail
;
10375 resultobj
= SWIG_From_int(static_cast< int >(result
));
10382 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10383 PyObject
*resultobj
= 0;
10384 wxRegion
*arg1
= (wxRegion
*) 0 ;
10389 wxRegionContain result
;
10400 PyObject
* obj0
= 0 ;
10401 PyObject
* obj1
= 0 ;
10402 PyObject
* obj2
= 0 ;
10403 PyObject
* obj3
= 0 ;
10404 PyObject
* obj4
= 0 ;
10405 char * kwnames
[] = {
10406 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10411 if (!SWIG_IsOK(res1
)) {
10412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10414 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10416 if (!SWIG_IsOK(ecode2
)) {
10417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10419 arg2
= static_cast< int >(val2
);
10420 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10421 if (!SWIG_IsOK(ecode3
)) {
10422 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10424 arg3
= static_cast< int >(val3
);
10425 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10426 if (!SWIG_IsOK(ecode4
)) {
10427 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10429 arg4
= static_cast< int >(val4
);
10430 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10431 if (!SWIG_IsOK(ecode5
)) {
10432 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10434 arg5
= static_cast< int >(val5
);
10436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10437 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10438 wxPyEndAllowThreads(__tstate
);
10439 if (PyErr_Occurred()) SWIG_fail
;
10441 resultobj
= SWIG_From_int(static_cast< int >(result
));
10448 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10449 PyObject
*resultobj
= 0;
10450 wxRegion
*arg1
= (wxRegion
*) 0 ;
10454 PyObject
*swig_obj
[1] ;
10456 if (!args
) SWIG_fail
;
10457 swig_obj
[0] = args
;
10458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10459 if (!SWIG_IsOK(res1
)) {
10460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10462 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10465 result
= (arg1
)->GetBox();
10466 wxPyEndAllowThreads(__tstate
);
10467 if (PyErr_Occurred()) SWIG_fail
;
10469 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10476 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10477 PyObject
*resultobj
= 0;
10478 wxRegion
*arg1
= (wxRegion
*) 0 ;
10494 PyObject
* obj0
= 0 ;
10495 PyObject
* obj1
= 0 ;
10496 PyObject
* obj2
= 0 ;
10497 PyObject
* obj3
= 0 ;
10498 PyObject
* obj4
= 0 ;
10499 char * kwnames
[] = {
10500 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10505 if (!SWIG_IsOK(res1
)) {
10506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10508 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10509 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10510 if (!SWIG_IsOK(ecode2
)) {
10511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10513 arg2
= static_cast< int >(val2
);
10514 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10515 if (!SWIG_IsOK(ecode3
)) {
10516 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10518 arg3
= static_cast< int >(val3
);
10519 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10520 if (!SWIG_IsOK(ecode4
)) {
10521 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10523 arg4
= static_cast< int >(val4
);
10524 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10525 if (!SWIG_IsOK(ecode5
)) {
10526 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10528 arg5
= static_cast< int >(val5
);
10530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10531 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10532 wxPyEndAllowThreads(__tstate
);
10533 if (PyErr_Occurred()) SWIG_fail
;
10536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10544 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10545 PyObject
*resultobj
= 0;
10546 wxRegion
*arg1
= (wxRegion
*) 0 ;
10552 PyObject
* obj0
= 0 ;
10553 PyObject
* obj1
= 0 ;
10554 char * kwnames
[] = {
10555 (char *) "self",(char *) "rect", NULL
10558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10560 if (!SWIG_IsOK(res1
)) {
10561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10563 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10566 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10570 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10571 wxPyEndAllowThreads(__tstate
);
10572 if (PyErr_Occurred()) SWIG_fail
;
10575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10583 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10584 PyObject
*resultobj
= 0;
10585 wxRegion
*arg1
= (wxRegion
*) 0 ;
10586 wxRegion
*arg2
= 0 ;
10592 PyObject
* obj0
= 0 ;
10593 PyObject
* obj1
= 0 ;
10594 char * kwnames
[] = {
10595 (char *) "self",(char *) "region", NULL
10598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10600 if (!SWIG_IsOK(res1
)) {
10601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10603 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10604 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10605 if (!SWIG_IsOK(res2
)) {
10606 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10609 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10611 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10614 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10615 wxPyEndAllowThreads(__tstate
);
10616 if (PyErr_Occurred()) SWIG_fail
;
10619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10627 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10628 PyObject
*resultobj
= 0;
10629 wxRegion
*arg1
= (wxRegion
*) 0 ;
10633 PyObject
*swig_obj
[1] ;
10635 if (!args
) SWIG_fail
;
10636 swig_obj
[0] = args
;
10637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10638 if (!SWIG_IsOK(res1
)) {
10639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
10641 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10644 result
= (bool)(arg1
)->IsEmpty();
10645 wxPyEndAllowThreads(__tstate
);
10646 if (PyErr_Occurred()) SWIG_fail
;
10649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10657 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10658 PyObject
*resultobj
= 0;
10659 wxRegion
*arg1
= (wxRegion
*) 0 ;
10660 wxRegion
*arg2
= 0 ;
10666 PyObject
* obj0
= 0 ;
10667 PyObject
* obj1
= 0 ;
10668 char * kwnames
[] = {
10669 (char *) "self",(char *) "region", NULL
10672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10674 if (!SWIG_IsOK(res1
)) {
10675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
10677 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10678 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10679 if (!SWIG_IsOK(res2
)) {
10680 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
10683 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
10685 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10688 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
10689 wxPyEndAllowThreads(__tstate
);
10690 if (PyErr_Occurred()) SWIG_fail
;
10693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10701 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10702 PyObject
*resultobj
= 0;
10703 wxRegion
*arg1
= (wxRegion
*) 0 ;
10719 PyObject
* obj0
= 0 ;
10720 PyObject
* obj1
= 0 ;
10721 PyObject
* obj2
= 0 ;
10722 PyObject
* obj3
= 0 ;
10723 PyObject
* obj4
= 0 ;
10724 char * kwnames
[] = {
10725 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10730 if (!SWIG_IsOK(res1
)) {
10731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
10733 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10734 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10735 if (!SWIG_IsOK(ecode2
)) {
10736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
10738 arg2
= static_cast< int >(val2
);
10739 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10740 if (!SWIG_IsOK(ecode3
)) {
10741 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
10743 arg3
= static_cast< int >(val3
);
10744 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10745 if (!SWIG_IsOK(ecode4
)) {
10746 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
10748 arg4
= static_cast< int >(val4
);
10749 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10750 if (!SWIG_IsOK(ecode5
)) {
10751 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
10753 arg5
= static_cast< int >(val5
);
10755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10756 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
10757 wxPyEndAllowThreads(__tstate
);
10758 if (PyErr_Occurred()) SWIG_fail
;
10761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10769 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10770 PyObject
*resultobj
= 0;
10771 wxRegion
*arg1
= (wxRegion
*) 0 ;
10777 PyObject
* obj0
= 0 ;
10778 PyObject
* obj1
= 0 ;
10779 char * kwnames
[] = {
10780 (char *) "self",(char *) "rect", NULL
10783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10785 if (!SWIG_IsOK(res1
)) {
10786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10788 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10791 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10795 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
10796 wxPyEndAllowThreads(__tstate
);
10797 if (PyErr_Occurred()) SWIG_fail
;
10800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10808 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10809 PyObject
*resultobj
= 0;
10810 wxRegion
*arg1
= (wxRegion
*) 0 ;
10811 wxRegion
*arg2
= 0 ;
10817 PyObject
* obj0
= 0 ;
10818 PyObject
* obj1
= 0 ;
10819 char * kwnames
[] = {
10820 (char *) "self",(char *) "region", NULL
10823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10825 if (!SWIG_IsOK(res1
)) {
10826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10828 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10829 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10830 if (!SWIG_IsOK(res2
)) {
10831 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10834 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10836 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10839 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
10840 wxPyEndAllowThreads(__tstate
);
10841 if (PyErr_Occurred()) SWIG_fail
;
10844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10852 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10853 PyObject
*resultobj
= 0;
10854 wxRegion
*arg1
= (wxRegion
*) 0 ;
10870 PyObject
* obj0
= 0 ;
10871 PyObject
* obj1
= 0 ;
10872 PyObject
* obj2
= 0 ;
10873 PyObject
* obj3
= 0 ;
10874 PyObject
* obj4
= 0 ;
10875 char * kwnames
[] = {
10876 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10881 if (!SWIG_IsOK(res1
)) {
10882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
10884 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10886 if (!SWIG_IsOK(ecode2
)) {
10887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
10889 arg2
= static_cast< int >(val2
);
10890 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10891 if (!SWIG_IsOK(ecode3
)) {
10892 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
10894 arg3
= static_cast< int >(val3
);
10895 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10896 if (!SWIG_IsOK(ecode4
)) {
10897 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
10899 arg4
= static_cast< int >(val4
);
10900 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10901 if (!SWIG_IsOK(ecode5
)) {
10902 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
10904 arg5
= static_cast< int >(val5
);
10906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10907 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
10908 wxPyEndAllowThreads(__tstate
);
10909 if (PyErr_Occurred()) SWIG_fail
;
10912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10920 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10921 PyObject
*resultobj
= 0;
10922 wxRegion
*arg1
= (wxRegion
*) 0 ;
10928 PyObject
* obj0
= 0 ;
10929 PyObject
* obj1
= 0 ;
10930 char * kwnames
[] = {
10931 (char *) "self",(char *) "rect", NULL
10934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10936 if (!SWIG_IsOK(res1
)) {
10937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10939 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10942 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10946 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
10947 wxPyEndAllowThreads(__tstate
);
10948 if (PyErr_Occurred()) SWIG_fail
;
10951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10959 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10960 PyObject
*resultobj
= 0;
10961 wxRegion
*arg1
= (wxRegion
*) 0 ;
10962 wxRegion
*arg2
= 0 ;
10968 PyObject
* obj0
= 0 ;
10969 PyObject
* obj1
= 0 ;
10970 char * kwnames
[] = {
10971 (char *) "self",(char *) "region", NULL
10974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10976 if (!SWIG_IsOK(res1
)) {
10977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10979 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10980 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10981 if (!SWIG_IsOK(res2
)) {
10982 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10985 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10987 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10990 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
10991 wxPyEndAllowThreads(__tstate
);
10992 if (PyErr_Occurred()) SWIG_fail
;
10995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11003 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11004 PyObject
*resultobj
= 0;
11005 wxRegion
*arg1
= (wxRegion
*) 0 ;
11021 PyObject
* obj0
= 0 ;
11022 PyObject
* obj1
= 0 ;
11023 PyObject
* obj2
= 0 ;
11024 PyObject
* obj3
= 0 ;
11025 PyObject
* obj4
= 0 ;
11026 char * kwnames
[] = {
11027 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11032 if (!SWIG_IsOK(res1
)) {
11033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11035 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11036 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11037 if (!SWIG_IsOK(ecode2
)) {
11038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11040 arg2
= static_cast< int >(val2
);
11041 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11042 if (!SWIG_IsOK(ecode3
)) {
11043 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11045 arg3
= static_cast< int >(val3
);
11046 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11047 if (!SWIG_IsOK(ecode4
)) {
11048 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11050 arg4
= static_cast< int >(val4
);
11051 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11052 if (!SWIG_IsOK(ecode5
)) {
11053 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11055 arg5
= static_cast< int >(val5
);
11057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11058 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11059 wxPyEndAllowThreads(__tstate
);
11060 if (PyErr_Occurred()) SWIG_fail
;
11063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11071 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11072 PyObject
*resultobj
= 0;
11073 wxRegion
*arg1
= (wxRegion
*) 0 ;
11079 PyObject
* obj0
= 0 ;
11080 PyObject
* obj1
= 0 ;
11081 char * kwnames
[] = {
11082 (char *) "self",(char *) "rect", NULL
11085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11087 if (!SWIG_IsOK(res1
)) {
11088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11090 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11093 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11097 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11098 wxPyEndAllowThreads(__tstate
);
11099 if (PyErr_Occurred()) SWIG_fail
;
11102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11110 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11111 PyObject
*resultobj
= 0;
11112 wxRegion
*arg1
= (wxRegion
*) 0 ;
11113 wxRegion
*arg2
= 0 ;
11119 PyObject
* obj0
= 0 ;
11120 PyObject
* obj1
= 0 ;
11121 char * kwnames
[] = {
11122 (char *) "self",(char *) "region", NULL
11125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11127 if (!SWIG_IsOK(res1
)) {
11128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11130 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11131 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11132 if (!SWIG_IsOK(res2
)) {
11133 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11136 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11138 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11141 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11142 wxPyEndAllowThreads(__tstate
);
11143 if (PyErr_Occurred()) SWIG_fail
;
11146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11154 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11155 PyObject
*resultobj
= 0;
11156 wxRegion
*arg1
= (wxRegion
*) 0 ;
11157 SwigValueWrapper
<wxBitmap
> result
;
11160 PyObject
*swig_obj
[1] ;
11162 if (!args
) SWIG_fail
;
11163 swig_obj
[0] = args
;
11164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11165 if (!SWIG_IsOK(res1
)) {
11166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11168 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11171 result
= (arg1
)->ConvertToBitmap();
11172 wxPyEndAllowThreads(__tstate
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11175 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11182 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11183 PyObject
*resultobj
= 0;
11184 wxRegion
*arg1
= (wxRegion
*) 0 ;
11185 wxBitmap
*arg2
= 0 ;
11191 PyObject
* obj0
= 0 ;
11192 PyObject
* obj1
= 0 ;
11193 char * kwnames
[] = {
11194 (char *) "self",(char *) "bmp", NULL
11197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11199 if (!SWIG_IsOK(res1
)) {
11200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11202 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11203 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11204 if (!SWIG_IsOK(res2
)) {
11205 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11208 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11210 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11213 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11214 wxPyEndAllowThreads(__tstate
);
11215 if (PyErr_Occurred()) SWIG_fail
;
11218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11226 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11227 PyObject
*resultobj
= 0;
11228 wxRegion
*arg1
= (wxRegion
*) 0 ;
11229 wxBitmap
*arg2
= 0 ;
11230 wxColour
*arg3
= 0 ;
11231 int arg4
= (int) 0 ;
11240 PyObject
* obj0
= 0 ;
11241 PyObject
* obj1
= 0 ;
11242 PyObject
* obj2
= 0 ;
11243 PyObject
* obj3
= 0 ;
11244 char * kwnames
[] = {
11245 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11250 if (!SWIG_IsOK(res1
)) {
11251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11253 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11254 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11255 if (!SWIG_IsOK(res2
)) {
11256 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11259 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11261 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11264 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11267 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11268 if (!SWIG_IsOK(ecode4
)) {
11269 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11271 arg4
= static_cast< int >(val4
);
11274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11275 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11276 wxPyEndAllowThreads(__tstate
);
11277 if (PyErr_Occurred()) SWIG_fail
;
11280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11288 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11290 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11291 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11292 return SWIG_Py_Void();
11295 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11296 return SWIG_Python_InitShadowInstance(args
);
11299 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11300 PyObject
*resultobj
= 0;
11301 wxRegion
*arg1
= 0 ;
11302 wxRegionIterator
*result
= 0 ;
11305 PyObject
* obj0
= 0 ;
11306 char * kwnames
[] = {
11307 (char *) "region", NULL
11310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11311 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11312 if (!SWIG_IsOK(res1
)) {
11313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11316 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11318 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11320 if (!wxPyCheckForApp()) SWIG_fail
;
11321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11322 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11323 wxPyEndAllowThreads(__tstate
);
11324 if (PyErr_Occurred()) SWIG_fail
;
11326 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11333 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11334 PyObject
*resultobj
= 0;
11335 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11338 PyObject
*swig_obj
[1] ;
11340 if (!args
) SWIG_fail
;
11341 swig_obj
[0] = args
;
11342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11343 if (!SWIG_IsOK(res1
)) {
11344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11346 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11351 wxPyEndAllowThreads(__tstate
);
11352 if (PyErr_Occurred()) SWIG_fail
;
11354 resultobj
= SWIG_Py_Void();
11361 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11362 PyObject
*resultobj
= 0;
11363 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11367 PyObject
*swig_obj
[1] ;
11369 if (!args
) SWIG_fail
;
11370 swig_obj
[0] = args
;
11371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11372 if (!SWIG_IsOK(res1
)) {
11373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11375 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11378 result
= (int)(arg1
)->GetX();
11379 wxPyEndAllowThreads(__tstate
);
11380 if (PyErr_Occurred()) SWIG_fail
;
11382 resultobj
= SWIG_From_int(static_cast< int >(result
));
11389 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11390 PyObject
*resultobj
= 0;
11391 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11395 PyObject
*swig_obj
[1] ;
11397 if (!args
) SWIG_fail
;
11398 swig_obj
[0] = args
;
11399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11400 if (!SWIG_IsOK(res1
)) {
11401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11403 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11406 result
= (int)(arg1
)->GetY();
11407 wxPyEndAllowThreads(__tstate
);
11408 if (PyErr_Occurred()) SWIG_fail
;
11410 resultobj
= SWIG_From_int(static_cast< int >(result
));
11417 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11418 PyObject
*resultobj
= 0;
11419 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11423 PyObject
*swig_obj
[1] ;
11425 if (!args
) SWIG_fail
;
11426 swig_obj
[0] = args
;
11427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11428 if (!SWIG_IsOK(res1
)) {
11429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11431 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11434 result
= (int)(arg1
)->GetW();
11435 wxPyEndAllowThreads(__tstate
);
11436 if (PyErr_Occurred()) SWIG_fail
;
11438 resultobj
= SWIG_From_int(static_cast< int >(result
));
11445 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11446 PyObject
*resultobj
= 0;
11447 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11451 PyObject
*swig_obj
[1] ;
11453 if (!args
) SWIG_fail
;
11454 swig_obj
[0] = args
;
11455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11456 if (!SWIG_IsOK(res1
)) {
11457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11459 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11462 result
= (int)(arg1
)->GetWidth();
11463 wxPyEndAllowThreads(__tstate
);
11464 if (PyErr_Occurred()) SWIG_fail
;
11466 resultobj
= SWIG_From_int(static_cast< int >(result
));
11473 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11474 PyObject
*resultobj
= 0;
11475 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11479 PyObject
*swig_obj
[1] ;
11481 if (!args
) SWIG_fail
;
11482 swig_obj
[0] = args
;
11483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11484 if (!SWIG_IsOK(res1
)) {
11485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11487 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11490 result
= (int)(arg1
)->GetH();
11491 wxPyEndAllowThreads(__tstate
);
11492 if (PyErr_Occurred()) SWIG_fail
;
11494 resultobj
= SWIG_From_int(static_cast< int >(result
));
11501 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11502 PyObject
*resultobj
= 0;
11503 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11507 PyObject
*swig_obj
[1] ;
11509 if (!args
) SWIG_fail
;
11510 swig_obj
[0] = args
;
11511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11512 if (!SWIG_IsOK(res1
)) {
11513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11515 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11518 result
= (int)(arg1
)->GetHeight();
11519 wxPyEndAllowThreads(__tstate
);
11520 if (PyErr_Occurred()) SWIG_fail
;
11522 resultobj
= SWIG_From_int(static_cast< int >(result
));
11529 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11530 PyObject
*resultobj
= 0;
11531 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11535 PyObject
*swig_obj
[1] ;
11537 if (!args
) SWIG_fail
;
11538 swig_obj
[0] = args
;
11539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11540 if (!SWIG_IsOK(res1
)) {
11541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11543 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11546 result
= (arg1
)->GetRect();
11547 wxPyEndAllowThreads(__tstate
);
11548 if (PyErr_Occurred()) SWIG_fail
;
11550 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11557 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11558 PyObject
*resultobj
= 0;
11559 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11563 PyObject
*swig_obj
[1] ;
11565 if (!args
) SWIG_fail
;
11566 swig_obj
[0] = args
;
11567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11568 if (!SWIG_IsOK(res1
)) {
11569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11571 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11574 result
= (bool)(arg1
)->HaveRects();
11575 wxPyEndAllowThreads(__tstate
);
11576 if (PyErr_Occurred()) SWIG_fail
;
11579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11587 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11588 PyObject
*resultobj
= 0;
11589 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11592 PyObject
*swig_obj
[1] ;
11594 if (!args
) SWIG_fail
;
11595 swig_obj
[0] = args
;
11596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11597 if (!SWIG_IsOK(res1
)) {
11598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11600 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11604 wxPyEndAllowThreads(__tstate
);
11605 if (PyErr_Occurred()) SWIG_fail
;
11607 resultobj
= SWIG_Py_Void();
11614 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11615 PyObject
*resultobj
= 0;
11616 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11619 PyObject
*swig_obj
[1] ;
11621 if (!args
) SWIG_fail
;
11622 swig_obj
[0] = args
;
11623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11624 if (!SWIG_IsOK(res1
)) {
11625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11627 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11630 wxRegionIterator_Next(arg1
);
11631 wxPyEndAllowThreads(__tstate
);
11632 if (PyErr_Occurred()) SWIG_fail
;
11634 resultobj
= SWIG_Py_Void();
11641 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11642 PyObject
*resultobj
= 0;
11643 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11647 PyObject
*swig_obj
[1] ;
11649 if (!args
) SWIG_fail
;
11650 swig_obj
[0] = args
;
11651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11652 if (!SWIG_IsOK(res1
)) {
11653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11655 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11658 result
= (bool)wxRegionIterator___nonzero__(arg1
);
11659 wxPyEndAllowThreads(__tstate
);
11660 if (PyErr_Occurred()) SWIG_fail
;
11663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11671 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11673 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11674 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
11675 return SWIG_Py_Void();
11678 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11679 return SWIG_Python_InitShadowInstance(args
);
11682 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11683 PyObject
*resultobj
= 0;
11684 wxNativeFontInfo
*result
= 0 ;
11686 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
11688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11689 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
11690 wxPyEndAllowThreads(__tstate
);
11691 if (PyErr_Occurred()) SWIG_fail
;
11693 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
11700 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11701 PyObject
*resultobj
= 0;
11702 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11705 PyObject
*swig_obj
[1] ;
11707 if (!args
) SWIG_fail
;
11708 swig_obj
[0] = args
;
11709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
11710 if (!SWIG_IsOK(res1
)) {
11711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11713 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11718 wxPyEndAllowThreads(__tstate
);
11719 if (PyErr_Occurred()) SWIG_fail
;
11721 resultobj
= SWIG_Py_Void();
11728 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11729 PyObject
*resultobj
= 0;
11730 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11733 PyObject
*swig_obj
[1] ;
11735 if (!args
) SWIG_fail
;
11736 swig_obj
[0] = args
;
11737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11738 if (!SWIG_IsOK(res1
)) {
11739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11741 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11745 wxPyEndAllowThreads(__tstate
);
11746 if (PyErr_Occurred()) SWIG_fail
;
11748 resultobj
= SWIG_Py_Void();
11755 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11756 PyObject
*resultobj
= 0;
11757 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11763 PyObject
* obj0
= 0 ;
11764 PyObject
* obj1
= 0 ;
11765 char * kwnames
[] = {
11766 (char *) "self",(char *) "font", NULL
11769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11771 if (!SWIG_IsOK(res1
)) {
11772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11774 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11775 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
11776 if (!SWIG_IsOK(res2
)) {
11777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11780 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11782 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11785 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
11786 wxPyEndAllowThreads(__tstate
);
11787 if (PyErr_Occurred()) SWIG_fail
;
11789 resultobj
= SWIG_Py_Void();
11796 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11797 PyObject
*resultobj
= 0;
11798 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11802 PyObject
*swig_obj
[1] ;
11804 if (!args
) SWIG_fail
;
11805 swig_obj
[0] = args
;
11806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11807 if (!SWIG_IsOK(res1
)) {
11808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11810 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11813 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
11814 wxPyEndAllowThreads(__tstate
);
11815 if (PyErr_Occurred()) SWIG_fail
;
11817 resultobj
= SWIG_From_int(static_cast< int >(result
));
11824 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11825 PyObject
*resultobj
= 0;
11826 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11827 wxFontStyle result
;
11830 PyObject
*swig_obj
[1] ;
11832 if (!args
) SWIG_fail
;
11833 swig_obj
[0] = args
;
11834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11835 if (!SWIG_IsOK(res1
)) {
11836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11838 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11841 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
11842 wxPyEndAllowThreads(__tstate
);
11843 if (PyErr_Occurred()) SWIG_fail
;
11845 resultobj
= SWIG_From_int(static_cast< int >(result
));
11852 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11853 PyObject
*resultobj
= 0;
11854 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11855 wxFontWeight result
;
11858 PyObject
*swig_obj
[1] ;
11860 if (!args
) SWIG_fail
;
11861 swig_obj
[0] = args
;
11862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11863 if (!SWIG_IsOK(res1
)) {
11864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11866 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11869 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
11870 wxPyEndAllowThreads(__tstate
);
11871 if (PyErr_Occurred()) SWIG_fail
;
11873 resultobj
= SWIG_From_int(static_cast< int >(result
));
11880 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11881 PyObject
*resultobj
= 0;
11882 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11886 PyObject
*swig_obj
[1] ;
11888 if (!args
) SWIG_fail
;
11889 swig_obj
[0] = args
;
11890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11891 if (!SWIG_IsOK(res1
)) {
11892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11894 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11897 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
11898 wxPyEndAllowThreads(__tstate
);
11899 if (PyErr_Occurred()) SWIG_fail
;
11902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11910 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11911 PyObject
*resultobj
= 0;
11912 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11916 PyObject
*swig_obj
[1] ;
11918 if (!args
) SWIG_fail
;
11919 swig_obj
[0] = args
;
11920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11921 if (!SWIG_IsOK(res1
)) {
11922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11924 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11927 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
11928 wxPyEndAllowThreads(__tstate
);
11929 if (PyErr_Occurred()) SWIG_fail
;
11933 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11935 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11944 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11945 PyObject
*resultobj
= 0;
11946 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11947 wxFontFamily result
;
11950 PyObject
*swig_obj
[1] ;
11952 if (!args
) SWIG_fail
;
11953 swig_obj
[0] = args
;
11954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11955 if (!SWIG_IsOK(res1
)) {
11956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11958 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11961 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
11962 wxPyEndAllowThreads(__tstate
);
11963 if (PyErr_Occurred()) SWIG_fail
;
11965 resultobj
= SWIG_From_int(static_cast< int >(result
));
11972 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11973 PyObject
*resultobj
= 0;
11974 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11975 wxFontEncoding result
;
11978 PyObject
*swig_obj
[1] ;
11980 if (!args
) SWIG_fail
;
11981 swig_obj
[0] = args
;
11982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11983 if (!SWIG_IsOK(res1
)) {
11984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11986 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11989 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
11990 wxPyEndAllowThreads(__tstate
);
11991 if (PyErr_Occurred()) SWIG_fail
;
11993 resultobj
= SWIG_From_int(static_cast< int >(result
));
12000 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12001 PyObject
*resultobj
= 0;
12002 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12008 PyObject
* obj0
= 0 ;
12009 PyObject
* obj1
= 0 ;
12010 char * kwnames
[] = {
12011 (char *) "self",(char *) "pointsize", NULL
12014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12016 if (!SWIG_IsOK(res1
)) {
12017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12019 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12020 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12021 if (!SWIG_IsOK(ecode2
)) {
12022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12024 arg2
= static_cast< int >(val2
);
12026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12027 (arg1
)->SetPointSize(arg2
);
12028 wxPyEndAllowThreads(__tstate
);
12029 if (PyErr_Occurred()) SWIG_fail
;
12031 resultobj
= SWIG_Py_Void();
12038 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12039 PyObject
*resultobj
= 0;
12040 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12046 PyObject
* obj0
= 0 ;
12047 PyObject
* obj1
= 0 ;
12048 char * kwnames
[] = {
12049 (char *) "self",(char *) "style", NULL
12052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12054 if (!SWIG_IsOK(res1
)) {
12055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12057 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12058 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12059 if (!SWIG_IsOK(ecode2
)) {
12060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12062 arg2
= static_cast< wxFontStyle
>(val2
);
12064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12065 (arg1
)->SetStyle(arg2
);
12066 wxPyEndAllowThreads(__tstate
);
12067 if (PyErr_Occurred()) SWIG_fail
;
12069 resultobj
= SWIG_Py_Void();
12076 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12077 PyObject
*resultobj
= 0;
12078 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12079 wxFontWeight arg2
;
12084 PyObject
* obj0
= 0 ;
12085 PyObject
* obj1
= 0 ;
12086 char * kwnames
[] = {
12087 (char *) "self",(char *) "weight", NULL
12090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12092 if (!SWIG_IsOK(res1
)) {
12093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12095 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12097 if (!SWIG_IsOK(ecode2
)) {
12098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12100 arg2
= static_cast< wxFontWeight
>(val2
);
12102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12103 (arg1
)->SetWeight(arg2
);
12104 wxPyEndAllowThreads(__tstate
);
12105 if (PyErr_Occurred()) SWIG_fail
;
12107 resultobj
= SWIG_Py_Void();
12114 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12115 PyObject
*resultobj
= 0;
12116 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12122 PyObject
* obj0
= 0 ;
12123 PyObject
* obj1
= 0 ;
12124 char * kwnames
[] = {
12125 (char *) "self",(char *) "underlined", NULL
12128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12130 if (!SWIG_IsOK(res1
)) {
12131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12133 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12134 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12135 if (!SWIG_IsOK(ecode2
)) {
12136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12138 arg2
= static_cast< bool >(val2
);
12140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12141 (arg1
)->SetUnderlined(arg2
);
12142 wxPyEndAllowThreads(__tstate
);
12143 if (PyErr_Occurred()) SWIG_fail
;
12145 resultobj
= SWIG_Py_Void();
12152 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12153 PyObject
*resultobj
= 0;
12154 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12159 PyObject
* obj0
= 0 ;
12160 PyObject
* obj1
= 0 ;
12161 char * kwnames
[] = {
12162 (char *) "self",(char *) "facename", NULL
12165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12167 if (!SWIG_IsOK(res1
)) {
12168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12170 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12172 wxString
* sptr
= wxString_in_helper(obj1
);
12173 if (sptr
== NULL
) SWIG_fail
;
12178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12179 result
= (bool)(arg1
)->SetFaceName(arg2
);
12180 wxPyEndAllowThreads(__tstate
);
12181 if (PyErr_Occurred()) SWIG_fail
;
12184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12192 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12193 PyObject
*resultobj
= 0;
12194 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12195 wxFontFamily arg2
;
12200 PyObject
* obj0
= 0 ;
12201 PyObject
* obj1
= 0 ;
12202 char * kwnames
[] = {
12203 (char *) "self",(char *) "family", NULL
12206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12208 if (!SWIG_IsOK(res1
)) {
12209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12211 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12212 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12213 if (!SWIG_IsOK(ecode2
)) {
12214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12216 arg2
= static_cast< wxFontFamily
>(val2
);
12218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12219 (arg1
)->SetFamily(arg2
);
12220 wxPyEndAllowThreads(__tstate
);
12221 if (PyErr_Occurred()) SWIG_fail
;
12223 resultobj
= SWIG_Py_Void();
12230 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12231 PyObject
*resultobj
= 0;
12232 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12233 wxFontEncoding arg2
;
12238 PyObject
* obj0
= 0 ;
12239 PyObject
* obj1
= 0 ;
12240 char * kwnames
[] = {
12241 (char *) "self",(char *) "encoding", NULL
12244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12246 if (!SWIG_IsOK(res1
)) {
12247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12249 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12250 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12251 if (!SWIG_IsOK(ecode2
)) {
12252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12254 arg2
= static_cast< wxFontEncoding
>(val2
);
12256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12257 (arg1
)->SetEncoding(arg2
);
12258 wxPyEndAllowThreads(__tstate
);
12259 if (PyErr_Occurred()) SWIG_fail
;
12261 resultobj
= SWIG_Py_Void();
12268 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12269 PyObject
*resultobj
= 0;
12270 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12271 wxString
*arg2
= 0 ;
12275 bool temp2
= false ;
12276 PyObject
* obj0
= 0 ;
12277 PyObject
* obj1
= 0 ;
12278 char * kwnames
[] = {
12279 (char *) "self",(char *) "s", NULL
12282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12284 if (!SWIG_IsOK(res1
)) {
12285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12287 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12289 arg2
= wxString_in_helper(obj1
);
12290 if (arg2
== NULL
) SWIG_fail
;
12294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12295 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12296 wxPyEndAllowThreads(__tstate
);
12297 if (PyErr_Occurred()) SWIG_fail
;
12300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12316 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12317 PyObject
*resultobj
= 0;
12318 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12322 PyObject
*swig_obj
[1] ;
12324 if (!args
) SWIG_fail
;
12325 swig_obj
[0] = args
;
12326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12327 if (!SWIG_IsOK(res1
)) {
12328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12330 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12333 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12334 wxPyEndAllowThreads(__tstate
);
12335 if (PyErr_Occurred()) SWIG_fail
;
12339 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12341 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12350 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12351 PyObject
*resultobj
= 0;
12352 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12356 PyObject
*swig_obj
[1] ;
12358 if (!args
) SWIG_fail
;
12359 swig_obj
[0] = args
;
12360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12361 if (!SWIG_IsOK(res1
)) {
12362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12364 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12367 result
= wxNativeFontInfo___str__(arg1
);
12368 wxPyEndAllowThreads(__tstate
);
12369 if (PyErr_Occurred()) SWIG_fail
;
12373 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12375 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12384 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12385 PyObject
*resultobj
= 0;
12386 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12387 wxString
*arg2
= 0 ;
12391 bool temp2
= false ;
12392 PyObject
* obj0
= 0 ;
12393 PyObject
* obj1
= 0 ;
12394 char * kwnames
[] = {
12395 (char *) "self",(char *) "s", NULL
12398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12400 if (!SWIG_IsOK(res1
)) {
12401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12403 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12405 arg2
= wxString_in_helper(obj1
);
12406 if (arg2
== NULL
) SWIG_fail
;
12410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12411 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12412 wxPyEndAllowThreads(__tstate
);
12413 if (PyErr_Occurred()) SWIG_fail
;
12416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12432 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12433 PyObject
*resultobj
= 0;
12434 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12438 PyObject
*swig_obj
[1] ;
12440 if (!args
) SWIG_fail
;
12441 swig_obj
[0] = args
;
12442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12443 if (!SWIG_IsOK(res1
)) {
12444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12446 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12449 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12450 wxPyEndAllowThreads(__tstate
);
12451 if (PyErr_Occurred()) SWIG_fail
;
12455 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12457 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12466 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12468 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12469 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12470 return SWIG_Py_Void();
12473 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12474 return SWIG_Python_InitShadowInstance(args
);
12477 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12478 PyObject
*resultobj
= 0;
12479 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12480 wxString
*arg2
= (wxString
*) 0 ;
12483 bool temp2
= false ;
12484 PyObject
*swig_obj
[2] ;
12486 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12488 if (!SWIG_IsOK(res1
)) {
12489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12491 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12493 arg2
= wxString_in_helper(swig_obj
[1]);
12494 if (arg2
== NULL
) SWIG_fail
;
12497 if (arg1
) (arg1
)->facename
= *arg2
;
12499 resultobj
= SWIG_Py_Void();
12514 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12515 PyObject
*resultobj
= 0;
12516 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12517 wxString
*result
= 0 ;
12520 PyObject
*swig_obj
[1] ;
12522 if (!args
) SWIG_fail
;
12523 swig_obj
[0] = args
;
12524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12525 if (!SWIG_IsOK(res1
)) {
12526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12528 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12529 result
= (wxString
*)& ((arg1
)->facename
);
12532 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12534 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12543 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12544 PyObject
*resultobj
= 0;
12545 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12546 wxFontEncoding arg2
;
12551 PyObject
*swig_obj
[2] ;
12553 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12555 if (!SWIG_IsOK(res1
)) {
12556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12558 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12559 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12560 if (!SWIG_IsOK(ecode2
)) {
12561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12563 arg2
= static_cast< wxFontEncoding
>(val2
);
12564 if (arg1
) (arg1
)->encoding
= arg2
;
12566 resultobj
= SWIG_Py_Void();
12573 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12574 PyObject
*resultobj
= 0;
12575 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12576 wxFontEncoding result
;
12579 PyObject
*swig_obj
[1] ;
12581 if (!args
) SWIG_fail
;
12582 swig_obj
[0] = args
;
12583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12584 if (!SWIG_IsOK(res1
)) {
12585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12587 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12588 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12589 resultobj
= SWIG_From_int(static_cast< int >(result
));
12596 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12597 PyObject
*resultobj
= 0;
12598 wxNativeEncodingInfo
*result
= 0 ;
12600 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12603 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12604 wxPyEndAllowThreads(__tstate
);
12605 if (PyErr_Occurred()) SWIG_fail
;
12607 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12614 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12615 PyObject
*resultobj
= 0;
12616 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12619 PyObject
*swig_obj
[1] ;
12621 if (!args
) SWIG_fail
;
12622 swig_obj
[0] = args
;
12623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12624 if (!SWIG_IsOK(res1
)) {
12625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12627 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12632 wxPyEndAllowThreads(__tstate
);
12633 if (PyErr_Occurred()) SWIG_fail
;
12635 resultobj
= SWIG_Py_Void();
12642 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12643 PyObject
*resultobj
= 0;
12644 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12645 wxString
*arg2
= 0 ;
12649 bool temp2
= false ;
12650 PyObject
* obj0
= 0 ;
12651 PyObject
* obj1
= 0 ;
12652 char * kwnames
[] = {
12653 (char *) "self",(char *) "s", NULL
12656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12658 if (!SWIG_IsOK(res1
)) {
12659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12661 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12663 arg2
= wxString_in_helper(obj1
);
12664 if (arg2
== NULL
) SWIG_fail
;
12668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12669 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12670 wxPyEndAllowThreads(__tstate
);
12671 if (PyErr_Occurred()) SWIG_fail
;
12674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12690 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12691 PyObject
*resultobj
= 0;
12692 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12696 PyObject
*swig_obj
[1] ;
12698 if (!args
) SWIG_fail
;
12699 swig_obj
[0] = args
;
12700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12701 if (!SWIG_IsOK(res1
)) {
12702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
12704 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12707 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
12708 wxPyEndAllowThreads(__tstate
);
12709 if (PyErr_Occurred()) SWIG_fail
;
12713 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12715 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12724 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12726 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12727 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
12728 return SWIG_Py_Void();
12731 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12732 return SWIG_Python_InitShadowInstance(args
);
12735 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12736 PyObject
*resultobj
= 0;
12737 wxFontEncoding arg1
;
12738 wxNativeEncodingInfo
*result
= 0 ;
12741 PyObject
* obj0
= 0 ;
12742 char * kwnames
[] = {
12743 (char *) "encoding", NULL
12746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12747 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12748 if (!SWIG_IsOK(ecode1
)) {
12749 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12751 arg1
= static_cast< wxFontEncoding
>(val1
);
12753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12754 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
12755 wxPyEndAllowThreads(__tstate
);
12756 if (PyErr_Occurred()) SWIG_fail
;
12758 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12765 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12766 PyObject
*resultobj
= 0;
12767 wxNativeEncodingInfo
*arg1
= 0 ;
12771 PyObject
* obj0
= 0 ;
12772 char * kwnames
[] = {
12773 (char *) "info", NULL
12776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12777 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
12778 if (!SWIG_IsOK(res1
)) {
12779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12782 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12784 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12787 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
12788 wxPyEndAllowThreads(__tstate
);
12789 if (PyErr_Occurred()) SWIG_fail
;
12792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12800 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12801 PyObject
*resultobj
= 0;
12802 wxFontMapper
*result
= 0 ;
12804 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
12806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12807 result
= (wxFontMapper
*)new wxFontMapper();
12808 wxPyEndAllowThreads(__tstate
);
12809 if (PyErr_Occurred()) SWIG_fail
;
12811 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
12818 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12819 PyObject
*resultobj
= 0;
12820 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12823 PyObject
*swig_obj
[1] ;
12825 if (!args
) SWIG_fail
;
12826 swig_obj
[0] = args
;
12827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
12828 if (!SWIG_IsOK(res1
)) {
12829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12831 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12836 wxPyEndAllowThreads(__tstate
);
12837 if (PyErr_Occurred()) SWIG_fail
;
12839 resultobj
= SWIG_Py_Void();
12846 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12847 PyObject
*resultobj
= 0;
12848 wxFontMapper
*result
= 0 ;
12850 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
12852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12853 result
= (wxFontMapper
*)wxFontMapper::Get();
12854 wxPyEndAllowThreads(__tstate
);
12855 if (PyErr_Occurred()) SWIG_fail
;
12857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12864 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12865 PyObject
*resultobj
= 0;
12866 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12867 wxFontMapper
*result
= 0 ;
12870 PyObject
* obj0
= 0 ;
12871 char * kwnames
[] = {
12872 (char *) "mapper", NULL
12875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
12876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12877 if (!SWIG_IsOK(res1
)) {
12878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12880 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12883 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
12884 wxPyEndAllowThreads(__tstate
);
12885 if (PyErr_Occurred()) SWIG_fail
;
12887 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12894 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12895 PyObject
*resultobj
= 0;
12896 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12897 wxString
*arg2
= 0 ;
12898 bool arg3
= (bool) true ;
12899 wxFontEncoding result
;
12902 bool temp2
= false ;
12905 PyObject
* obj0
= 0 ;
12906 PyObject
* obj1
= 0 ;
12907 PyObject
* obj2
= 0 ;
12908 char * kwnames
[] = {
12909 (char *) "self",(char *) "charset",(char *) "interactive", NULL
12912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12914 if (!SWIG_IsOK(res1
)) {
12915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12917 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12919 arg2
= wxString_in_helper(obj1
);
12920 if (arg2
== NULL
) SWIG_fail
;
12924 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12925 if (!SWIG_IsOK(ecode3
)) {
12926 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
12928 arg3
= static_cast< bool >(val3
);
12931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12932 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
12933 wxPyEndAllowThreads(__tstate
);
12934 if (PyErr_Occurred()) SWIG_fail
;
12936 resultobj
= SWIG_From_int(static_cast< int >(result
));
12951 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12952 PyObject
*resultobj
= 0;
12955 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
12957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12958 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
12959 wxPyEndAllowThreads(__tstate
);
12960 if (PyErr_Occurred()) SWIG_fail
;
12962 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
12969 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12970 PyObject
*resultobj
= 0;
12972 wxFontEncoding result
;
12975 PyObject
* obj0
= 0 ;
12976 char * kwnames
[] = {
12980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
12981 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
12982 if (!SWIG_IsOK(ecode1
)) {
12983 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
12985 arg1
= static_cast< size_t >(val1
);
12987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12988 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
12989 wxPyEndAllowThreads(__tstate
);
12990 if (PyErr_Occurred()) SWIG_fail
;
12992 resultobj
= SWIG_From_int(static_cast< int >(result
));
12999 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13000 PyObject
*resultobj
= 0;
13001 wxFontEncoding arg1
;
13005 PyObject
* obj0
= 0 ;
13006 char * kwnames
[] = {
13007 (char *) "encoding", NULL
13010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13011 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13012 if (!SWIG_IsOK(ecode1
)) {
13013 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13015 arg1
= static_cast< wxFontEncoding
>(val1
);
13017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13018 result
= wxFontMapper::GetEncodingName(arg1
);
13019 wxPyEndAllowThreads(__tstate
);
13020 if (PyErr_Occurred()) SWIG_fail
;
13024 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13026 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13035 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13036 PyObject
*resultobj
= 0;
13037 wxFontEncoding arg1
;
13041 PyObject
* obj0
= 0 ;
13042 char * kwnames
[] = {
13043 (char *) "encoding", NULL
13046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13047 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13048 if (!SWIG_IsOK(ecode1
)) {
13049 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13051 arg1
= static_cast< wxFontEncoding
>(val1
);
13053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13054 result
= wxFontMapper::GetEncodingDescription(arg1
);
13055 wxPyEndAllowThreads(__tstate
);
13056 if (PyErr_Occurred()) SWIG_fail
;
13060 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13062 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13071 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13072 PyObject
*resultobj
= 0;
13073 wxString
*arg1
= 0 ;
13074 wxFontEncoding result
;
13075 bool temp1
= false ;
13076 PyObject
* obj0
= 0 ;
13077 char * kwnames
[] = {
13078 (char *) "name", NULL
13081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13083 arg1
= wxString_in_helper(obj0
);
13084 if (arg1
== NULL
) SWIG_fail
;
13088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13089 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13090 wxPyEndAllowThreads(__tstate
);
13091 if (PyErr_Occurred()) SWIG_fail
;
13093 resultobj
= SWIG_From_int(static_cast< int >(result
));
13108 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13109 PyObject
*resultobj
= 0;
13110 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13111 wxString
*arg2
= 0 ;
13114 bool temp2
= false ;
13115 PyObject
* obj0
= 0 ;
13116 PyObject
* obj1
= 0 ;
13117 char * kwnames
[] = {
13118 (char *) "self",(char *) "prefix", NULL
13121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13123 if (!SWIG_IsOK(res1
)) {
13124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13126 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13128 arg2
= wxString_in_helper(obj1
);
13129 if (arg2
== NULL
) SWIG_fail
;
13133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13134 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13135 wxPyEndAllowThreads(__tstate
);
13136 if (PyErr_Occurred()) SWIG_fail
;
13138 resultobj
= SWIG_Py_Void();
13153 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13154 PyObject
*resultobj
= 0;
13157 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13160 result
= wxFontMapper::GetDefaultConfigPath();
13161 wxPyEndAllowThreads(__tstate
);
13162 if (PyErr_Occurred()) SWIG_fail
;
13166 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13168 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13177 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13178 PyObject
*resultobj
= 0;
13179 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13180 wxFontEncoding arg2
;
13181 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13182 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13183 bool arg4
= (bool) true ;
13184 PyObject
*result
= 0 ;
13189 bool temp3
= false ;
13192 PyObject
* obj0
= 0 ;
13193 PyObject
* obj1
= 0 ;
13194 PyObject
* obj2
= 0 ;
13195 PyObject
* obj3
= 0 ;
13196 char * kwnames
[] = {
13197 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13202 if (!SWIG_IsOK(res1
)) {
13203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13205 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13206 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13207 if (!SWIG_IsOK(ecode2
)) {
13208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13210 arg2
= static_cast< wxFontEncoding
>(val2
);
13213 arg3
= wxString_in_helper(obj2
);
13214 if (arg3
== NULL
) SWIG_fail
;
13219 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13220 if (!SWIG_IsOK(ecode4
)) {
13221 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13223 arg4
= static_cast< bool >(val4
);
13226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13227 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13228 wxPyEndAllowThreads(__tstate
);
13229 if (PyErr_Occurred()) SWIG_fail
;
13231 resultobj
= result
;
13246 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13247 PyObject
*resultobj
= 0;
13248 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13249 wxFontEncoding arg2
;
13250 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13251 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13257 bool temp3
= false ;
13258 PyObject
* obj0
= 0 ;
13259 PyObject
* obj1
= 0 ;
13260 PyObject
* obj2
= 0 ;
13261 char * kwnames
[] = {
13262 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13267 if (!SWIG_IsOK(res1
)) {
13268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13270 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13271 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13272 if (!SWIG_IsOK(ecode2
)) {
13273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13275 arg2
= static_cast< wxFontEncoding
>(val2
);
13278 arg3
= wxString_in_helper(obj2
);
13279 if (arg3
== NULL
) SWIG_fail
;
13284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13285 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13286 wxPyEndAllowThreads(__tstate
);
13287 if (PyErr_Occurred()) SWIG_fail
;
13290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13306 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13307 PyObject
*resultobj
= 0;
13308 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13309 wxWindow
*arg2
= (wxWindow
*) 0 ;
13314 PyObject
* obj0
= 0 ;
13315 PyObject
* obj1
= 0 ;
13316 char * kwnames
[] = {
13317 (char *) "self",(char *) "parent", NULL
13320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13322 if (!SWIG_IsOK(res1
)) {
13323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13325 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13326 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13327 if (!SWIG_IsOK(res2
)) {
13328 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13330 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13333 (arg1
)->SetDialogParent(arg2
);
13334 wxPyEndAllowThreads(__tstate
);
13335 if (PyErr_Occurred()) SWIG_fail
;
13337 resultobj
= SWIG_Py_Void();
13344 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13345 PyObject
*resultobj
= 0;
13346 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13347 wxString
*arg2
= 0 ;
13350 bool temp2
= false ;
13351 PyObject
* obj0
= 0 ;
13352 PyObject
* obj1
= 0 ;
13353 char * kwnames
[] = {
13354 (char *) "self",(char *) "title", NULL
13357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13359 if (!SWIG_IsOK(res1
)) {
13360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13362 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13364 arg2
= wxString_in_helper(obj1
);
13365 if (arg2
== NULL
) SWIG_fail
;
13369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13370 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13371 wxPyEndAllowThreads(__tstate
);
13372 if (PyErr_Occurred()) SWIG_fail
;
13374 resultobj
= SWIG_Py_Void();
13389 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13391 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13392 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13393 return SWIG_Py_Void();
13396 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13397 return SWIG_Python_InitShadowInstance(args
);
13400 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13401 PyObject
*resultobj
= 0;
13406 bool arg5
= (bool) false ;
13407 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13408 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13409 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13410 wxFont
*result
= 0 ;
13421 bool temp6
= false ;
13424 PyObject
* obj0
= 0 ;
13425 PyObject
* obj1
= 0 ;
13426 PyObject
* obj2
= 0 ;
13427 PyObject
* obj3
= 0 ;
13428 PyObject
* obj4
= 0 ;
13429 PyObject
* obj5
= 0 ;
13430 PyObject
* obj6
= 0 ;
13431 char * kwnames
[] = {
13432 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13436 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13437 if (!SWIG_IsOK(ecode1
)) {
13438 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13440 arg1
= static_cast< int >(val1
);
13441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13442 if (!SWIG_IsOK(ecode2
)) {
13443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13445 arg2
= static_cast< int >(val2
);
13446 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13447 if (!SWIG_IsOK(ecode3
)) {
13448 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13450 arg3
= static_cast< int >(val3
);
13451 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13452 if (!SWIG_IsOK(ecode4
)) {
13453 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13455 arg4
= static_cast< int >(val4
);
13457 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13458 if (!SWIG_IsOK(ecode5
)) {
13459 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13461 arg5
= static_cast< bool >(val5
);
13465 arg6
= wxString_in_helper(obj5
);
13466 if (arg6
== NULL
) SWIG_fail
;
13471 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13472 if (!SWIG_IsOK(ecode7
)) {
13473 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13475 arg7
= static_cast< wxFontEncoding
>(val7
);
13478 if (!wxPyCheckForApp()) SWIG_fail
;
13479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13480 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13481 wxPyEndAllowThreads(__tstate
);
13482 if (PyErr_Occurred()) SWIG_fail
;
13484 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13499 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13500 PyObject
*resultobj
= 0;
13501 wxFont
*arg1
= (wxFont
*) 0 ;
13504 PyObject
*swig_obj
[1] ;
13506 if (!args
) SWIG_fail
;
13507 swig_obj
[0] = args
;
13508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13509 if (!SWIG_IsOK(res1
)) {
13510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13512 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13517 wxPyEndAllowThreads(__tstate
);
13518 if (PyErr_Occurred()) SWIG_fail
;
13520 resultobj
= SWIG_Py_Void();
13527 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13528 PyObject
*resultobj
= 0;
13529 wxNativeFontInfo
*arg1
= 0 ;
13530 wxFont
*result
= 0 ;
13533 PyObject
* obj0
= 0 ;
13534 char * kwnames
[] = {
13535 (char *) "info", NULL
13538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13539 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13540 if (!SWIG_IsOK(res1
)) {
13541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13544 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13546 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13548 if (!wxPyCheckForApp()) SWIG_fail
;
13549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13550 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13551 wxPyEndAllowThreads(__tstate
);
13552 if (PyErr_Occurred()) SWIG_fail
;
13554 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13561 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13562 PyObject
*resultobj
= 0;
13563 wxString
*arg1
= 0 ;
13564 wxFont
*result
= 0 ;
13565 bool temp1
= false ;
13566 PyObject
* obj0
= 0 ;
13567 char * kwnames
[] = {
13568 (char *) "info", NULL
13571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13573 arg1
= wxString_in_helper(obj0
);
13574 if (arg1
== NULL
) SWIG_fail
;
13578 if (!wxPyCheckForApp()) SWIG_fail
;
13579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13580 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13581 wxPyEndAllowThreads(__tstate
);
13582 if (PyErr_Occurred()) SWIG_fail
;
13584 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13599 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13600 PyObject
*resultobj
= 0;
13602 wxFontFamily arg2
;
13603 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13604 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13605 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13606 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13607 wxFont
*result
= 0 ;
13614 bool temp4
= false ;
13617 PyObject
* obj0
= 0 ;
13618 PyObject
* obj1
= 0 ;
13619 PyObject
* obj2
= 0 ;
13620 PyObject
* obj3
= 0 ;
13621 PyObject
* obj4
= 0 ;
13622 char * kwnames
[] = {
13623 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13627 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13628 if (!SWIG_IsOK(ecode1
)) {
13629 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
13631 arg1
= static_cast< int >(val1
);
13632 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13633 if (!SWIG_IsOK(ecode2
)) {
13634 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
13636 arg2
= static_cast< wxFontFamily
>(val2
);
13638 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13639 if (!SWIG_IsOK(ecode3
)) {
13640 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
13642 arg3
= static_cast< int >(val3
);
13646 arg4
= wxString_in_helper(obj3
);
13647 if (arg4
== NULL
) SWIG_fail
;
13652 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13653 if (!SWIG_IsOK(ecode5
)) {
13654 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13656 arg5
= static_cast< wxFontEncoding
>(val5
);
13659 if (!wxPyCheckForApp()) SWIG_fail
;
13660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13661 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13662 wxPyEndAllowThreads(__tstate
);
13663 if (PyErr_Occurred()) SWIG_fail
;
13665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13680 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13681 PyObject
*resultobj
= 0;
13686 bool arg5
= (bool) false ;
13687 wxString
const &arg6_defvalue
= wxEmptyString
;
13688 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13689 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13690 wxFont
*result
= 0 ;
13700 bool temp6
= false ;
13703 PyObject
* obj0
= 0 ;
13704 PyObject
* obj1
= 0 ;
13705 PyObject
* obj2
= 0 ;
13706 PyObject
* obj3
= 0 ;
13707 PyObject
* obj4
= 0 ;
13708 PyObject
* obj5
= 0 ;
13709 PyObject
* obj6
= 0 ;
13710 char * kwnames
[] = {
13711 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
13714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13717 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13719 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13720 if (!SWIG_IsOK(ecode2
)) {
13721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
13723 arg2
= static_cast< int >(val2
);
13724 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13725 if (!SWIG_IsOK(ecode3
)) {
13726 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13728 arg3
= static_cast< int >(val3
);
13729 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13730 if (!SWIG_IsOK(ecode4
)) {
13731 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
13733 arg4
= static_cast< int >(val4
);
13735 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13736 if (!SWIG_IsOK(ecode5
)) {
13737 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
13739 arg5
= static_cast< bool >(val5
);
13743 arg6
= wxString_in_helper(obj5
);
13744 if (arg6
== NULL
) SWIG_fail
;
13749 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13750 if (!SWIG_IsOK(ecode7
)) {
13751 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13753 arg7
= static_cast< wxFontEncoding
>(val7
);
13756 if (!wxPyCheckForApp()) SWIG_fail
;
13757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13758 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13759 wxPyEndAllowThreads(__tstate
);
13760 if (PyErr_Occurred()) SWIG_fail
;
13762 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13777 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13778 PyObject
*resultobj
= 0;
13780 wxFontFamily arg2
;
13781 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13782 wxString
const &arg4_defvalue
= wxEmptyString
;
13783 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13784 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13785 wxFont
*result
= 0 ;
13791 bool temp4
= false ;
13794 PyObject
* obj0
= 0 ;
13795 PyObject
* obj1
= 0 ;
13796 PyObject
* obj2
= 0 ;
13797 PyObject
* obj3
= 0 ;
13798 PyObject
* obj4
= 0 ;
13799 char * kwnames
[] = {
13800 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13806 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13809 if (!SWIG_IsOK(ecode2
)) {
13810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
13812 arg2
= static_cast< wxFontFamily
>(val2
);
13814 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13815 if (!SWIG_IsOK(ecode3
)) {
13816 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13818 arg3
= static_cast< int >(val3
);
13822 arg4
= wxString_in_helper(obj3
);
13823 if (arg4
== NULL
) SWIG_fail
;
13828 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13829 if (!SWIG_IsOK(ecode5
)) {
13830 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13832 arg5
= static_cast< wxFontEncoding
>(val5
);
13835 if (!wxPyCheckForApp()) SWIG_fail
;
13836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13837 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13838 wxPyEndAllowThreads(__tstate
);
13839 if (PyErr_Occurred()) SWIG_fail
;
13841 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13856 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13857 PyObject
*resultobj
= 0;
13858 wxFont
*arg1
= (wxFont
*) 0 ;
13862 PyObject
*swig_obj
[1] ;
13864 if (!args
) SWIG_fail
;
13865 swig_obj
[0] = args
;
13866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13867 if (!SWIG_IsOK(res1
)) {
13868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
13870 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13873 result
= (bool)((wxFont
const *)arg1
)->IsOk();
13874 wxPyEndAllowThreads(__tstate
);
13875 if (PyErr_Occurred()) SWIG_fail
;
13878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13886 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13887 PyObject
*resultobj
= 0;
13888 wxFont
*arg1
= (wxFont
*) 0 ;
13889 wxFont
*arg2
= (wxFont
*) 0 ;
13895 PyObject
* obj0
= 0 ;
13896 PyObject
* obj1
= 0 ;
13897 char * kwnames
[] = {
13898 (char *) "self",(char *) "other", NULL
13901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13903 if (!SWIG_IsOK(res1
)) {
13904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
13906 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13907 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
13908 if (!SWIG_IsOK(res2
)) {
13909 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
13911 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13914 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
13915 wxPyEndAllowThreads(__tstate
);
13916 if (PyErr_Occurred()) SWIG_fail
;
13919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13927 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13928 PyObject
*resultobj
= 0;
13929 wxFont
*arg1
= (wxFont
*) 0 ;
13930 wxFont
*arg2
= (wxFont
*) 0 ;
13936 PyObject
* obj0
= 0 ;
13937 PyObject
* obj1
= 0 ;
13938 char * kwnames
[] = {
13939 (char *) "self",(char *) "other", NULL
13942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13944 if (!SWIG_IsOK(res1
)) {
13945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
13947 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13948 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
13949 if (!SWIG_IsOK(res2
)) {
13950 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
13952 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13955 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
13956 wxPyEndAllowThreads(__tstate
);
13957 if (PyErr_Occurred()) SWIG_fail
;
13960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13968 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13969 PyObject
*resultobj
= 0;
13970 wxFont
*arg1
= (wxFont
*) 0 ;
13974 PyObject
*swig_obj
[1] ;
13976 if (!args
) SWIG_fail
;
13977 swig_obj
[0] = args
;
13978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13979 if (!SWIG_IsOK(res1
)) {
13980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
13982 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13985 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
13986 wxPyEndAllowThreads(__tstate
);
13987 if (PyErr_Occurred()) SWIG_fail
;
13989 resultobj
= SWIG_From_int(static_cast< int >(result
));
13996 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13997 PyObject
*resultobj
= 0;
13998 wxFont
*arg1
= (wxFont
*) 0 ;
14002 PyObject
*swig_obj
[1] ;
14004 if (!args
) SWIG_fail
;
14005 swig_obj
[0] = args
;
14006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14007 if (!SWIG_IsOK(res1
)) {
14008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14010 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14013 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14014 wxPyEndAllowThreads(__tstate
);
14015 if (PyErr_Occurred()) SWIG_fail
;
14017 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14024 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14025 PyObject
*resultobj
= 0;
14026 wxFont
*arg1
= (wxFont
*) 0 ;
14030 PyObject
*swig_obj
[1] ;
14032 if (!args
) SWIG_fail
;
14033 swig_obj
[0] = args
;
14034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14035 if (!SWIG_IsOK(res1
)) {
14036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14038 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14041 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14042 wxPyEndAllowThreads(__tstate
);
14043 if (PyErr_Occurred()) SWIG_fail
;
14046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14054 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14055 PyObject
*resultobj
= 0;
14056 wxFont
*arg1
= (wxFont
*) 0 ;
14060 PyObject
*swig_obj
[1] ;
14062 if (!args
) SWIG_fail
;
14063 swig_obj
[0] = args
;
14064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14065 if (!SWIG_IsOK(res1
)) {
14066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14068 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14071 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14072 wxPyEndAllowThreads(__tstate
);
14073 if (PyErr_Occurred()) SWIG_fail
;
14075 resultobj
= SWIG_From_int(static_cast< int >(result
));
14082 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14083 PyObject
*resultobj
= 0;
14084 wxFont
*arg1
= (wxFont
*) 0 ;
14088 PyObject
*swig_obj
[1] ;
14090 if (!args
) SWIG_fail
;
14091 swig_obj
[0] = args
;
14092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14093 if (!SWIG_IsOK(res1
)) {
14094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14096 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14099 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14100 wxPyEndAllowThreads(__tstate
);
14101 if (PyErr_Occurred()) SWIG_fail
;
14103 resultobj
= SWIG_From_int(static_cast< int >(result
));
14110 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14111 PyObject
*resultobj
= 0;
14112 wxFont
*arg1
= (wxFont
*) 0 ;
14116 PyObject
*swig_obj
[1] ;
14118 if (!args
) SWIG_fail
;
14119 swig_obj
[0] = args
;
14120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14121 if (!SWIG_IsOK(res1
)) {
14122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14124 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14127 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14128 wxPyEndAllowThreads(__tstate
);
14129 if (PyErr_Occurred()) SWIG_fail
;
14131 resultobj
= SWIG_From_int(static_cast< int >(result
));
14138 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14139 PyObject
*resultobj
= 0;
14140 wxFont
*arg1
= (wxFont
*) 0 ;
14144 PyObject
*swig_obj
[1] ;
14146 if (!args
) SWIG_fail
;
14147 swig_obj
[0] = args
;
14148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14149 if (!SWIG_IsOK(res1
)) {
14150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14152 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14155 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14156 wxPyEndAllowThreads(__tstate
);
14157 if (PyErr_Occurred()) SWIG_fail
;
14160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14168 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14169 PyObject
*resultobj
= 0;
14170 wxFont
*arg1
= (wxFont
*) 0 ;
14174 PyObject
*swig_obj
[1] ;
14176 if (!args
) SWIG_fail
;
14177 swig_obj
[0] = args
;
14178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14179 if (!SWIG_IsOK(res1
)) {
14180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14182 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14185 result
= ((wxFont
const *)arg1
)->GetFaceName();
14186 wxPyEndAllowThreads(__tstate
);
14187 if (PyErr_Occurred()) SWIG_fail
;
14191 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14193 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14202 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14203 PyObject
*resultobj
= 0;
14204 wxFont
*arg1
= (wxFont
*) 0 ;
14205 wxFontEncoding result
;
14208 PyObject
*swig_obj
[1] ;
14210 if (!args
) SWIG_fail
;
14211 swig_obj
[0] = args
;
14212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14213 if (!SWIG_IsOK(res1
)) {
14214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14216 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14219 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14220 wxPyEndAllowThreads(__tstate
);
14221 if (PyErr_Occurred()) SWIG_fail
;
14223 resultobj
= SWIG_From_int(static_cast< int >(result
));
14230 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14231 PyObject
*resultobj
= 0;
14232 wxFont
*arg1
= (wxFont
*) 0 ;
14233 wxNativeFontInfo
*result
= 0 ;
14236 PyObject
*swig_obj
[1] ;
14238 if (!args
) SWIG_fail
;
14239 swig_obj
[0] = args
;
14240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14241 if (!SWIG_IsOK(res1
)) {
14242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14244 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14247 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14248 wxPyEndAllowThreads(__tstate
);
14249 if (PyErr_Occurred()) SWIG_fail
;
14251 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14258 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14259 PyObject
*resultobj
= 0;
14260 wxFont
*arg1
= (wxFont
*) 0 ;
14264 PyObject
*swig_obj
[1] ;
14266 if (!args
) SWIG_fail
;
14267 swig_obj
[0] = args
;
14268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14269 if (!SWIG_IsOK(res1
)) {
14270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14272 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14275 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14276 wxPyEndAllowThreads(__tstate
);
14277 if (PyErr_Occurred()) SWIG_fail
;
14280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14288 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14289 PyObject
*resultobj
= 0;
14290 wxFont
*arg1
= (wxFont
*) 0 ;
14294 PyObject
*swig_obj
[1] ;
14296 if (!args
) SWIG_fail
;
14297 swig_obj
[0] = args
;
14298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14299 if (!SWIG_IsOK(res1
)) {
14300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14302 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14305 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14306 wxPyEndAllowThreads(__tstate
);
14307 if (PyErr_Occurred()) SWIG_fail
;
14311 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14313 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14322 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14323 PyObject
*resultobj
= 0;
14324 wxFont
*arg1
= (wxFont
*) 0 ;
14328 PyObject
*swig_obj
[1] ;
14330 if (!args
) SWIG_fail
;
14331 swig_obj
[0] = args
;
14332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14333 if (!SWIG_IsOK(res1
)) {
14334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14336 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14339 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14340 wxPyEndAllowThreads(__tstate
);
14341 if (PyErr_Occurred()) SWIG_fail
;
14345 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14347 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14356 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14357 PyObject
*resultobj
= 0;
14358 wxFont
*arg1
= (wxFont
*) 0 ;
14364 PyObject
* obj0
= 0 ;
14365 PyObject
* obj1
= 0 ;
14366 char * kwnames
[] = {
14367 (char *) "self",(char *) "pointSize", NULL
14370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14372 if (!SWIG_IsOK(res1
)) {
14373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14375 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14376 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14377 if (!SWIG_IsOK(ecode2
)) {
14378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14380 arg2
= static_cast< int >(val2
);
14382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14383 (arg1
)->SetPointSize(arg2
);
14384 wxPyEndAllowThreads(__tstate
);
14385 if (PyErr_Occurred()) SWIG_fail
;
14387 resultobj
= SWIG_Py_Void();
14394 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14395 PyObject
*resultobj
= 0;
14396 wxFont
*arg1
= (wxFont
*) 0 ;
14401 PyObject
* obj0
= 0 ;
14402 PyObject
* obj1
= 0 ;
14403 char * kwnames
[] = {
14404 (char *) "self",(char *) "pixelSize", NULL
14407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14409 if (!SWIG_IsOK(res1
)) {
14410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14412 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14415 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14419 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14420 wxPyEndAllowThreads(__tstate
);
14421 if (PyErr_Occurred()) SWIG_fail
;
14423 resultobj
= SWIG_Py_Void();
14430 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14431 PyObject
*resultobj
= 0;
14432 wxFont
*arg1
= (wxFont
*) 0 ;
14438 PyObject
* obj0
= 0 ;
14439 PyObject
* obj1
= 0 ;
14440 char * kwnames
[] = {
14441 (char *) "self",(char *) "family", NULL
14444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14446 if (!SWIG_IsOK(res1
)) {
14447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14449 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14450 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14451 if (!SWIG_IsOK(ecode2
)) {
14452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14454 arg2
= static_cast< int >(val2
);
14456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14457 (arg1
)->SetFamily(arg2
);
14458 wxPyEndAllowThreads(__tstate
);
14459 if (PyErr_Occurred()) SWIG_fail
;
14461 resultobj
= SWIG_Py_Void();
14468 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14469 PyObject
*resultobj
= 0;
14470 wxFont
*arg1
= (wxFont
*) 0 ;
14476 PyObject
* obj0
= 0 ;
14477 PyObject
* obj1
= 0 ;
14478 char * kwnames
[] = {
14479 (char *) "self",(char *) "style", NULL
14482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14484 if (!SWIG_IsOK(res1
)) {
14485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14487 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14488 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14489 if (!SWIG_IsOK(ecode2
)) {
14490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14492 arg2
= static_cast< int >(val2
);
14494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14495 (arg1
)->SetStyle(arg2
);
14496 wxPyEndAllowThreads(__tstate
);
14497 if (PyErr_Occurred()) SWIG_fail
;
14499 resultobj
= SWIG_Py_Void();
14506 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14507 PyObject
*resultobj
= 0;
14508 wxFont
*arg1
= (wxFont
*) 0 ;
14514 PyObject
* obj0
= 0 ;
14515 PyObject
* obj1
= 0 ;
14516 char * kwnames
[] = {
14517 (char *) "self",(char *) "weight", NULL
14520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14522 if (!SWIG_IsOK(res1
)) {
14523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14525 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14526 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14527 if (!SWIG_IsOK(ecode2
)) {
14528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14530 arg2
= static_cast< int >(val2
);
14532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14533 (arg1
)->SetWeight(arg2
);
14534 wxPyEndAllowThreads(__tstate
);
14535 if (PyErr_Occurred()) SWIG_fail
;
14537 resultobj
= SWIG_Py_Void();
14544 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14545 PyObject
*resultobj
= 0;
14546 wxFont
*arg1
= (wxFont
*) 0 ;
14547 wxString
*arg2
= 0 ;
14551 bool temp2
= false ;
14552 PyObject
* obj0
= 0 ;
14553 PyObject
* obj1
= 0 ;
14554 char * kwnames
[] = {
14555 (char *) "self",(char *) "faceName", NULL
14558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14560 if (!SWIG_IsOK(res1
)) {
14561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14563 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14565 arg2
= wxString_in_helper(obj1
);
14566 if (arg2
== NULL
) SWIG_fail
;
14570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14571 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14572 wxPyEndAllowThreads(__tstate
);
14573 if (PyErr_Occurred()) SWIG_fail
;
14576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14592 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14593 PyObject
*resultobj
= 0;
14594 wxFont
*arg1
= (wxFont
*) 0 ;
14600 PyObject
* obj0
= 0 ;
14601 PyObject
* obj1
= 0 ;
14602 char * kwnames
[] = {
14603 (char *) "self",(char *) "underlined", NULL
14606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14608 if (!SWIG_IsOK(res1
)) {
14609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14611 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14612 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14613 if (!SWIG_IsOK(ecode2
)) {
14614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14616 arg2
= static_cast< bool >(val2
);
14618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14619 (arg1
)->SetUnderlined(arg2
);
14620 wxPyEndAllowThreads(__tstate
);
14621 if (PyErr_Occurred()) SWIG_fail
;
14623 resultobj
= SWIG_Py_Void();
14630 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14631 PyObject
*resultobj
= 0;
14632 wxFont
*arg1
= (wxFont
*) 0 ;
14633 wxFontEncoding arg2
;
14638 PyObject
* obj0
= 0 ;
14639 PyObject
* obj1
= 0 ;
14640 char * kwnames
[] = {
14641 (char *) "self",(char *) "encoding", NULL
14644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14646 if (!SWIG_IsOK(res1
)) {
14647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
14649 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14650 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14651 if (!SWIG_IsOK(ecode2
)) {
14652 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14654 arg2
= static_cast< wxFontEncoding
>(val2
);
14656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14657 (arg1
)->SetEncoding(arg2
);
14658 wxPyEndAllowThreads(__tstate
);
14659 if (PyErr_Occurred()) SWIG_fail
;
14661 resultobj
= SWIG_Py_Void();
14668 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14669 PyObject
*resultobj
= 0;
14670 wxFont
*arg1
= (wxFont
*) 0 ;
14671 wxNativeFontInfo
*arg2
= 0 ;
14676 PyObject
* obj0
= 0 ;
14677 PyObject
* obj1
= 0 ;
14678 char * kwnames
[] = {
14679 (char *) "self",(char *) "info", NULL
14682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14684 if (!SWIG_IsOK(res1
)) {
14685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
14687 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14688 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14689 if (!SWIG_IsOK(res2
)) {
14690 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14693 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14695 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
14697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14698 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
14699 wxPyEndAllowThreads(__tstate
);
14700 if (PyErr_Occurred()) SWIG_fail
;
14702 resultobj
= SWIG_Py_Void();
14709 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14710 PyObject
*resultobj
= 0;
14711 wxFont
*arg1
= (wxFont
*) 0 ;
14712 wxString
*arg2
= 0 ;
14716 bool temp2
= false ;
14717 PyObject
* obj0
= 0 ;
14718 PyObject
* obj1
= 0 ;
14719 char * kwnames
[] = {
14720 (char *) "self",(char *) "info", NULL
14723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14725 if (!SWIG_IsOK(res1
)) {
14726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
14728 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14730 arg2
= wxString_in_helper(obj1
);
14731 if (arg2
== NULL
) SWIG_fail
;
14735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14736 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
14737 wxPyEndAllowThreads(__tstate
);
14738 if (PyErr_Occurred()) SWIG_fail
;
14741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14757 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14758 PyObject
*resultobj
= 0;
14759 wxFont
*arg1
= (wxFont
*) 0 ;
14760 wxString
*arg2
= 0 ;
14764 bool temp2
= false ;
14765 PyObject
* obj0
= 0 ;
14766 PyObject
* obj1
= 0 ;
14767 char * kwnames
[] = {
14768 (char *) "self",(char *) "info", NULL
14771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14773 if (!SWIG_IsOK(res1
)) {
14774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
14776 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14778 arg2
= wxString_in_helper(obj1
);
14779 if (arg2
== NULL
) SWIG_fail
;
14783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14784 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
14785 wxPyEndAllowThreads(__tstate
);
14786 if (PyErr_Occurred()) SWIG_fail
;
14789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14805 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14806 PyObject
*resultobj
= 0;
14807 wxFont
*arg1
= (wxFont
*) 0 ;
14811 PyObject
*swig_obj
[1] ;
14813 if (!args
) SWIG_fail
;
14814 swig_obj
[0] = args
;
14815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14816 if (!SWIG_IsOK(res1
)) {
14817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
14819 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14822 result
= ((wxFont
const *)arg1
)->GetFamilyString();
14823 wxPyEndAllowThreads(__tstate
);
14824 if (PyErr_Occurred()) SWIG_fail
;
14828 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14830 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14839 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14840 PyObject
*resultobj
= 0;
14841 wxFont
*arg1
= (wxFont
*) 0 ;
14845 PyObject
*swig_obj
[1] ;
14847 if (!args
) SWIG_fail
;
14848 swig_obj
[0] = args
;
14849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14850 if (!SWIG_IsOK(res1
)) {
14851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
14853 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14856 result
= ((wxFont
const *)arg1
)->GetStyleString();
14857 wxPyEndAllowThreads(__tstate
);
14858 if (PyErr_Occurred()) SWIG_fail
;
14862 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14864 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14873 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14874 PyObject
*resultobj
= 0;
14875 wxFont
*arg1
= (wxFont
*) 0 ;
14879 PyObject
*swig_obj
[1] ;
14881 if (!args
) SWIG_fail
;
14882 swig_obj
[0] = args
;
14883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14884 if (!SWIG_IsOK(res1
)) {
14885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
14887 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14890 result
= ((wxFont
const *)arg1
)->GetWeightString();
14891 wxPyEndAllowThreads(__tstate
);
14892 if (PyErr_Occurred()) SWIG_fail
;
14896 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14898 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14907 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14908 PyObject
*resultobj
= 0;
14909 wxFont
*arg1
= (wxFont
*) 0 ;
14910 bool arg2
= (bool) true ;
14915 PyObject
* obj0
= 0 ;
14916 PyObject
* obj1
= 0 ;
14917 char * kwnames
[] = {
14918 (char *) "self",(char *) "no", NULL
14921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14923 if (!SWIG_IsOK(res1
)) {
14924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
14926 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14928 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14929 if (!SWIG_IsOK(ecode2
)) {
14930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
14932 arg2
= static_cast< bool >(val2
);
14935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14936 (arg1
)->SetNoAntiAliasing(arg2
);
14937 wxPyEndAllowThreads(__tstate
);
14938 if (PyErr_Occurred()) SWIG_fail
;
14940 resultobj
= SWIG_Py_Void();
14947 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14948 PyObject
*resultobj
= 0;
14949 wxFont
*arg1
= (wxFont
*) 0 ;
14953 PyObject
*swig_obj
[1] ;
14955 if (!args
) SWIG_fail
;
14956 swig_obj
[0] = args
;
14957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14958 if (!SWIG_IsOK(res1
)) {
14959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
14961 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14964 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
14965 wxPyEndAllowThreads(__tstate
);
14966 if (PyErr_Occurred()) SWIG_fail
;
14969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14977 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14978 PyObject
*resultobj
= 0;
14979 wxFontEncoding result
;
14981 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
14983 if (!wxPyCheckForApp()) SWIG_fail
;
14984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14985 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
14986 wxPyEndAllowThreads(__tstate
);
14987 if (PyErr_Occurred()) SWIG_fail
;
14989 resultobj
= SWIG_From_int(static_cast< int >(result
));
14996 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14997 PyObject
*resultobj
= 0;
14998 wxFontEncoding arg1
;
15001 PyObject
* obj0
= 0 ;
15002 char * kwnames
[] = {
15003 (char *) "encoding", NULL
15006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15007 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15008 if (!SWIG_IsOK(ecode1
)) {
15009 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15011 arg1
= static_cast< wxFontEncoding
>(val1
);
15013 if (!wxPyCheckForApp()) SWIG_fail
;
15014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15015 wxFont::SetDefaultEncoding(arg1
);
15016 wxPyEndAllowThreads(__tstate
);
15017 if (PyErr_Occurred()) SWIG_fail
;
15019 resultobj
= SWIG_Py_Void();
15026 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15028 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15029 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15030 return SWIG_Py_Void();
15033 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15034 return SWIG_Python_InitShadowInstance(args
);
15037 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15038 PyObject
*resultobj
= 0;
15039 wxPyFontEnumerator
*result
= 0 ;
15041 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15043 if (!wxPyCheckForApp()) SWIG_fail
;
15044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15045 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15046 wxPyEndAllowThreads(__tstate
);
15047 if (PyErr_Occurred()) SWIG_fail
;
15049 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15056 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15057 PyObject
*resultobj
= 0;
15058 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15061 PyObject
*swig_obj
[1] ;
15063 if (!args
) SWIG_fail
;
15064 swig_obj
[0] = args
;
15065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15066 if (!SWIG_IsOK(res1
)) {
15067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15069 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15074 wxPyEndAllowThreads(__tstate
);
15075 if (PyErr_Occurred()) SWIG_fail
;
15077 resultobj
= SWIG_Py_Void();
15084 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15085 PyObject
*resultobj
= 0;
15086 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15087 PyObject
*arg2
= (PyObject
*) 0 ;
15088 PyObject
*arg3
= (PyObject
*) 0 ;
15094 PyObject
* obj0
= 0 ;
15095 PyObject
* obj1
= 0 ;
15096 PyObject
* obj2
= 0 ;
15097 PyObject
* obj3
= 0 ;
15098 char * kwnames
[] = {
15099 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15104 if (!SWIG_IsOK(res1
)) {
15105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15107 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15110 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15111 if (!SWIG_IsOK(ecode4
)) {
15112 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15114 arg4
= static_cast< bool >(val4
);
15116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15117 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15118 wxPyEndAllowThreads(__tstate
);
15119 if (PyErr_Occurred()) SWIG_fail
;
15121 resultobj
= SWIG_Py_Void();
15128 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15129 PyObject
*resultobj
= 0;
15130 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15131 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15132 bool arg3
= (bool) false ;
15140 PyObject
* obj0
= 0 ;
15141 PyObject
* obj1
= 0 ;
15142 PyObject
* obj2
= 0 ;
15143 char * kwnames
[] = {
15144 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15149 if (!SWIG_IsOK(res1
)) {
15150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15152 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15154 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15155 if (!SWIG_IsOK(ecode2
)) {
15156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15158 arg2
= static_cast< wxFontEncoding
>(val2
);
15161 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15162 if (!SWIG_IsOK(ecode3
)) {
15163 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15165 arg3
= static_cast< bool >(val3
);
15168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15169 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15170 wxPyEndAllowThreads(__tstate
);
15171 if (PyErr_Occurred()) SWIG_fail
;
15174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15182 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15183 PyObject
*resultobj
= 0;
15184 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15185 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15186 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15190 bool temp2
= false ;
15191 PyObject
* obj0
= 0 ;
15192 PyObject
* obj1
= 0 ;
15193 char * kwnames
[] = {
15194 (char *) "self",(char *) "facename", NULL
15197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15199 if (!SWIG_IsOK(res1
)) {
15200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15202 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15205 arg2
= wxString_in_helper(obj1
);
15206 if (arg2
== NULL
) SWIG_fail
;
15211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15212 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15213 wxPyEndAllowThreads(__tstate
);
15214 if (PyErr_Occurred()) SWIG_fail
;
15217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15233 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15234 PyObject
*resultobj
= 0;
15235 PyObject
*result
= 0 ;
15237 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15240 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15241 wxPyEndAllowThreads(__tstate
);
15242 if (PyErr_Occurred()) SWIG_fail
;
15244 resultobj
= result
;
15251 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15252 PyObject
*resultobj
= 0;
15253 PyObject
*result
= 0 ;
15255 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15258 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15259 wxPyEndAllowThreads(__tstate
);
15260 if (PyErr_Occurred()) SWIG_fail
;
15262 resultobj
= result
;
15269 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15270 PyObject
*resultobj
= 0;
15271 wxString
*arg1
= 0 ;
15273 bool temp1
= false ;
15274 PyObject
* obj0
= 0 ;
15275 char * kwnames
[] = {
15276 (char *) "str", NULL
15279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15281 arg1
= wxString_in_helper(obj0
);
15282 if (arg1
== NULL
) SWIG_fail
;
15286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15287 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15288 wxPyEndAllowThreads(__tstate
);
15289 if (PyErr_Occurred()) SWIG_fail
;
15292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15308 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15310 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15311 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15312 return SWIG_Py_Void();
15315 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15316 return SWIG_Python_InitShadowInstance(args
);
15319 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15320 PyObject
*resultobj
= 0;
15321 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15327 PyObject
*swig_obj
[2] ;
15329 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15331 if (!SWIG_IsOK(res1
)) {
15332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15334 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15335 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15336 if (!SWIG_IsOK(ecode2
)) {
15337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15339 arg2
= static_cast< int >(val2
);
15340 if (arg1
) (arg1
)->Language
= arg2
;
15342 resultobj
= SWIG_Py_Void();
15349 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15350 PyObject
*resultobj
= 0;
15351 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15355 PyObject
*swig_obj
[1] ;
15357 if (!args
) SWIG_fail
;
15358 swig_obj
[0] = args
;
15359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15360 if (!SWIG_IsOK(res1
)) {
15361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15363 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15364 result
= (int) ((arg1
)->Language
);
15365 resultobj
= SWIG_From_int(static_cast< int >(result
));
15372 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15373 PyObject
*resultobj
= 0;
15374 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15375 wxString
*arg2
= (wxString
*) 0 ;
15378 bool temp2
= false ;
15379 PyObject
*swig_obj
[2] ;
15381 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15383 if (!SWIG_IsOK(res1
)) {
15384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15386 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15388 arg2
= wxString_in_helper(swig_obj
[1]);
15389 if (arg2
== NULL
) SWIG_fail
;
15392 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15394 resultobj
= SWIG_Py_Void();
15409 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15410 PyObject
*resultobj
= 0;
15411 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15412 wxString
*result
= 0 ;
15415 PyObject
*swig_obj
[1] ;
15417 if (!args
) SWIG_fail
;
15418 swig_obj
[0] = args
;
15419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15420 if (!SWIG_IsOK(res1
)) {
15421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15423 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15424 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15427 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15429 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15438 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15439 PyObject
*resultobj
= 0;
15440 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15441 wxString
*arg2
= (wxString
*) 0 ;
15444 bool temp2
= false ;
15445 PyObject
*swig_obj
[2] ;
15447 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15449 if (!SWIG_IsOK(res1
)) {
15450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15452 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15454 arg2
= wxString_in_helper(swig_obj
[1]);
15455 if (arg2
== NULL
) SWIG_fail
;
15458 if (arg1
) (arg1
)->Description
= *arg2
;
15460 resultobj
= SWIG_Py_Void();
15475 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15476 PyObject
*resultobj
= 0;
15477 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15478 wxString
*result
= 0 ;
15481 PyObject
*swig_obj
[1] ;
15483 if (!args
) SWIG_fail
;
15484 swig_obj
[0] = args
;
15485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15486 if (!SWIG_IsOK(res1
)) {
15487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15489 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15490 result
= (wxString
*)& ((arg1
)->Description
);
15493 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15495 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15504 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15506 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15507 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15508 return SWIG_Py_Void();
15511 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15512 PyObject
*resultobj
= 0;
15513 int arg1
= (int) -1 ;
15514 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15515 wxLocale
*result
= 0 ;
15520 PyObject
* obj0
= 0 ;
15521 PyObject
* obj1
= 0 ;
15522 char * kwnames
[] = {
15523 (char *) "language",(char *) "flags", NULL
15526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15528 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15529 if (!SWIG_IsOK(ecode1
)) {
15530 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15532 arg1
= static_cast< int >(val1
);
15535 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15536 if (!SWIG_IsOK(ecode2
)) {
15537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15539 arg2
= static_cast< int >(val2
);
15542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15543 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15544 wxPyEndAllowThreads(__tstate
);
15545 if (PyErr_Occurred()) SWIG_fail
;
15547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15554 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15555 PyObject
*resultobj
= 0;
15556 wxLocale
*arg1
= (wxLocale
*) 0 ;
15559 PyObject
*swig_obj
[1] ;
15561 if (!args
) SWIG_fail
;
15562 swig_obj
[0] = args
;
15563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15564 if (!SWIG_IsOK(res1
)) {
15565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15567 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15572 wxPyEndAllowThreads(__tstate
);
15573 if (PyErr_Occurred()) SWIG_fail
;
15575 resultobj
= SWIG_Py_Void();
15582 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15583 PyObject
*resultobj
= 0;
15584 wxLocale
*arg1
= (wxLocale
*) 0 ;
15585 wxString
*arg2
= 0 ;
15586 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15587 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15588 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15589 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15590 bool arg5
= (bool) true ;
15591 bool arg6
= (bool) false ;
15595 bool temp2
= false ;
15596 bool temp3
= false ;
15597 bool temp4
= false ;
15602 PyObject
* obj0
= 0 ;
15603 PyObject
* obj1
= 0 ;
15604 PyObject
* obj2
= 0 ;
15605 PyObject
* obj3
= 0 ;
15606 PyObject
* obj4
= 0 ;
15607 PyObject
* obj5
= 0 ;
15608 char * kwnames
[] = {
15609 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15614 if (!SWIG_IsOK(res1
)) {
15615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15617 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15619 arg2
= wxString_in_helper(obj1
);
15620 if (arg2
== NULL
) SWIG_fail
;
15625 arg3
= wxString_in_helper(obj2
);
15626 if (arg3
== NULL
) SWIG_fail
;
15632 arg4
= wxString_in_helper(obj3
);
15633 if (arg4
== NULL
) SWIG_fail
;
15638 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
15639 if (!SWIG_IsOK(ecode5
)) {
15640 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
15642 arg5
= static_cast< bool >(val5
);
15645 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
15646 if (!SWIG_IsOK(ecode6
)) {
15647 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
15649 arg6
= static_cast< bool >(val6
);
15652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15653 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
15654 wxPyEndAllowThreads(__tstate
);
15655 if (PyErr_Occurred()) SWIG_fail
;
15658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15690 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15691 PyObject
*resultobj
= 0;
15692 wxLocale
*arg1
= (wxLocale
*) 0 ;
15693 int arg2
= (int) wxLANGUAGE_DEFAULT
;
15694 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15702 PyObject
* obj0
= 0 ;
15703 PyObject
* obj1
= 0 ;
15704 PyObject
* obj2
= 0 ;
15705 char * kwnames
[] = {
15706 (char *) "self",(char *) "language",(char *) "flags", NULL
15709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15711 if (!SWIG_IsOK(res1
)) {
15712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
15714 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15716 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15717 if (!SWIG_IsOK(ecode2
)) {
15718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
15720 arg2
= static_cast< int >(val2
);
15723 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15724 if (!SWIG_IsOK(ecode3
)) {
15725 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
15727 arg3
= static_cast< int >(val3
);
15730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15731 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
15732 wxPyEndAllowThreads(__tstate
);
15733 if (PyErr_Occurred()) SWIG_fail
;
15736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15744 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15745 PyObject
*resultobj
= 0;
15748 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
15750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15751 result
= (int)wxLocale::GetSystemLanguage();
15752 wxPyEndAllowThreads(__tstate
);
15753 if (PyErr_Occurred()) SWIG_fail
;
15755 resultobj
= SWIG_From_int(static_cast< int >(result
));
15762 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15763 PyObject
*resultobj
= 0;
15764 wxFontEncoding result
;
15766 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
15768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15769 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
15770 wxPyEndAllowThreads(__tstate
);
15771 if (PyErr_Occurred()) SWIG_fail
;
15773 resultobj
= SWIG_From_int(static_cast< int >(result
));
15780 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15781 PyObject
*resultobj
= 0;
15784 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
15786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15787 result
= wxLocale::GetSystemEncodingName();
15788 wxPyEndAllowThreads(__tstate
);
15789 if (PyErr_Occurred()) SWIG_fail
;
15793 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15795 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15804 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15805 PyObject
*resultobj
= 0;
15806 wxLocale
*arg1
= (wxLocale
*) 0 ;
15810 PyObject
*swig_obj
[1] ;
15812 if (!args
) SWIG_fail
;
15813 swig_obj
[0] = args
;
15814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15815 if (!SWIG_IsOK(res1
)) {
15816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
15818 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15821 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
15822 wxPyEndAllowThreads(__tstate
);
15823 if (PyErr_Occurred()) SWIG_fail
;
15826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15834 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15835 PyObject
*resultobj
= 0;
15836 wxLocale
*arg1
= (wxLocale
*) 0 ;
15840 PyObject
*swig_obj
[1] ;
15842 if (!args
) SWIG_fail
;
15843 swig_obj
[0] = args
;
15844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15845 if (!SWIG_IsOK(res1
)) {
15846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
15848 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15851 result
= ((wxLocale
const *)arg1
)->GetLocale();
15852 wxPyEndAllowThreads(__tstate
);
15853 if (PyErr_Occurred()) SWIG_fail
;
15857 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15859 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15868 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15869 PyObject
*resultobj
= 0;
15870 wxLocale
*arg1
= (wxLocale
*) 0 ;
15874 PyObject
*swig_obj
[1] ;
15876 if (!args
) SWIG_fail
;
15877 swig_obj
[0] = args
;
15878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15879 if (!SWIG_IsOK(res1
)) {
15880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
15882 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15885 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
15886 wxPyEndAllowThreads(__tstate
);
15887 if (PyErr_Occurred()) SWIG_fail
;
15889 resultobj
= SWIG_From_int(static_cast< int >(result
));
15896 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15897 PyObject
*resultobj
= 0;
15898 wxLocale
*arg1
= (wxLocale
*) 0 ;
15902 PyObject
*swig_obj
[1] ;
15904 if (!args
) SWIG_fail
;
15905 swig_obj
[0] = args
;
15906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15907 if (!SWIG_IsOK(res1
)) {
15908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
15910 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15913 result
= ((wxLocale
const *)arg1
)->GetSysName();
15914 wxPyEndAllowThreads(__tstate
);
15915 if (PyErr_Occurred()) SWIG_fail
;
15919 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15921 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15930 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15931 PyObject
*resultobj
= 0;
15932 wxLocale
*arg1
= (wxLocale
*) 0 ;
15936 PyObject
*swig_obj
[1] ;
15938 if (!args
) SWIG_fail
;
15939 swig_obj
[0] = args
;
15940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15941 if (!SWIG_IsOK(res1
)) {
15942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
15944 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15947 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
15948 wxPyEndAllowThreads(__tstate
);
15949 if (PyErr_Occurred()) SWIG_fail
;
15953 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15955 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15964 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15965 PyObject
*resultobj
= 0;
15966 wxString
*arg1
= 0 ;
15967 bool temp1
= false ;
15968 PyObject
* obj0
= 0 ;
15969 char * kwnames
[] = {
15970 (char *) "prefix", NULL
15973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
15975 arg1
= wxString_in_helper(obj0
);
15976 if (arg1
== NULL
) SWIG_fail
;
15980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15981 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
15982 wxPyEndAllowThreads(__tstate
);
15983 if (PyErr_Occurred()) SWIG_fail
;
15985 resultobj
= SWIG_Py_Void();
16000 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16001 PyObject
*resultobj
= 0;
16002 wxLocale
*arg1
= (wxLocale
*) 0 ;
16003 wxString
*arg2
= 0 ;
16007 bool temp2
= false ;
16008 PyObject
* obj0
= 0 ;
16009 PyObject
* obj1
= 0 ;
16010 char * kwnames
[] = {
16011 (char *) "self",(char *) "szDomain", NULL
16014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16016 if (!SWIG_IsOK(res1
)) {
16017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16019 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16021 arg2
= wxString_in_helper(obj1
);
16022 if (arg2
== NULL
) SWIG_fail
;
16026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16027 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16028 wxPyEndAllowThreads(__tstate
);
16029 if (PyErr_Occurred()) SWIG_fail
;
16032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16048 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16049 PyObject
*resultobj
= 0;
16054 PyObject
* obj0
= 0 ;
16055 char * kwnames
[] = {
16056 (char *) "lang", NULL
16059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16060 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16061 if (!SWIG_IsOK(ecode1
)) {
16062 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16064 arg1
= static_cast< int >(val1
);
16066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16067 result
= (bool)wxLocale::IsAvailable(arg1
);
16068 wxPyEndAllowThreads(__tstate
);
16069 if (PyErr_Occurred()) SWIG_fail
;
16072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16080 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16081 PyObject
*resultobj
= 0;
16082 wxLocale
*arg1
= (wxLocale
*) 0 ;
16083 wxString
*arg2
= 0 ;
16087 bool temp2
= false ;
16088 PyObject
* obj0
= 0 ;
16089 PyObject
* obj1
= 0 ;
16090 char * kwnames
[] = {
16091 (char *) "self",(char *) "szDomain", NULL
16094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16096 if (!SWIG_IsOK(res1
)) {
16097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16099 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16101 arg2
= wxString_in_helper(obj1
);
16102 if (arg2
== NULL
) SWIG_fail
;
16106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16107 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16108 wxPyEndAllowThreads(__tstate
);
16109 if (PyErr_Occurred()) SWIG_fail
;
16112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16128 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16129 PyObject
*resultobj
= 0;
16131 wxLanguageInfo
*result
= 0 ;
16134 PyObject
* obj0
= 0 ;
16135 char * kwnames
[] = {
16136 (char *) "lang", NULL
16139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16140 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16141 if (!SWIG_IsOK(ecode1
)) {
16142 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16144 arg1
= static_cast< int >(val1
);
16146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16147 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16148 wxPyEndAllowThreads(__tstate
);
16149 if (PyErr_Occurred()) SWIG_fail
;
16151 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16158 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16159 PyObject
*resultobj
= 0;
16164 PyObject
* obj0
= 0 ;
16165 char * kwnames
[] = {
16166 (char *) "lang", NULL
16169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16170 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16171 if (!SWIG_IsOK(ecode1
)) {
16172 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16174 arg1
= static_cast< int >(val1
);
16176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16177 result
= wxLocale::GetLanguageName(arg1
);
16178 wxPyEndAllowThreads(__tstate
);
16179 if (PyErr_Occurred()) SWIG_fail
;
16183 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16185 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16194 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16195 PyObject
*resultobj
= 0;
16196 wxString
*arg1
= 0 ;
16197 wxLanguageInfo
*result
= 0 ;
16198 bool temp1
= false ;
16199 PyObject
* obj0
= 0 ;
16200 char * kwnames
[] = {
16201 (char *) "locale", NULL
16204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16206 arg1
= wxString_in_helper(obj0
);
16207 if (arg1
== NULL
) SWIG_fail
;
16211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16212 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16213 wxPyEndAllowThreads(__tstate
);
16214 if (PyErr_Occurred()) SWIG_fail
;
16216 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16231 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16232 PyObject
*resultobj
= 0;
16233 wxLanguageInfo
*arg1
= 0 ;
16236 PyObject
* obj0
= 0 ;
16237 char * kwnames
[] = {
16238 (char *) "info", NULL
16241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16242 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16243 if (!SWIG_IsOK(res1
)) {
16244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16247 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16249 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16252 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16253 wxPyEndAllowThreads(__tstate
);
16254 if (PyErr_Occurred()) SWIG_fail
;
16256 resultobj
= SWIG_Py_Void();
16263 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16264 PyObject
*resultobj
= 0;
16265 wxLocale
*arg1
= (wxLocale
*) 0 ;
16266 wxString
*arg2
= 0 ;
16267 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16268 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16272 bool temp2
= false ;
16273 bool temp3
= false ;
16274 PyObject
* obj0
= 0 ;
16275 PyObject
* obj1
= 0 ;
16276 PyObject
* obj2
= 0 ;
16277 char * kwnames
[] = {
16278 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16283 if (!SWIG_IsOK(res1
)) {
16284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16286 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16288 arg2
= wxString_in_helper(obj1
);
16289 if (arg2
== NULL
) SWIG_fail
;
16294 arg3
= wxString_in_helper(obj2
);
16295 if (arg3
== NULL
) SWIG_fail
;
16300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16301 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16302 wxPyEndAllowThreads(__tstate
);
16303 if (PyErr_Occurred()) SWIG_fail
;
16307 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16309 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16334 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16335 PyObject
*resultobj
= 0;
16336 wxLocale
*arg1
= (wxLocale
*) 0 ;
16337 wxString
*result
= 0 ;
16340 PyObject
*swig_obj
[1] ;
16342 if (!args
) SWIG_fail
;
16343 swig_obj
[0] = args
;
16344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16345 if (!SWIG_IsOK(res1
)) {
16346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16348 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16352 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16353 result
= (wxString
*) &_result_ref
;
16355 wxPyEndAllowThreads(__tstate
);
16356 if (PyErr_Occurred()) SWIG_fail
;
16360 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16362 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16371 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16373 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16374 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16375 return SWIG_Py_Void();
16378 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16379 return SWIG_Python_InitShadowInstance(args
);
16382 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16383 PyObject
*resultobj
= 0;
16384 int arg1
= (int) -1 ;
16385 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16386 wxPyLocale
*result
= 0 ;
16391 PyObject
* obj0
= 0 ;
16392 PyObject
* obj1
= 0 ;
16393 char * kwnames
[] = {
16394 (char *) "language",(char *) "flags", NULL
16397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16399 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16400 if (!SWIG_IsOK(ecode1
)) {
16401 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16403 arg1
= static_cast< int >(val1
);
16406 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16407 if (!SWIG_IsOK(ecode2
)) {
16408 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16410 arg2
= static_cast< int >(val2
);
16413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16414 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16415 wxPyEndAllowThreads(__tstate
);
16416 if (PyErr_Occurred()) SWIG_fail
;
16418 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16425 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16426 PyObject
*resultobj
= 0;
16427 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16430 PyObject
*swig_obj
[1] ;
16432 if (!args
) SWIG_fail
;
16433 swig_obj
[0] = args
;
16434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16435 if (!SWIG_IsOK(res1
)) {
16436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16438 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16443 wxPyEndAllowThreads(__tstate
);
16444 if (PyErr_Occurred()) SWIG_fail
;
16446 resultobj
= SWIG_Py_Void();
16453 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16454 PyObject
*resultobj
= 0;
16455 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16456 PyObject
*arg2
= (PyObject
*) 0 ;
16457 PyObject
*arg3
= (PyObject
*) 0 ;
16460 PyObject
* obj0
= 0 ;
16461 PyObject
* obj1
= 0 ;
16462 PyObject
* obj2
= 0 ;
16463 char * kwnames
[] = {
16464 (char *) "self",(char *) "self",(char *) "_class", NULL
16467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16469 if (!SWIG_IsOK(res1
)) {
16470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16472 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16477 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16478 wxPyEndAllowThreads(__tstate
);
16479 if (PyErr_Occurred()) SWIG_fail
;
16481 resultobj
= SWIG_Py_Void();
16488 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16489 PyObject
*resultobj
= 0;
16490 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16491 wxChar
*arg2
= (wxChar
*) 0 ;
16492 wxChar
*arg3
= (wxChar
*) NULL
;
16493 wxChar
*result
= 0 ;
16500 PyObject
* obj0
= 0 ;
16501 PyObject
* obj1
= 0 ;
16502 PyObject
* obj2
= 0 ;
16503 char * kwnames
[] = {
16504 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16509 if (!SWIG_IsOK(res1
)) {
16510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16512 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16513 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16514 if (!SWIG_IsOK(res2
)) {
16515 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16517 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16519 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16520 if (!SWIG_IsOK(res3
)) {
16521 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16523 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16527 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16528 wxPyEndAllowThreads(__tstate
);
16529 if (PyErr_Occurred()) SWIG_fail
;
16531 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16538 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16539 PyObject
*resultobj
= 0;
16540 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16541 wxChar
*arg2
= (wxChar
*) 0 ;
16542 wxChar
*arg3
= (wxChar
*) 0 ;
16544 wxChar
*arg5
= (wxChar
*) NULL
;
16545 wxChar
*result
= 0 ;
16556 PyObject
* obj0
= 0 ;
16557 PyObject
* obj1
= 0 ;
16558 PyObject
* obj2
= 0 ;
16559 PyObject
* obj3
= 0 ;
16560 PyObject
* obj4
= 0 ;
16561 char * kwnames
[] = {
16562 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16567 if (!SWIG_IsOK(res1
)) {
16568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16570 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16571 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16572 if (!SWIG_IsOK(res2
)) {
16573 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16575 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16576 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16577 if (!SWIG_IsOK(res3
)) {
16578 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16580 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16581 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16582 if (!SWIG_IsOK(ecode4
)) {
16583 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16585 arg4
= static_cast< size_t >(val4
);
16587 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16588 if (!SWIG_IsOK(res5
)) {
16589 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16591 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16595 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16596 wxPyEndAllowThreads(__tstate
);
16597 if (PyErr_Occurred()) SWIG_fail
;
16599 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16606 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16608 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16609 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16610 return SWIG_Py_Void();
16613 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16614 return SWIG_Python_InitShadowInstance(args
);
16617 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16618 PyObject
*resultobj
= 0;
16619 wxLocale
*result
= 0 ;
16621 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16624 result
= (wxLocale
*)wxGetLocale();
16625 wxPyEndAllowThreads(__tstate
);
16626 if (PyErr_Occurred()) SWIG_fail
;
16628 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
16635 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16636 PyObject
*resultobj
= 0;
16637 wxString
*arg1
= 0 ;
16639 bool temp1
= false ;
16641 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
16643 arg1
= wxString_in_helper(swig_obj
[0]);
16644 if (arg1
== NULL
) SWIG_fail
;
16648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16649 result
= wxGetTranslation((wxString
const &)*arg1
);
16650 wxPyEndAllowThreads(__tstate
);
16651 if (PyErr_Occurred()) SWIG_fail
;
16655 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16657 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16674 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16675 PyObject
*resultobj
= 0;
16676 wxString
*arg1
= 0 ;
16677 wxString
*arg2
= 0 ;
16679 bool temp1
= false ;
16680 bool temp2
= false ;
16682 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16684 arg1
= wxString_in_helper(swig_obj
[0]);
16685 if (arg1
== NULL
) SWIG_fail
;
16689 arg2
= wxString_in_helper(swig_obj
[1]);
16690 if (arg2
== NULL
) SWIG_fail
;
16694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16695 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
16696 wxPyEndAllowThreads(__tstate
);
16697 if (PyErr_Occurred()) SWIG_fail
;
16701 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16703 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16728 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16729 PyObject
*resultobj
= 0;
16730 wxString
*arg1
= 0 ;
16731 wxString
*arg2
= 0 ;
16734 bool temp1
= false ;
16735 bool temp2
= false ;
16739 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
16741 arg1
= wxString_in_helper(swig_obj
[0]);
16742 if (arg1
== NULL
) SWIG_fail
;
16746 arg2
= wxString_in_helper(swig_obj
[1]);
16747 if (arg2
== NULL
) SWIG_fail
;
16750 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16751 if (!SWIG_IsOK(ecode3
)) {
16752 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16754 arg3
= static_cast< size_t >(val3
);
16756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16757 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
16758 wxPyEndAllowThreads(__tstate
);
16759 if (PyErr_Occurred()) SWIG_fail
;
16763 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16765 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16790 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16791 PyObject
*resultobj
= 0;
16792 wxString
*arg1
= 0 ;
16793 wxString
*arg2
= 0 ;
16795 wxString
*arg4
= 0 ;
16797 bool temp1
= false ;
16798 bool temp2
= false ;
16801 bool temp4
= false ;
16803 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
16805 arg1
= wxString_in_helper(swig_obj
[0]);
16806 if (arg1
== NULL
) SWIG_fail
;
16810 arg2
= wxString_in_helper(swig_obj
[1]);
16811 if (arg2
== NULL
) SWIG_fail
;
16814 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16815 if (!SWIG_IsOK(ecode3
)) {
16816 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16818 arg3
= static_cast< size_t >(val3
);
16820 arg4
= wxString_in_helper(swig_obj
[3]);
16821 if (arg4
== NULL
) SWIG_fail
;
16825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16826 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
16827 wxPyEndAllowThreads(__tstate
);
16828 if (PyErr_Occurred()) SWIG_fail
;
16832 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16834 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16867 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
16871 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
16874 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
16877 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
16880 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
16883 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
16887 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
16892 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16893 PyObject
*resultobj
= 0;
16894 wxEncodingConverter
*result
= 0 ;
16896 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
16898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16899 result
= (wxEncodingConverter
*)new wxEncodingConverter();
16900 wxPyEndAllowThreads(__tstate
);
16901 if (PyErr_Occurred()) SWIG_fail
;
16903 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
16910 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16911 PyObject
*resultobj
= 0;
16912 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16915 PyObject
*swig_obj
[1] ;
16917 if (!args
) SWIG_fail
;
16918 swig_obj
[0] = args
;
16919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
16920 if (!SWIG_IsOK(res1
)) {
16921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16923 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16928 wxPyEndAllowThreads(__tstate
);
16929 if (PyErr_Occurred()) SWIG_fail
;
16931 resultobj
= SWIG_Py_Void();
16938 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16939 PyObject
*resultobj
= 0;
16940 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16941 wxFontEncoding arg2
;
16942 wxFontEncoding arg3
;
16943 int arg4
= (int) wxCONVERT_STRICT
;
16953 PyObject
* obj0
= 0 ;
16954 PyObject
* obj1
= 0 ;
16955 PyObject
* obj2
= 0 ;
16956 PyObject
* obj3
= 0 ;
16957 char * kwnames
[] = {
16958 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
16961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
16963 if (!SWIG_IsOK(res1
)) {
16964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16966 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16967 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16968 if (!SWIG_IsOK(ecode2
)) {
16969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16971 arg2
= static_cast< wxFontEncoding
>(val2
);
16972 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16973 if (!SWIG_IsOK(ecode3
)) {
16974 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
16976 arg3
= static_cast< wxFontEncoding
>(val3
);
16978 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16979 if (!SWIG_IsOK(ecode4
)) {
16980 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
16982 arg4
= static_cast< int >(val4
);
16985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16986 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
16987 wxPyEndAllowThreads(__tstate
);
16988 if (PyErr_Occurred()) SWIG_fail
;
16991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16999 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17000 PyObject
*resultobj
= 0;
17001 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17002 wxString
*arg2
= 0 ;
17006 bool temp2
= false ;
17007 PyObject
* obj0
= 0 ;
17008 PyObject
* obj1
= 0 ;
17009 char * kwnames
[] = {
17010 (char *) "self",(char *) "input", NULL
17013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17015 if (!SWIG_IsOK(res1
)) {
17016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17018 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17020 arg2
= wxString_in_helper(obj1
);
17021 if (arg2
== NULL
) SWIG_fail
;
17025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17026 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17027 wxPyEndAllowThreads(__tstate
);
17028 if (PyErr_Occurred()) SWIG_fail
;
17032 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17034 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17051 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17052 PyObject
*resultobj
= 0;
17053 wxFontEncoding arg1
;
17054 int arg2
= (int) wxPLATFORM_CURRENT
;
17055 wxFontEncodingArray result
;
17060 PyObject
* obj0
= 0 ;
17061 PyObject
* obj1
= 0 ;
17062 char * kwnames
[] = {
17063 (char *) "enc",(char *) "platform", NULL
17066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17067 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17068 if (!SWIG_IsOK(ecode1
)) {
17069 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17071 arg1
= static_cast< wxFontEncoding
>(val1
);
17073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17074 if (!SWIG_IsOK(ecode2
)) {
17075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17077 arg2
= static_cast< int >(val2
);
17080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17081 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17082 wxPyEndAllowThreads(__tstate
);
17083 if (PyErr_Occurred()) SWIG_fail
;
17086 resultobj
= PyList_New(0);
17087 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17088 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17089 PyList_Append(resultobj
, number
);
17099 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17100 PyObject
*resultobj
= 0;
17101 wxFontEncoding arg1
;
17102 wxFontEncodingArray result
;
17105 PyObject
* obj0
= 0 ;
17106 char * kwnames
[] = {
17107 (char *) "enc", NULL
17110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17111 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17112 if (!SWIG_IsOK(ecode1
)) {
17113 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17115 arg1
= static_cast< wxFontEncoding
>(val1
);
17117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17118 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17119 wxPyEndAllowThreads(__tstate
);
17120 if (PyErr_Occurred()) SWIG_fail
;
17123 resultobj
= PyList_New(0);
17124 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17125 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17126 PyList_Append(resultobj
, number
);
17136 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17137 PyObject
*resultobj
= 0;
17138 wxFontEncoding arg1
;
17139 wxFontEncoding arg2
;
17145 PyObject
* obj0
= 0 ;
17146 PyObject
* obj1
= 0 ;
17147 char * kwnames
[] = {
17148 (char *) "encIn",(char *) "encOut", NULL
17151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17152 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17153 if (!SWIG_IsOK(ecode1
)) {
17154 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17156 arg1
= static_cast< wxFontEncoding
>(val1
);
17157 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17158 if (!SWIG_IsOK(ecode2
)) {
17159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17161 arg2
= static_cast< wxFontEncoding
>(val2
);
17163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17164 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17165 wxPyEndAllowThreads(__tstate
);
17166 if (PyErr_Occurred()) SWIG_fail
;
17169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17177 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17179 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17180 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17181 return SWIG_Py_Void();
17184 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17185 return SWIG_Python_InitShadowInstance(args
);
17188 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17189 PyObject
*resultobj
= 0;
17190 wxDC
*arg1
= (wxDC
*) 0 ;
17193 PyObject
*swig_obj
[1] ;
17195 if (!args
) SWIG_fail
;
17196 swig_obj
[0] = args
;
17197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17198 if (!SWIG_IsOK(res1
)) {
17199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17201 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17206 wxPyEndAllowThreads(__tstate
);
17207 if (PyErr_Occurred()) SWIG_fail
;
17209 resultobj
= SWIG_Py_Void();
17216 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17217 PyObject
*resultobj
= 0;
17218 wxDC
*arg1
= (wxDC
*) 0 ;
17221 wxColour
*arg4
= 0 ;
17222 int arg5
= (int) wxFLOOD_SURFACE
;
17233 PyObject
* obj0
= 0 ;
17234 PyObject
* obj1
= 0 ;
17235 PyObject
* obj2
= 0 ;
17236 PyObject
* obj3
= 0 ;
17237 PyObject
* obj4
= 0 ;
17238 char * kwnames
[] = {
17239 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17244 if (!SWIG_IsOK(res1
)) {
17245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17247 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17248 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17249 if (!SWIG_IsOK(ecode2
)) {
17250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17252 arg2
= static_cast< int >(val2
);
17253 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17254 if (!SWIG_IsOK(ecode3
)) {
17255 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17257 arg3
= static_cast< int >(val3
);
17260 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17263 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17264 if (!SWIG_IsOK(ecode5
)) {
17265 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17267 arg5
= static_cast< int >(val5
);
17270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17271 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17272 wxPyEndAllowThreads(__tstate
);
17273 if (PyErr_Occurred()) SWIG_fail
;
17276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17284 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17285 PyObject
*resultobj
= 0;
17286 wxDC
*arg1
= (wxDC
*) 0 ;
17287 wxPoint
*arg2
= 0 ;
17288 wxColour
*arg3
= 0 ;
17289 int arg4
= (int) wxFLOOD_SURFACE
;
17297 PyObject
* obj0
= 0 ;
17298 PyObject
* obj1
= 0 ;
17299 PyObject
* obj2
= 0 ;
17300 PyObject
* obj3
= 0 ;
17301 char * kwnames
[] = {
17302 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17307 if (!SWIG_IsOK(res1
)) {
17308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17310 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17313 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17317 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17320 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17321 if (!SWIG_IsOK(ecode4
)) {
17322 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17324 arg4
= static_cast< int >(val4
);
17327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17328 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17329 wxPyEndAllowThreads(__tstate
);
17330 if (PyErr_Occurred()) SWIG_fail
;
17333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17341 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17342 PyObject
*resultobj
= 0;
17343 wxDC
*arg1
= (wxDC
*) 0 ;
17345 wxColour
*arg3
= 0 ;
17346 wxColour
*arg4
= 0 ;
17347 wxPoint
*arg5
= 0 ;
17354 PyObject
* obj0
= 0 ;
17355 PyObject
* obj1
= 0 ;
17356 PyObject
* obj2
= 0 ;
17357 PyObject
* obj3
= 0 ;
17358 PyObject
* obj4
= 0 ;
17359 char * kwnames
[] = {
17360 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17365 if (!SWIG_IsOK(res1
)) {
17366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17368 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17371 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17375 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17379 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17383 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17387 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17388 wxPyEndAllowThreads(__tstate
);
17389 if (PyErr_Occurred()) SWIG_fail
;
17391 resultobj
= SWIG_Py_Void();
17398 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17399 PyObject
*resultobj
= 0;
17400 wxDC
*arg1
= (wxDC
*) 0 ;
17402 wxColour
*arg3
= 0 ;
17403 wxColour
*arg4
= 0 ;
17404 wxDirection arg5
= (wxDirection
) wxEAST
;
17412 PyObject
* obj0
= 0 ;
17413 PyObject
* obj1
= 0 ;
17414 PyObject
* obj2
= 0 ;
17415 PyObject
* obj3
= 0 ;
17416 PyObject
* obj4
= 0 ;
17417 char * kwnames
[] = {
17418 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17423 if (!SWIG_IsOK(res1
)) {
17424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17426 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17429 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17433 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17437 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17440 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17441 if (!SWIG_IsOK(ecode5
)) {
17442 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17444 arg5
= static_cast< wxDirection
>(val5
);
17447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17448 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17449 wxPyEndAllowThreads(__tstate
);
17450 if (PyErr_Occurred()) SWIG_fail
;
17452 resultobj
= SWIG_Py_Void();
17459 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17460 PyObject
*resultobj
= 0;
17461 wxDC
*arg1
= (wxDC
*) 0 ;
17471 PyObject
* obj0
= 0 ;
17472 PyObject
* obj1
= 0 ;
17473 PyObject
* obj2
= 0 ;
17474 char * kwnames
[] = {
17475 (char *) "self",(char *) "x",(char *) "y", NULL
17478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17480 if (!SWIG_IsOK(res1
)) {
17481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17483 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17484 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17485 if (!SWIG_IsOK(ecode2
)) {
17486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17488 arg2
= static_cast< int >(val2
);
17489 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17490 if (!SWIG_IsOK(ecode3
)) {
17491 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17493 arg3
= static_cast< int >(val3
);
17495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17496 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17497 wxPyEndAllowThreads(__tstate
);
17498 if (PyErr_Occurred()) SWIG_fail
;
17500 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17507 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17508 PyObject
*resultobj
= 0;
17509 wxDC
*arg1
= (wxDC
*) 0 ;
17510 wxPoint
*arg2
= 0 ;
17515 PyObject
* obj0
= 0 ;
17516 PyObject
* obj1
= 0 ;
17517 char * kwnames
[] = {
17518 (char *) "self",(char *) "pt", NULL
17521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17523 if (!SWIG_IsOK(res1
)) {
17524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17526 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17529 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17533 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17534 wxPyEndAllowThreads(__tstate
);
17535 if (PyErr_Occurred()) SWIG_fail
;
17537 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17544 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17545 PyObject
*resultobj
= 0;
17546 wxDC
*arg1
= (wxDC
*) 0 ;
17561 PyObject
* obj0
= 0 ;
17562 PyObject
* obj1
= 0 ;
17563 PyObject
* obj2
= 0 ;
17564 PyObject
* obj3
= 0 ;
17565 PyObject
* obj4
= 0 ;
17566 char * kwnames
[] = {
17567 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17572 if (!SWIG_IsOK(res1
)) {
17573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17575 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17576 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17577 if (!SWIG_IsOK(ecode2
)) {
17578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17580 arg2
= static_cast< int >(val2
);
17581 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17582 if (!SWIG_IsOK(ecode3
)) {
17583 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17585 arg3
= static_cast< int >(val3
);
17586 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17587 if (!SWIG_IsOK(ecode4
)) {
17588 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17590 arg4
= static_cast< int >(val4
);
17591 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17592 if (!SWIG_IsOK(ecode5
)) {
17593 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17595 arg5
= static_cast< int >(val5
);
17597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17598 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17599 wxPyEndAllowThreads(__tstate
);
17600 if (PyErr_Occurred()) SWIG_fail
;
17602 resultobj
= SWIG_Py_Void();
17609 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17610 PyObject
*resultobj
= 0;
17611 wxDC
*arg1
= (wxDC
*) 0 ;
17612 wxPoint
*arg2
= 0 ;
17613 wxPoint
*arg3
= 0 ;
17618 PyObject
* obj0
= 0 ;
17619 PyObject
* obj1
= 0 ;
17620 PyObject
* obj2
= 0 ;
17621 char * kwnames
[] = {
17622 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17627 if (!SWIG_IsOK(res1
)) {
17628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17630 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17633 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17637 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17641 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
17642 wxPyEndAllowThreads(__tstate
);
17643 if (PyErr_Occurred()) SWIG_fail
;
17645 resultobj
= SWIG_Py_Void();
17652 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17653 PyObject
*resultobj
= 0;
17654 wxDC
*arg1
= (wxDC
*) 0 ;
17663 PyObject
* obj0
= 0 ;
17664 PyObject
* obj1
= 0 ;
17665 PyObject
* obj2
= 0 ;
17666 char * kwnames
[] = {
17667 (char *) "self",(char *) "x",(char *) "y", NULL
17670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17672 if (!SWIG_IsOK(res1
)) {
17673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
17675 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17676 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17677 if (!SWIG_IsOK(ecode2
)) {
17678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
17680 arg2
= static_cast< int >(val2
);
17681 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17682 if (!SWIG_IsOK(ecode3
)) {
17683 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
17685 arg3
= static_cast< int >(val3
);
17687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17688 (arg1
)->CrossHair(arg2
,arg3
);
17689 wxPyEndAllowThreads(__tstate
);
17690 if (PyErr_Occurred()) SWIG_fail
;
17692 resultobj
= SWIG_Py_Void();
17699 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17700 PyObject
*resultobj
= 0;
17701 wxDC
*arg1
= (wxDC
*) 0 ;
17702 wxPoint
*arg2
= 0 ;
17706 PyObject
* obj0
= 0 ;
17707 PyObject
* obj1
= 0 ;
17708 char * kwnames
[] = {
17709 (char *) "self",(char *) "pt", NULL
17712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17714 if (!SWIG_IsOK(res1
)) {
17715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17717 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17720 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17724 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
17725 wxPyEndAllowThreads(__tstate
);
17726 if (PyErr_Occurred()) SWIG_fail
;
17728 resultobj
= SWIG_Py_Void();
17735 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17736 PyObject
*resultobj
= 0;
17737 wxDC
*arg1
= (wxDC
*) 0 ;
17758 PyObject
* obj0
= 0 ;
17759 PyObject
* obj1
= 0 ;
17760 PyObject
* obj2
= 0 ;
17761 PyObject
* obj3
= 0 ;
17762 PyObject
* obj4
= 0 ;
17763 PyObject
* obj5
= 0 ;
17764 PyObject
* obj6
= 0 ;
17765 char * kwnames
[] = {
17766 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
17769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17771 if (!SWIG_IsOK(res1
)) {
17772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
17774 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17775 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17776 if (!SWIG_IsOK(ecode2
)) {
17777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
17779 arg2
= static_cast< int >(val2
);
17780 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17781 if (!SWIG_IsOK(ecode3
)) {
17782 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
17784 arg3
= static_cast< int >(val3
);
17785 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17786 if (!SWIG_IsOK(ecode4
)) {
17787 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
17789 arg4
= static_cast< int >(val4
);
17790 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17791 if (!SWIG_IsOK(ecode5
)) {
17792 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
17794 arg5
= static_cast< int >(val5
);
17795 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17796 if (!SWIG_IsOK(ecode6
)) {
17797 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
17799 arg6
= static_cast< int >(val6
);
17800 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
17801 if (!SWIG_IsOK(ecode7
)) {
17802 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
17804 arg7
= static_cast< int >(val7
);
17806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17807 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17808 wxPyEndAllowThreads(__tstate
);
17809 if (PyErr_Occurred()) SWIG_fail
;
17811 resultobj
= SWIG_Py_Void();
17818 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17819 PyObject
*resultobj
= 0;
17820 wxDC
*arg1
= (wxDC
*) 0 ;
17821 wxPoint
*arg2
= 0 ;
17822 wxPoint
*arg3
= 0 ;
17823 wxPoint
*arg4
= 0 ;
17829 PyObject
* obj0
= 0 ;
17830 PyObject
* obj1
= 0 ;
17831 PyObject
* obj2
= 0 ;
17832 PyObject
* obj3
= 0 ;
17833 char * kwnames
[] = {
17834 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
17837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17839 if (!SWIG_IsOK(res1
)) {
17840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17842 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17845 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17849 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17853 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17857 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
17858 wxPyEndAllowThreads(__tstate
);
17859 if (PyErr_Occurred()) SWIG_fail
;
17861 resultobj
= SWIG_Py_Void();
17868 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17869 PyObject
*resultobj
= 0;
17870 wxDC
*arg1
= (wxDC
*) 0 ;
17885 PyObject
* obj0
= 0 ;
17886 PyObject
* obj1
= 0 ;
17887 PyObject
* obj2
= 0 ;
17888 PyObject
* obj3
= 0 ;
17889 PyObject
* obj4
= 0 ;
17890 char * kwnames
[] = {
17891 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17896 if (!SWIG_IsOK(res1
)) {
17897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
17899 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17900 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17901 if (!SWIG_IsOK(ecode2
)) {
17902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
17904 arg2
= static_cast< int >(val2
);
17905 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17906 if (!SWIG_IsOK(ecode3
)) {
17907 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
17909 arg3
= static_cast< int >(val3
);
17910 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17911 if (!SWIG_IsOK(ecode4
)) {
17912 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
17914 arg4
= static_cast< int >(val4
);
17915 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17916 if (!SWIG_IsOK(ecode5
)) {
17917 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
17919 arg5
= static_cast< int >(val5
);
17921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17922 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
17923 wxPyEndAllowThreads(__tstate
);
17924 if (PyErr_Occurred()) SWIG_fail
;
17926 resultobj
= SWIG_Py_Void();
17933 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17934 PyObject
*resultobj
= 0;
17935 wxDC
*arg1
= (wxDC
*) 0 ;
17940 PyObject
* obj0
= 0 ;
17941 PyObject
* obj1
= 0 ;
17942 char * kwnames
[] = {
17943 (char *) "self",(char *) "rect", NULL
17946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17948 if (!SWIG_IsOK(res1
)) {
17949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
17951 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17954 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17958 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
17959 wxPyEndAllowThreads(__tstate
);
17960 if (PyErr_Occurred()) SWIG_fail
;
17962 resultobj
= SWIG_Py_Void();
17969 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17970 PyObject
*resultobj
= 0;
17971 wxDC
*arg1
= (wxDC
*) 0 ;
17992 PyObject
* obj0
= 0 ;
17993 PyObject
* obj1
= 0 ;
17994 PyObject
* obj2
= 0 ;
17995 PyObject
* obj3
= 0 ;
17996 PyObject
* obj4
= 0 ;
17997 PyObject
* obj5
= 0 ;
17998 PyObject
* obj6
= 0 ;
17999 char * kwnames
[] = {
18000 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18005 if (!SWIG_IsOK(res1
)) {
18006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18008 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18009 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18010 if (!SWIG_IsOK(ecode2
)) {
18011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18013 arg2
= static_cast< int >(val2
);
18014 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18015 if (!SWIG_IsOK(ecode3
)) {
18016 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18018 arg3
= static_cast< int >(val3
);
18019 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18020 if (!SWIG_IsOK(ecode4
)) {
18021 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18023 arg4
= static_cast< int >(val4
);
18024 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18025 if (!SWIG_IsOK(ecode5
)) {
18026 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18028 arg5
= static_cast< int >(val5
);
18029 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18030 if (!SWIG_IsOK(ecode6
)) {
18031 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18033 arg6
= static_cast< double >(val6
);
18034 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18035 if (!SWIG_IsOK(ecode7
)) {
18036 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18038 arg7
= static_cast< double >(val7
);
18040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18041 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18042 wxPyEndAllowThreads(__tstate
);
18043 if (PyErr_Occurred()) SWIG_fail
;
18045 resultobj
= SWIG_Py_Void();
18052 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18053 PyObject
*resultobj
= 0;
18054 wxDC
*arg1
= (wxDC
*) 0 ;
18055 wxPoint
*arg2
= 0 ;
18067 PyObject
* obj0
= 0 ;
18068 PyObject
* obj1
= 0 ;
18069 PyObject
* obj2
= 0 ;
18070 PyObject
* obj3
= 0 ;
18071 PyObject
* obj4
= 0 ;
18072 char * kwnames
[] = {
18073 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18078 if (!SWIG_IsOK(res1
)) {
18079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18081 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18084 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18088 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18090 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18091 if (!SWIG_IsOK(ecode4
)) {
18092 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18094 arg4
= static_cast< double >(val4
);
18095 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18096 if (!SWIG_IsOK(ecode5
)) {
18097 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18099 arg5
= static_cast< double >(val5
);
18101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18102 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18103 wxPyEndAllowThreads(__tstate
);
18104 if (PyErr_Occurred()) SWIG_fail
;
18106 resultobj
= SWIG_Py_Void();
18113 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18114 PyObject
*resultobj
= 0;
18115 wxDC
*arg1
= (wxDC
*) 0 ;
18124 PyObject
* obj0
= 0 ;
18125 PyObject
* obj1
= 0 ;
18126 PyObject
* obj2
= 0 ;
18127 char * kwnames
[] = {
18128 (char *) "self",(char *) "x",(char *) "y", NULL
18131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18133 if (!SWIG_IsOK(res1
)) {
18134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18136 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18137 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18138 if (!SWIG_IsOK(ecode2
)) {
18139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18141 arg2
= static_cast< int >(val2
);
18142 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18143 if (!SWIG_IsOK(ecode3
)) {
18144 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18146 arg3
= static_cast< int >(val3
);
18148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18149 (arg1
)->DrawPoint(arg2
,arg3
);
18150 wxPyEndAllowThreads(__tstate
);
18151 if (PyErr_Occurred()) SWIG_fail
;
18153 resultobj
= SWIG_Py_Void();
18160 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18161 PyObject
*resultobj
= 0;
18162 wxDC
*arg1
= (wxDC
*) 0 ;
18163 wxPoint
*arg2
= 0 ;
18167 PyObject
* obj0
= 0 ;
18168 PyObject
* obj1
= 0 ;
18169 char * kwnames
[] = {
18170 (char *) "self",(char *) "pt", NULL
18173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18175 if (!SWIG_IsOK(res1
)) {
18176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18178 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18181 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18185 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18186 wxPyEndAllowThreads(__tstate
);
18187 if (PyErr_Occurred()) SWIG_fail
;
18189 resultobj
= SWIG_Py_Void();
18196 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18197 PyObject
*resultobj
= 0;
18198 wxDC
*arg1
= (wxDC
*) 0 ;
18213 PyObject
* obj0
= 0 ;
18214 PyObject
* obj1
= 0 ;
18215 PyObject
* obj2
= 0 ;
18216 PyObject
* obj3
= 0 ;
18217 PyObject
* obj4
= 0 ;
18218 char * kwnames
[] = {
18219 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18224 if (!SWIG_IsOK(res1
)) {
18225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18227 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18228 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18229 if (!SWIG_IsOK(ecode2
)) {
18230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18232 arg2
= static_cast< int >(val2
);
18233 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18234 if (!SWIG_IsOK(ecode3
)) {
18235 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18237 arg3
= static_cast< int >(val3
);
18238 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18239 if (!SWIG_IsOK(ecode4
)) {
18240 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18242 arg4
= static_cast< int >(val4
);
18243 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18244 if (!SWIG_IsOK(ecode5
)) {
18245 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18247 arg5
= static_cast< int >(val5
);
18249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18250 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18251 wxPyEndAllowThreads(__tstate
);
18252 if (PyErr_Occurred()) SWIG_fail
;
18254 resultobj
= SWIG_Py_Void();
18261 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18262 PyObject
*resultobj
= 0;
18263 wxDC
*arg1
= (wxDC
*) 0 ;
18268 PyObject
* obj0
= 0 ;
18269 PyObject
* obj1
= 0 ;
18270 char * kwnames
[] = {
18271 (char *) "self",(char *) "rect", NULL
18274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18276 if (!SWIG_IsOK(res1
)) {
18277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18279 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18282 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18286 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18287 wxPyEndAllowThreads(__tstate
);
18288 if (PyErr_Occurred()) SWIG_fail
;
18290 resultobj
= SWIG_Py_Void();
18297 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18298 PyObject
*resultobj
= 0;
18299 wxDC
*arg1
= (wxDC
*) 0 ;
18300 wxPoint
*arg2
= 0 ;
18306 PyObject
* obj0
= 0 ;
18307 PyObject
* obj1
= 0 ;
18308 PyObject
* obj2
= 0 ;
18309 char * kwnames
[] = {
18310 (char *) "self",(char *) "pt",(char *) "sz", NULL
18313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18315 if (!SWIG_IsOK(res1
)) {
18316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18318 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18321 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18325 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18329 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18330 wxPyEndAllowThreads(__tstate
);
18331 if (PyErr_Occurred()) SWIG_fail
;
18333 resultobj
= SWIG_Py_Void();
18340 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18341 PyObject
*resultobj
= 0;
18342 wxDC
*arg1
= (wxDC
*) 0 ;
18360 PyObject
* obj0
= 0 ;
18361 PyObject
* obj1
= 0 ;
18362 PyObject
* obj2
= 0 ;
18363 PyObject
* obj3
= 0 ;
18364 PyObject
* obj4
= 0 ;
18365 PyObject
* obj5
= 0 ;
18366 char * kwnames
[] = {
18367 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18372 if (!SWIG_IsOK(res1
)) {
18373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18375 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18376 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18377 if (!SWIG_IsOK(ecode2
)) {
18378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18380 arg2
= static_cast< int >(val2
);
18381 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18382 if (!SWIG_IsOK(ecode3
)) {
18383 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18385 arg3
= static_cast< int >(val3
);
18386 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18387 if (!SWIG_IsOK(ecode4
)) {
18388 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18390 arg4
= static_cast< int >(val4
);
18391 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18392 if (!SWIG_IsOK(ecode5
)) {
18393 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18395 arg5
= static_cast< int >(val5
);
18396 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18397 if (!SWIG_IsOK(ecode6
)) {
18398 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18400 arg6
= static_cast< double >(val6
);
18402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18403 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18404 wxPyEndAllowThreads(__tstate
);
18405 if (PyErr_Occurred()) SWIG_fail
;
18407 resultobj
= SWIG_Py_Void();
18414 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18415 PyObject
*resultobj
= 0;
18416 wxDC
*arg1
= (wxDC
*) 0 ;
18424 PyObject
* obj0
= 0 ;
18425 PyObject
* obj1
= 0 ;
18426 PyObject
* obj2
= 0 ;
18427 char * kwnames
[] = {
18428 (char *) "self",(char *) "r",(char *) "radius", NULL
18431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18433 if (!SWIG_IsOK(res1
)) {
18434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18436 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18439 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18441 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18442 if (!SWIG_IsOK(ecode3
)) {
18443 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18445 arg3
= static_cast< double >(val3
);
18447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18448 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18449 wxPyEndAllowThreads(__tstate
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18452 resultobj
= SWIG_Py_Void();
18459 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18460 PyObject
*resultobj
= 0;
18461 wxDC
*arg1
= (wxDC
*) 0 ;
18462 wxPoint
*arg2
= 0 ;
18471 PyObject
* obj0
= 0 ;
18472 PyObject
* obj1
= 0 ;
18473 PyObject
* obj2
= 0 ;
18474 PyObject
* obj3
= 0 ;
18475 char * kwnames
[] = {
18476 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18481 if (!SWIG_IsOK(res1
)) {
18482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18484 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18487 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18491 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18493 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18494 if (!SWIG_IsOK(ecode4
)) {
18495 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18497 arg4
= static_cast< double >(val4
);
18499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18500 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18501 wxPyEndAllowThreads(__tstate
);
18502 if (PyErr_Occurred()) SWIG_fail
;
18504 resultobj
= SWIG_Py_Void();
18511 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18512 PyObject
*resultobj
= 0;
18513 wxDC
*arg1
= (wxDC
*) 0 ;
18525 PyObject
* obj0
= 0 ;
18526 PyObject
* obj1
= 0 ;
18527 PyObject
* obj2
= 0 ;
18528 PyObject
* obj3
= 0 ;
18529 char * kwnames
[] = {
18530 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18535 if (!SWIG_IsOK(res1
)) {
18536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18538 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18539 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18540 if (!SWIG_IsOK(ecode2
)) {
18541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18543 arg2
= static_cast< int >(val2
);
18544 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18545 if (!SWIG_IsOK(ecode3
)) {
18546 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18548 arg3
= static_cast< int >(val3
);
18549 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18550 if (!SWIG_IsOK(ecode4
)) {
18551 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18553 arg4
= static_cast< int >(val4
);
18555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18556 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18557 wxPyEndAllowThreads(__tstate
);
18558 if (PyErr_Occurred()) SWIG_fail
;
18560 resultobj
= SWIG_Py_Void();
18567 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18568 PyObject
*resultobj
= 0;
18569 wxDC
*arg1
= (wxDC
*) 0 ;
18570 wxPoint
*arg2
= 0 ;
18577 PyObject
* obj0
= 0 ;
18578 PyObject
* obj1
= 0 ;
18579 PyObject
* obj2
= 0 ;
18580 char * kwnames
[] = {
18581 (char *) "self",(char *) "pt",(char *) "radius", NULL
18584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18586 if (!SWIG_IsOK(res1
)) {
18587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18589 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18592 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18594 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18595 if (!SWIG_IsOK(ecode3
)) {
18596 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18598 arg3
= static_cast< int >(val3
);
18600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18601 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18602 wxPyEndAllowThreads(__tstate
);
18603 if (PyErr_Occurred()) SWIG_fail
;
18605 resultobj
= SWIG_Py_Void();
18612 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18613 PyObject
*resultobj
= 0;
18614 wxDC
*arg1
= (wxDC
*) 0 ;
18629 PyObject
* obj0
= 0 ;
18630 PyObject
* obj1
= 0 ;
18631 PyObject
* obj2
= 0 ;
18632 PyObject
* obj3
= 0 ;
18633 PyObject
* obj4
= 0 ;
18634 char * kwnames
[] = {
18635 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18640 if (!SWIG_IsOK(res1
)) {
18641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
18643 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18644 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18645 if (!SWIG_IsOK(ecode2
)) {
18646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
18648 arg2
= static_cast< int >(val2
);
18649 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18650 if (!SWIG_IsOK(ecode3
)) {
18651 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
18653 arg3
= static_cast< int >(val3
);
18654 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18655 if (!SWIG_IsOK(ecode4
)) {
18656 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
18658 arg4
= static_cast< int >(val4
);
18659 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18660 if (!SWIG_IsOK(ecode5
)) {
18661 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
18663 arg5
= static_cast< int >(val5
);
18665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18666 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
18667 wxPyEndAllowThreads(__tstate
);
18668 if (PyErr_Occurred()) SWIG_fail
;
18670 resultobj
= SWIG_Py_Void();
18677 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18678 PyObject
*resultobj
= 0;
18679 wxDC
*arg1
= (wxDC
*) 0 ;
18684 PyObject
* obj0
= 0 ;
18685 PyObject
* obj1
= 0 ;
18686 char * kwnames
[] = {
18687 (char *) "self",(char *) "rect", NULL
18690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18692 if (!SWIG_IsOK(res1
)) {
18693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
18695 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18698 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18702 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
18703 wxPyEndAllowThreads(__tstate
);
18704 if (PyErr_Occurred()) SWIG_fail
;
18706 resultobj
= SWIG_Py_Void();
18713 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18714 PyObject
*resultobj
= 0;
18715 wxDC
*arg1
= (wxDC
*) 0 ;
18716 wxPoint
*arg2
= 0 ;
18722 PyObject
* obj0
= 0 ;
18723 PyObject
* obj1
= 0 ;
18724 PyObject
* obj2
= 0 ;
18725 char * kwnames
[] = {
18726 (char *) "self",(char *) "pt",(char *) "sz", NULL
18729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18731 if (!SWIG_IsOK(res1
)) {
18732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18734 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18737 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18741 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18745 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18746 wxPyEndAllowThreads(__tstate
);
18747 if (PyErr_Occurred()) SWIG_fail
;
18749 resultobj
= SWIG_Py_Void();
18756 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18757 PyObject
*resultobj
= 0;
18758 wxDC
*arg1
= (wxDC
*) 0 ;
18770 PyObject
* obj0
= 0 ;
18771 PyObject
* obj1
= 0 ;
18772 PyObject
* obj2
= 0 ;
18773 PyObject
* obj3
= 0 ;
18774 char * kwnames
[] = {
18775 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
18778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18780 if (!SWIG_IsOK(res1
)) {
18781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
18783 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18784 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18785 if (!SWIG_IsOK(res2
)) {
18786 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18789 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18791 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18792 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18793 if (!SWIG_IsOK(ecode3
)) {
18794 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
18796 arg3
= static_cast< int >(val3
);
18797 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18798 if (!SWIG_IsOK(ecode4
)) {
18799 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
18801 arg4
= static_cast< int >(val4
);
18803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18804 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
18805 wxPyEndAllowThreads(__tstate
);
18806 if (PyErr_Occurred()) SWIG_fail
;
18808 resultobj
= SWIG_Py_Void();
18815 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18816 PyObject
*resultobj
= 0;
18817 wxDC
*arg1
= (wxDC
*) 0 ;
18819 wxPoint
*arg3
= 0 ;
18825 PyObject
* obj0
= 0 ;
18826 PyObject
* obj1
= 0 ;
18827 PyObject
* obj2
= 0 ;
18828 char * kwnames
[] = {
18829 (char *) "self",(char *) "icon",(char *) "pt", NULL
18832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18834 if (!SWIG_IsOK(res1
)) {
18835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18837 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18838 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18839 if (!SWIG_IsOK(res2
)) {
18840 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
18843 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
18845 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18848 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18852 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
18853 wxPyEndAllowThreads(__tstate
);
18854 if (PyErr_Occurred()) SWIG_fail
;
18856 resultobj
= SWIG_Py_Void();
18863 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18864 PyObject
*resultobj
= 0;
18865 wxDC
*arg1
= (wxDC
*) 0 ;
18866 wxBitmap
*arg2
= 0 ;
18869 bool arg5
= (bool) false ;
18880 PyObject
* obj0
= 0 ;
18881 PyObject
* obj1
= 0 ;
18882 PyObject
* obj2
= 0 ;
18883 PyObject
* obj3
= 0 ;
18884 PyObject
* obj4
= 0 ;
18885 char * kwnames
[] = {
18886 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
18889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18891 if (!SWIG_IsOK(res1
)) {
18892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
18894 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18895 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
18896 if (!SWIG_IsOK(res2
)) {
18897 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18900 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18902 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
18903 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18904 if (!SWIG_IsOK(ecode3
)) {
18905 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
18907 arg3
= static_cast< int >(val3
);
18908 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18909 if (!SWIG_IsOK(ecode4
)) {
18910 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
18912 arg4
= static_cast< int >(val4
);
18914 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
18915 if (!SWIG_IsOK(ecode5
)) {
18916 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
18918 arg5
= static_cast< bool >(val5
);
18921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18922 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
18923 wxPyEndAllowThreads(__tstate
);
18924 if (PyErr_Occurred()) SWIG_fail
;
18926 resultobj
= SWIG_Py_Void();
18933 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18934 PyObject
*resultobj
= 0;
18935 wxDC
*arg1
= (wxDC
*) 0 ;
18936 wxBitmap
*arg2
= 0 ;
18937 wxPoint
*arg3
= 0 ;
18938 bool arg4
= (bool) false ;
18946 PyObject
* obj0
= 0 ;
18947 PyObject
* obj1
= 0 ;
18948 PyObject
* obj2
= 0 ;
18949 PyObject
* obj3
= 0 ;
18950 char * kwnames
[] = {
18951 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
18954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18956 if (!SWIG_IsOK(res1
)) {
18957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18959 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18960 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
18961 if (!SWIG_IsOK(res2
)) {
18962 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18965 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18967 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
18970 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18973 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
18974 if (!SWIG_IsOK(ecode4
)) {
18975 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
18977 arg4
= static_cast< bool >(val4
);
18980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18981 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
18982 wxPyEndAllowThreads(__tstate
);
18983 if (PyErr_Occurred()) SWIG_fail
;
18985 resultobj
= SWIG_Py_Void();
18992 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18993 PyObject
*resultobj
= 0;
18994 wxDC
*arg1
= (wxDC
*) 0 ;
18995 wxString
*arg2
= 0 ;
19000 bool temp2
= false ;
19005 PyObject
* obj0
= 0 ;
19006 PyObject
* obj1
= 0 ;
19007 PyObject
* obj2
= 0 ;
19008 PyObject
* obj3
= 0 ;
19009 char * kwnames
[] = {
19010 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19015 if (!SWIG_IsOK(res1
)) {
19016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19018 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19020 arg2
= wxString_in_helper(obj1
);
19021 if (arg2
== NULL
) SWIG_fail
;
19024 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19025 if (!SWIG_IsOK(ecode3
)) {
19026 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19028 arg3
= static_cast< int >(val3
);
19029 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19030 if (!SWIG_IsOK(ecode4
)) {
19031 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19033 arg4
= static_cast< int >(val4
);
19035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19036 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19037 wxPyEndAllowThreads(__tstate
);
19038 if (PyErr_Occurred()) SWIG_fail
;
19040 resultobj
= SWIG_Py_Void();
19055 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19056 PyObject
*resultobj
= 0;
19057 wxDC
*arg1
= (wxDC
*) 0 ;
19058 wxString
*arg2
= 0 ;
19059 wxPoint
*arg3
= 0 ;
19062 bool temp2
= false ;
19064 PyObject
* obj0
= 0 ;
19065 PyObject
* obj1
= 0 ;
19066 PyObject
* obj2
= 0 ;
19067 char * kwnames
[] = {
19068 (char *) "self",(char *) "text",(char *) "pt", NULL
19071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19073 if (!SWIG_IsOK(res1
)) {
19074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19076 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19078 arg2
= wxString_in_helper(obj1
);
19079 if (arg2
== NULL
) SWIG_fail
;
19084 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19088 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19089 wxPyEndAllowThreads(__tstate
);
19090 if (PyErr_Occurred()) SWIG_fail
;
19092 resultobj
= SWIG_Py_Void();
19107 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19108 PyObject
*resultobj
= 0;
19109 wxDC
*arg1
= (wxDC
*) 0 ;
19110 wxString
*arg2
= 0 ;
19116 bool temp2
= false ;
19123 PyObject
* obj0
= 0 ;
19124 PyObject
* obj1
= 0 ;
19125 PyObject
* obj2
= 0 ;
19126 PyObject
* obj3
= 0 ;
19127 PyObject
* obj4
= 0 ;
19128 char * kwnames
[] = {
19129 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19134 if (!SWIG_IsOK(res1
)) {
19135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19137 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19139 arg2
= wxString_in_helper(obj1
);
19140 if (arg2
== NULL
) SWIG_fail
;
19143 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19144 if (!SWIG_IsOK(ecode3
)) {
19145 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19147 arg3
= static_cast< int >(val3
);
19148 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19149 if (!SWIG_IsOK(ecode4
)) {
19150 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19152 arg4
= static_cast< int >(val4
);
19153 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19154 if (!SWIG_IsOK(ecode5
)) {
19155 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19157 arg5
= static_cast< double >(val5
);
19159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19160 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19161 wxPyEndAllowThreads(__tstate
);
19162 if (PyErr_Occurred()) SWIG_fail
;
19164 resultobj
= SWIG_Py_Void();
19179 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19180 PyObject
*resultobj
= 0;
19181 wxDC
*arg1
= (wxDC
*) 0 ;
19182 wxString
*arg2
= 0 ;
19183 wxPoint
*arg3
= 0 ;
19187 bool temp2
= false ;
19191 PyObject
* obj0
= 0 ;
19192 PyObject
* obj1
= 0 ;
19193 PyObject
* obj2
= 0 ;
19194 PyObject
* obj3
= 0 ;
19195 char * kwnames
[] = {
19196 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19201 if (!SWIG_IsOK(res1
)) {
19202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19204 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19206 arg2
= wxString_in_helper(obj1
);
19207 if (arg2
== NULL
) SWIG_fail
;
19212 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19214 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19215 if (!SWIG_IsOK(ecode4
)) {
19216 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19218 arg4
= static_cast< double >(val4
);
19220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19221 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19222 wxPyEndAllowThreads(__tstate
);
19223 if (PyErr_Occurred()) SWIG_fail
;
19225 resultobj
= SWIG_Py_Void();
19240 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19241 PyObject
*resultobj
= 0;
19242 wxDC
*arg1
= (wxDC
*) 0 ;
19247 wxDC
*arg6
= (wxDC
*) 0 ;
19250 int arg9
= (int) wxCOPY
;
19251 bool arg10
= (bool) false ;
19252 int arg11
= (int) -1 ;
19253 int arg12
= (int) -1 ;
19279 PyObject
* obj0
= 0 ;
19280 PyObject
* obj1
= 0 ;
19281 PyObject
* obj2
= 0 ;
19282 PyObject
* obj3
= 0 ;
19283 PyObject
* obj4
= 0 ;
19284 PyObject
* obj5
= 0 ;
19285 PyObject
* obj6
= 0 ;
19286 PyObject
* obj7
= 0 ;
19287 PyObject
* obj8
= 0 ;
19288 PyObject
* obj9
= 0 ;
19289 PyObject
* obj10
= 0 ;
19290 PyObject
* obj11
= 0 ;
19291 char * kwnames
[] = {
19292 (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
19295 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
;
19296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19297 if (!SWIG_IsOK(res1
)) {
19298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19300 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19301 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19302 if (!SWIG_IsOK(ecode2
)) {
19303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19305 arg2
= static_cast< int >(val2
);
19306 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19307 if (!SWIG_IsOK(ecode3
)) {
19308 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19310 arg3
= static_cast< int >(val3
);
19311 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19312 if (!SWIG_IsOK(ecode4
)) {
19313 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19315 arg4
= static_cast< int >(val4
);
19316 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19317 if (!SWIG_IsOK(ecode5
)) {
19318 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19320 arg5
= static_cast< int >(val5
);
19321 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19322 if (!SWIG_IsOK(res6
)) {
19323 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19325 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19326 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19327 if (!SWIG_IsOK(ecode7
)) {
19328 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19330 arg7
= static_cast< int >(val7
);
19331 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19332 if (!SWIG_IsOK(ecode8
)) {
19333 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19335 arg8
= static_cast< int >(val8
);
19337 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19338 if (!SWIG_IsOK(ecode9
)) {
19339 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19341 arg9
= static_cast< int >(val9
);
19344 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19345 if (!SWIG_IsOK(ecode10
)) {
19346 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19348 arg10
= static_cast< bool >(val10
);
19351 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19352 if (!SWIG_IsOK(ecode11
)) {
19353 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19355 arg11
= static_cast< int >(val11
);
19358 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19359 if (!SWIG_IsOK(ecode12
)) {
19360 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19362 arg12
= static_cast< int >(val12
);
19365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19366 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19367 wxPyEndAllowThreads(__tstate
);
19368 if (PyErr_Occurred()) SWIG_fail
;
19371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19379 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19380 PyObject
*resultobj
= 0;
19381 wxDC
*arg1
= (wxDC
*) 0 ;
19382 wxPoint
*arg2
= 0 ;
19384 wxDC
*arg4
= (wxDC
*) 0 ;
19385 wxPoint
*arg5
= 0 ;
19386 int arg6
= (int) wxCOPY
;
19387 bool arg7
= (bool) false ;
19388 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19389 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19403 PyObject
* obj0
= 0 ;
19404 PyObject
* obj1
= 0 ;
19405 PyObject
* obj2
= 0 ;
19406 PyObject
* obj3
= 0 ;
19407 PyObject
* obj4
= 0 ;
19408 PyObject
* obj5
= 0 ;
19409 PyObject
* obj6
= 0 ;
19410 PyObject
* obj7
= 0 ;
19411 char * kwnames
[] = {
19412 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19417 if (!SWIG_IsOK(res1
)) {
19418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19420 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19423 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19427 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19429 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19430 if (!SWIG_IsOK(res4
)) {
19431 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19433 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19436 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19439 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19440 if (!SWIG_IsOK(ecode6
)) {
19441 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19443 arg6
= static_cast< int >(val6
);
19446 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19447 if (!SWIG_IsOK(ecode7
)) {
19448 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19450 arg7
= static_cast< bool >(val7
);
19455 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19460 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19461 wxPyEndAllowThreads(__tstate
);
19462 if (PyErr_Occurred()) SWIG_fail
;
19465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19473 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19474 PyObject
*resultobj
= 0;
19475 wxDC
*arg1
= (wxDC
*) 0 ;
19490 PyObject
* obj0
= 0 ;
19491 PyObject
* obj1
= 0 ;
19492 PyObject
* obj2
= 0 ;
19493 PyObject
* obj3
= 0 ;
19494 PyObject
* obj4
= 0 ;
19495 char * kwnames
[] = {
19496 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19501 if (!SWIG_IsOK(res1
)) {
19502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19504 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19506 if (!SWIG_IsOK(ecode2
)) {
19507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19509 arg2
= static_cast< int >(val2
);
19510 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19511 if (!SWIG_IsOK(ecode3
)) {
19512 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19514 arg3
= static_cast< int >(val3
);
19515 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19516 if (!SWIG_IsOK(ecode4
)) {
19517 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19519 arg4
= static_cast< int >(val4
);
19520 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19521 if (!SWIG_IsOK(ecode5
)) {
19522 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19524 arg5
= static_cast< int >(val5
);
19526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19527 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19528 wxPyEndAllowThreads(__tstate
);
19529 if (PyErr_Occurred()) SWIG_fail
;
19531 resultobj
= SWIG_Py_Void();
19538 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19539 PyObject
*resultobj
= 0;
19540 wxDC
*arg1
= (wxDC
*) 0 ;
19541 wxPoint
*arg2
= 0 ;
19547 PyObject
* obj0
= 0 ;
19548 PyObject
* obj1
= 0 ;
19549 PyObject
* obj2
= 0 ;
19550 char * kwnames
[] = {
19551 (char *) "self",(char *) "pt",(char *) "sz", NULL
19554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19556 if (!SWIG_IsOK(res1
)) {
19557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19559 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19562 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19566 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19570 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19571 wxPyEndAllowThreads(__tstate
);
19572 if (PyErr_Occurred()) SWIG_fail
;
19574 resultobj
= SWIG_Py_Void();
19581 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19582 PyObject
*resultobj
= 0;
19583 wxDC
*arg1
= (wxDC
*) 0 ;
19584 wxRegion
*arg2
= 0 ;
19589 PyObject
* obj0
= 0 ;
19590 PyObject
* obj1
= 0 ;
19591 char * kwnames
[] = {
19592 (char *) "self",(char *) "region", NULL
19595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19597 if (!SWIG_IsOK(res1
)) {
19598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19600 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19601 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
19602 if (!SWIG_IsOK(res2
)) {
19603 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19606 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19608 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
19610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19611 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
19612 wxPyEndAllowThreads(__tstate
);
19613 if (PyErr_Occurred()) SWIG_fail
;
19615 resultobj
= SWIG_Py_Void();
19622 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19623 PyObject
*resultobj
= 0;
19624 wxDC
*arg1
= (wxDC
*) 0 ;
19629 PyObject
* obj0
= 0 ;
19630 PyObject
* obj1
= 0 ;
19631 char * kwnames
[] = {
19632 (char *) "self",(char *) "rect", NULL
19635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19637 if (!SWIG_IsOK(res1
)) {
19638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
19640 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19643 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19647 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
19648 wxPyEndAllowThreads(__tstate
);
19649 if (PyErr_Occurred()) SWIG_fail
;
19651 resultobj
= SWIG_Py_Void();
19658 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19659 PyObject
*resultobj
= 0;
19660 wxDC
*arg1
= (wxDC
*) 0 ;
19662 wxPoint
*arg3
= (wxPoint
*) 0 ;
19663 int arg4
= (int) 0 ;
19664 int arg5
= (int) 0 ;
19671 PyObject
* obj0
= 0 ;
19672 PyObject
* obj1
= 0 ;
19673 PyObject
* obj2
= 0 ;
19674 PyObject
* obj3
= 0 ;
19675 char * kwnames
[] = {
19676 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
19679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19681 if (!SWIG_IsOK(res1
)) {
19682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
19684 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19686 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19687 if (arg3
== NULL
) SWIG_fail
;
19690 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19691 if (!SWIG_IsOK(ecode4
)) {
19692 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
19694 arg4
= static_cast< int >(val4
);
19697 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19698 if (!SWIG_IsOK(ecode5
)) {
19699 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
19701 arg5
= static_cast< int >(val5
);
19704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19705 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
19706 wxPyEndAllowThreads(__tstate
);
19707 if (PyErr_Occurred()) SWIG_fail
;
19709 resultobj
= SWIG_Py_Void();
19711 if (arg3
) delete [] arg3
;
19716 if (arg3
) delete [] arg3
;
19722 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19723 PyObject
*resultobj
= 0;
19724 wxDC
*arg1
= (wxDC
*) 0 ;
19726 wxPoint
*arg3
= (wxPoint
*) 0 ;
19727 int arg4
= (int) 0 ;
19728 int arg5
= (int) 0 ;
19729 int arg6
= (int) wxODDEVEN_RULE
;
19738 PyObject
* obj0
= 0 ;
19739 PyObject
* obj1
= 0 ;
19740 PyObject
* obj2
= 0 ;
19741 PyObject
* obj3
= 0 ;
19742 PyObject
* obj4
= 0 ;
19743 char * kwnames
[] = {
19744 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
19747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19749 if (!SWIG_IsOK(res1
)) {
19750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
19752 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19754 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19755 if (arg3
== NULL
) SWIG_fail
;
19758 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19759 if (!SWIG_IsOK(ecode4
)) {
19760 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
19762 arg4
= static_cast< int >(val4
);
19765 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19766 if (!SWIG_IsOK(ecode5
)) {
19767 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
19769 arg5
= static_cast< int >(val5
);
19772 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
19773 if (!SWIG_IsOK(ecode6
)) {
19774 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
19776 arg6
= static_cast< int >(val6
);
19779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19780 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
19781 wxPyEndAllowThreads(__tstate
);
19782 if (PyErr_Occurred()) SWIG_fail
;
19784 resultobj
= SWIG_Py_Void();
19786 if (arg3
) delete [] arg3
;
19791 if (arg3
) delete [] arg3
;
19797 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19798 PyObject
*resultobj
= 0;
19799 wxDC
*arg1
= (wxDC
*) 0 ;
19800 wxString
*arg2
= 0 ;
19802 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19803 int arg5
= (int) -1 ;
19806 bool temp2
= false ;
19812 PyObject
* obj0
= 0 ;
19813 PyObject
* obj1
= 0 ;
19814 PyObject
* obj2
= 0 ;
19815 PyObject
* obj3
= 0 ;
19816 PyObject
* obj4
= 0 ;
19817 char * kwnames
[] = {
19818 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
19821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19823 if (!SWIG_IsOK(res1
)) {
19824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
19826 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19828 arg2
= wxString_in_helper(obj1
);
19829 if (arg2
== NULL
) SWIG_fail
;
19834 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
19837 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19838 if (!SWIG_IsOK(ecode4
)) {
19839 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
19841 arg4
= static_cast< int >(val4
);
19844 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19845 if (!SWIG_IsOK(ecode5
)) {
19846 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
19848 arg5
= static_cast< int >(val5
);
19851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19852 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
19853 wxPyEndAllowThreads(__tstate
);
19854 if (PyErr_Occurred()) SWIG_fail
;
19856 resultobj
= SWIG_Py_Void();
19871 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19872 PyObject
*resultobj
= 0;
19873 wxDC
*arg1
= (wxDC
*) 0 ;
19874 wxString
*arg2
= 0 ;
19875 wxBitmap
*arg3
= 0 ;
19877 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19878 int arg6
= (int) -1 ;
19882 bool temp2
= false ;
19890 PyObject
* obj0
= 0 ;
19891 PyObject
* obj1
= 0 ;
19892 PyObject
* obj2
= 0 ;
19893 PyObject
* obj3
= 0 ;
19894 PyObject
* obj4
= 0 ;
19895 PyObject
* obj5
= 0 ;
19896 char * kwnames
[] = {
19897 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
19900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19902 if (!SWIG_IsOK(res1
)) {
19903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
19905 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19907 arg2
= wxString_in_helper(obj1
);
19908 if (arg2
== NULL
) SWIG_fail
;
19911 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19912 if (!SWIG_IsOK(res3
)) {
19913 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
19916 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
19918 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
19921 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
19924 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19925 if (!SWIG_IsOK(ecode5
)) {
19926 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
19928 arg5
= static_cast< int >(val5
);
19931 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19932 if (!SWIG_IsOK(ecode6
)) {
19933 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
19935 arg6
= static_cast< int >(val6
);
19938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19939 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
19940 wxPyEndAllowThreads(__tstate
);
19941 if (PyErr_Occurred()) SWIG_fail
;
19943 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
19958 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19959 PyObject
*resultobj
= 0;
19960 wxDC
*arg1
= (wxDC
*) 0 ;
19962 wxPoint
*arg3
= (wxPoint
*) 0 ;
19965 PyObject
* obj0
= 0 ;
19966 PyObject
* obj1
= 0 ;
19967 char * kwnames
[] = {
19968 (char *) "self",(char *) "points", NULL
19971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19973 if (!SWIG_IsOK(res1
)) {
19974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
19976 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19978 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19979 if (arg3
== NULL
) SWIG_fail
;
19982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19983 (arg1
)->DrawSpline(arg2
,arg3
);
19984 wxPyEndAllowThreads(__tstate
);
19985 if (PyErr_Occurred()) SWIG_fail
;
19987 resultobj
= SWIG_Py_Void();
19989 if (arg3
) delete [] arg3
;
19994 if (arg3
) delete [] arg3
;
20000 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20001 PyObject
*resultobj
= 0;
20002 wxDC
*arg1
= (wxDC
*) 0 ;
20005 PyObject
*swig_obj
[1] ;
20007 if (!args
) SWIG_fail
;
20008 swig_obj
[0] = args
;
20009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20010 if (!SWIG_IsOK(res1
)) {
20011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20013 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20017 wxPyEndAllowThreads(__tstate
);
20018 if (PyErr_Occurred()) SWIG_fail
;
20020 resultobj
= SWIG_Py_Void();
20027 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20028 PyObject
*resultobj
= 0;
20029 wxDC
*arg1
= (wxDC
*) 0 ;
20030 wxString
*arg2
= 0 ;
20034 bool temp2
= false ;
20035 PyObject
* obj0
= 0 ;
20036 PyObject
* obj1
= 0 ;
20037 char * kwnames
[] = {
20038 (char *) "self",(char *) "message", NULL
20041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20043 if (!SWIG_IsOK(res1
)) {
20044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20046 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20048 arg2
= wxString_in_helper(obj1
);
20049 if (arg2
== NULL
) SWIG_fail
;
20053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20054 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20055 wxPyEndAllowThreads(__tstate
);
20056 if (PyErr_Occurred()) SWIG_fail
;
20059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20075 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20076 PyObject
*resultobj
= 0;
20077 wxDC
*arg1
= (wxDC
*) 0 ;
20080 PyObject
*swig_obj
[1] ;
20082 if (!args
) SWIG_fail
;
20083 swig_obj
[0] = args
;
20084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20085 if (!SWIG_IsOK(res1
)) {
20086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20088 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20092 wxPyEndAllowThreads(__tstate
);
20093 if (PyErr_Occurred()) SWIG_fail
;
20095 resultobj
= SWIG_Py_Void();
20102 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20103 PyObject
*resultobj
= 0;
20104 wxDC
*arg1
= (wxDC
*) 0 ;
20107 PyObject
*swig_obj
[1] ;
20109 if (!args
) SWIG_fail
;
20110 swig_obj
[0] = args
;
20111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20112 if (!SWIG_IsOK(res1
)) {
20113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20115 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20118 (arg1
)->StartPage();
20119 wxPyEndAllowThreads(__tstate
);
20120 if (PyErr_Occurred()) SWIG_fail
;
20122 resultobj
= SWIG_Py_Void();
20129 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20130 PyObject
*resultobj
= 0;
20131 wxDC
*arg1
= (wxDC
*) 0 ;
20134 PyObject
*swig_obj
[1] ;
20136 if (!args
) SWIG_fail
;
20137 swig_obj
[0] = args
;
20138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20139 if (!SWIG_IsOK(res1
)) {
20140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20142 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20146 wxPyEndAllowThreads(__tstate
);
20147 if (PyErr_Occurred()) SWIG_fail
;
20149 resultobj
= SWIG_Py_Void();
20156 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20157 PyObject
*resultobj
= 0;
20158 wxDC
*arg1
= (wxDC
*) 0 ;
20164 PyObject
* obj0
= 0 ;
20165 PyObject
* obj1
= 0 ;
20166 char * kwnames
[] = {
20167 (char *) "self",(char *) "font", NULL
20170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20172 if (!SWIG_IsOK(res1
)) {
20173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20175 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20176 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20177 if (!SWIG_IsOK(res2
)) {
20178 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20181 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20183 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20186 (arg1
)->SetFont((wxFont
const &)*arg2
);
20187 wxPyEndAllowThreads(__tstate
);
20188 if (PyErr_Occurred()) SWIG_fail
;
20190 resultobj
= SWIG_Py_Void();
20197 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20198 PyObject
*resultobj
= 0;
20199 wxDC
*arg1
= (wxDC
*) 0 ;
20205 PyObject
* obj0
= 0 ;
20206 PyObject
* obj1
= 0 ;
20207 char * kwnames
[] = {
20208 (char *) "self",(char *) "pen", NULL
20211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20213 if (!SWIG_IsOK(res1
)) {
20214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20216 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20217 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20218 if (!SWIG_IsOK(res2
)) {
20219 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20222 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20224 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20227 (arg1
)->SetPen((wxPen
const &)*arg2
);
20228 wxPyEndAllowThreads(__tstate
);
20229 if (PyErr_Occurred()) SWIG_fail
;
20231 resultobj
= SWIG_Py_Void();
20238 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20239 PyObject
*resultobj
= 0;
20240 wxDC
*arg1
= (wxDC
*) 0 ;
20241 wxBrush
*arg2
= 0 ;
20246 PyObject
* obj0
= 0 ;
20247 PyObject
* obj1
= 0 ;
20248 char * kwnames
[] = {
20249 (char *) "self",(char *) "brush", NULL
20252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20254 if (!SWIG_IsOK(res1
)) {
20255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20257 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20258 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20259 if (!SWIG_IsOK(res2
)) {
20260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20263 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20265 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20268 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20269 wxPyEndAllowThreads(__tstate
);
20270 if (PyErr_Occurred()) SWIG_fail
;
20272 resultobj
= SWIG_Py_Void();
20279 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20280 PyObject
*resultobj
= 0;
20281 wxDC
*arg1
= (wxDC
*) 0 ;
20282 wxBrush
*arg2
= 0 ;
20287 PyObject
* obj0
= 0 ;
20288 PyObject
* obj1
= 0 ;
20289 char * kwnames
[] = {
20290 (char *) "self",(char *) "brush", NULL
20293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20295 if (!SWIG_IsOK(res1
)) {
20296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20298 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20299 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20300 if (!SWIG_IsOK(res2
)) {
20301 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20304 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20306 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20309 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20310 wxPyEndAllowThreads(__tstate
);
20311 if (PyErr_Occurred()) SWIG_fail
;
20313 resultobj
= SWIG_Py_Void();
20320 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20321 PyObject
*resultobj
= 0;
20322 wxDC
*arg1
= (wxDC
*) 0 ;
20328 PyObject
* obj0
= 0 ;
20329 PyObject
* obj1
= 0 ;
20330 char * kwnames
[] = {
20331 (char *) "self",(char *) "mode", NULL
20334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20336 if (!SWIG_IsOK(res1
)) {
20337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20339 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20340 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20341 if (!SWIG_IsOK(ecode2
)) {
20342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20344 arg2
= static_cast< int >(val2
);
20346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20347 (arg1
)->SetBackgroundMode(arg2
);
20348 wxPyEndAllowThreads(__tstate
);
20349 if (PyErr_Occurred()) SWIG_fail
;
20351 resultobj
= SWIG_Py_Void();
20358 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20359 PyObject
*resultobj
= 0;
20360 wxDC
*arg1
= (wxDC
*) 0 ;
20361 wxPalette
*arg2
= 0 ;
20366 PyObject
* obj0
= 0 ;
20367 PyObject
* obj1
= 0 ;
20368 char * kwnames
[] = {
20369 (char *) "self",(char *) "palette", NULL
20372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20374 if (!SWIG_IsOK(res1
)) {
20375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20377 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20378 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20379 if (!SWIG_IsOK(res2
)) {
20380 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20383 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20385 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20388 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20389 wxPyEndAllowThreads(__tstate
);
20390 if (PyErr_Occurred()) SWIG_fail
;
20392 resultobj
= SWIG_Py_Void();
20399 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20400 PyObject
*resultobj
= 0;
20401 wxDC
*arg1
= (wxDC
*) 0 ;
20404 PyObject
*swig_obj
[1] ;
20406 if (!args
) SWIG_fail
;
20407 swig_obj
[0] = args
;
20408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20409 if (!SWIG_IsOK(res1
)) {
20410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20412 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20415 (arg1
)->DestroyClippingRegion();
20416 wxPyEndAllowThreads(__tstate
);
20417 if (PyErr_Occurred()) SWIG_fail
;
20419 resultobj
= SWIG_Py_Void();
20426 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20427 PyObject
*resultobj
= 0;
20428 wxDC
*arg1
= (wxDC
*) 0 ;
20429 int *arg2
= (int *) 0 ;
20430 int *arg3
= (int *) 0 ;
20431 int *arg4
= (int *) 0 ;
20432 int *arg5
= (int *) 0 ;
20436 int res2
= SWIG_TMPOBJ
;
20438 int res3
= SWIG_TMPOBJ
;
20440 int res4
= SWIG_TMPOBJ
;
20442 int res5
= SWIG_TMPOBJ
;
20443 PyObject
*swig_obj
[1] ;
20449 if (!args
) SWIG_fail
;
20450 swig_obj
[0] = args
;
20451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20452 if (!SWIG_IsOK(res1
)) {
20453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20455 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20458 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20459 wxPyEndAllowThreads(__tstate
);
20460 if (PyErr_Occurred()) SWIG_fail
;
20462 resultobj
= SWIG_Py_Void();
20463 if (SWIG_IsTmpObj(res2
)) {
20464 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20466 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20467 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20469 if (SWIG_IsTmpObj(res3
)) {
20470 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20472 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20473 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20475 if (SWIG_IsTmpObj(res4
)) {
20476 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20478 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20479 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20481 if (SWIG_IsTmpObj(res5
)) {
20482 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20484 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20485 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20493 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20494 PyObject
*resultobj
= 0;
20495 wxDC
*arg1
= (wxDC
*) 0 ;
20499 PyObject
*swig_obj
[1] ;
20501 if (!args
) SWIG_fail
;
20502 swig_obj
[0] = args
;
20503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20504 if (!SWIG_IsOK(res1
)) {
20505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20507 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20510 result
= wxDC_GetClippingRect(arg1
);
20511 wxPyEndAllowThreads(__tstate
);
20512 if (PyErr_Occurred()) SWIG_fail
;
20514 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20521 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20522 PyObject
*resultobj
= 0;
20523 wxDC
*arg1
= (wxDC
*) 0 ;
20527 PyObject
*swig_obj
[1] ;
20529 if (!args
) SWIG_fail
;
20530 swig_obj
[0] = args
;
20531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20532 if (!SWIG_IsOK(res1
)) {
20533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20535 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20538 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20539 wxPyEndAllowThreads(__tstate
);
20540 if (PyErr_Occurred()) SWIG_fail
;
20542 resultobj
= SWIG_From_int(static_cast< int >(result
));
20549 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20550 PyObject
*resultobj
= 0;
20551 wxDC
*arg1
= (wxDC
*) 0 ;
20555 PyObject
*swig_obj
[1] ;
20557 if (!args
) SWIG_fail
;
20558 swig_obj
[0] = args
;
20559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20560 if (!SWIG_IsOK(res1
)) {
20561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20563 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20566 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20567 wxPyEndAllowThreads(__tstate
);
20568 if (PyErr_Occurred()) SWIG_fail
;
20570 resultobj
= SWIG_From_int(static_cast< int >(result
));
20577 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20578 PyObject
*resultobj
= 0;
20579 wxDC
*arg1
= (wxDC
*) 0 ;
20580 wxString
*arg2
= 0 ;
20581 int *arg3
= (int *) 0 ;
20582 int *arg4
= (int *) 0 ;
20585 bool temp2
= false ;
20587 int res3
= SWIG_TMPOBJ
;
20589 int res4
= SWIG_TMPOBJ
;
20590 PyObject
* obj0
= 0 ;
20591 PyObject
* obj1
= 0 ;
20592 char * kwnames
[] = {
20593 (char *) "self",(char *) "string", NULL
20598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20600 if (!SWIG_IsOK(res1
)) {
20601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20603 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20605 arg2
= wxString_in_helper(obj1
);
20606 if (arg2
== NULL
) SWIG_fail
;
20610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20611 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
20612 wxPyEndAllowThreads(__tstate
);
20613 if (PyErr_Occurred()) SWIG_fail
;
20615 resultobj
= SWIG_Py_Void();
20616 if (SWIG_IsTmpObj(res3
)) {
20617 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20619 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20620 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20622 if (SWIG_IsTmpObj(res4
)) {
20623 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20625 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20626 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20642 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20643 PyObject
*resultobj
= 0;
20644 wxDC
*arg1
= (wxDC
*) 0 ;
20645 wxString
*arg2
= 0 ;
20646 int *arg3
= (int *) 0 ;
20647 int *arg4
= (int *) 0 ;
20648 int *arg5
= (int *) 0 ;
20649 int *arg6
= (int *) 0 ;
20650 wxFont
*arg7
= (wxFont
*) NULL
;
20653 bool temp2
= false ;
20655 int res3
= SWIG_TMPOBJ
;
20657 int res4
= SWIG_TMPOBJ
;
20659 int res5
= SWIG_TMPOBJ
;
20661 int res6
= SWIG_TMPOBJ
;
20664 PyObject
* obj0
= 0 ;
20665 PyObject
* obj1
= 0 ;
20666 PyObject
* obj2
= 0 ;
20667 char * kwnames
[] = {
20668 (char *) "self",(char *) "string",(char *) "font", NULL
20675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20677 if (!SWIG_IsOK(res1
)) {
20678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20680 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20682 arg2
= wxString_in_helper(obj1
);
20683 if (arg2
== NULL
) SWIG_fail
;
20687 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
20688 if (!SWIG_IsOK(res7
)) {
20689 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
20691 arg7
= reinterpret_cast< wxFont
* >(argp7
);
20694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20695 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20696 wxPyEndAllowThreads(__tstate
);
20697 if (PyErr_Occurred()) SWIG_fail
;
20699 resultobj
= SWIG_Py_Void();
20700 if (SWIG_IsTmpObj(res3
)) {
20701 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20703 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20704 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20706 if (SWIG_IsTmpObj(res4
)) {
20707 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20709 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20710 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20712 if (SWIG_IsTmpObj(res5
)) {
20713 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20715 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20716 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20718 if (SWIG_IsTmpObj(res6
)) {
20719 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
20721 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20722 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
20738 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20739 PyObject
*resultobj
= 0;
20740 wxDC
*arg1
= (wxDC
*) 0 ;
20741 wxString
*arg2
= 0 ;
20742 int *arg3
= (int *) 0 ;
20743 int *arg4
= (int *) 0 ;
20744 int *arg5
= (int *) 0 ;
20745 wxFont
*arg6
= (wxFont
*) NULL
;
20748 bool temp2
= false ;
20750 int res3
= SWIG_TMPOBJ
;
20752 int res4
= SWIG_TMPOBJ
;
20754 int res5
= SWIG_TMPOBJ
;
20757 PyObject
* obj0
= 0 ;
20758 PyObject
* obj1
= 0 ;
20759 PyObject
* obj2
= 0 ;
20760 char * kwnames
[] = {
20761 (char *) "self",(char *) "text",(char *) "font", NULL
20767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20769 if (!SWIG_IsOK(res1
)) {
20770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20772 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20774 arg2
= wxString_in_helper(obj1
);
20775 if (arg2
== NULL
) SWIG_fail
;
20779 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
20780 if (!SWIG_IsOK(res6
)) {
20781 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
20783 arg6
= reinterpret_cast< wxFont
* >(argp6
);
20786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20787 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
20788 wxPyEndAllowThreads(__tstate
);
20789 if (PyErr_Occurred()) SWIG_fail
;
20791 resultobj
= SWIG_Py_Void();
20792 if (SWIG_IsTmpObj(res3
)) {
20793 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20795 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20796 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20798 if (SWIG_IsTmpObj(res4
)) {
20799 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20801 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20802 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20804 if (SWIG_IsTmpObj(res5
)) {
20805 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20807 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20808 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20824 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20825 PyObject
*resultobj
= 0;
20826 wxDC
*arg1
= (wxDC
*) 0 ;
20827 wxString
*arg2
= 0 ;
20831 bool temp2
= false ;
20832 PyObject
* obj0
= 0 ;
20833 PyObject
* obj1
= 0 ;
20834 char * kwnames
[] = {
20835 (char *) "self",(char *) "text", NULL
20838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20840 if (!SWIG_IsOK(res1
)) {
20841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
20843 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20845 arg2
= wxString_in_helper(obj1
);
20846 if (arg2
== NULL
) SWIG_fail
;
20850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20851 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
20852 wxPyEndAllowThreads(__tstate
);
20853 if (PyErr_Occurred()) SWIG_fail
;
20856 resultobj
= wxArrayInt2PyList_helper(result
);
20872 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20873 PyObject
*resultobj
= 0;
20874 wxDC
*arg1
= (wxDC
*) 0 ;
20878 PyObject
*swig_obj
[1] ;
20880 if (!args
) SWIG_fail
;
20881 swig_obj
[0] = args
;
20882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20883 if (!SWIG_IsOK(res1
)) {
20884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
20886 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20889 result
= (arg1
)->GetSize();
20890 wxPyEndAllowThreads(__tstate
);
20891 if (PyErr_Occurred()) SWIG_fail
;
20893 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20900 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20901 PyObject
*resultobj
= 0;
20902 wxDC
*arg1
= (wxDC
*) 0 ;
20903 int *arg2
= (int *) 0 ;
20904 int *arg3
= (int *) 0 ;
20908 int res2
= SWIG_TMPOBJ
;
20910 int res3
= SWIG_TMPOBJ
;
20911 PyObject
*swig_obj
[1] ;
20915 if (!args
) SWIG_fail
;
20916 swig_obj
[0] = args
;
20917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20918 if (!SWIG_IsOK(res1
)) {
20919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
20921 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20924 (arg1
)->GetSize(arg2
,arg3
);
20925 wxPyEndAllowThreads(__tstate
);
20926 if (PyErr_Occurred()) SWIG_fail
;
20928 resultobj
= SWIG_Py_Void();
20929 if (SWIG_IsTmpObj(res2
)) {
20930 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20932 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20933 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20935 if (SWIG_IsTmpObj(res3
)) {
20936 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20938 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20939 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20947 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20948 PyObject
*resultobj
= 0;
20949 wxDC
*arg1
= (wxDC
*) 0 ;
20953 PyObject
*swig_obj
[1] ;
20955 if (!args
) SWIG_fail
;
20956 swig_obj
[0] = args
;
20957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20958 if (!SWIG_IsOK(res1
)) {
20959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
20961 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20964 result
= ((wxDC
const *)arg1
)->GetSizeMM();
20965 wxPyEndAllowThreads(__tstate
);
20966 if (PyErr_Occurred()) SWIG_fail
;
20968 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20975 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20976 PyObject
*resultobj
= 0;
20977 wxDC
*arg1
= (wxDC
*) 0 ;
20978 int *arg2
= (int *) 0 ;
20979 int *arg3
= (int *) 0 ;
20983 int res2
= SWIG_TMPOBJ
;
20985 int res3
= SWIG_TMPOBJ
;
20986 PyObject
*swig_obj
[1] ;
20990 if (!args
) SWIG_fail
;
20991 swig_obj
[0] = args
;
20992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20993 if (!SWIG_IsOK(res1
)) {
20994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
20996 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20999 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21000 wxPyEndAllowThreads(__tstate
);
21001 if (PyErr_Occurred()) SWIG_fail
;
21003 resultobj
= SWIG_Py_Void();
21004 if (SWIG_IsTmpObj(res2
)) {
21005 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21007 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21008 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21010 if (SWIG_IsTmpObj(res3
)) {
21011 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21013 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21014 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21022 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21023 PyObject
*resultobj
= 0;
21024 wxDC
*arg1
= (wxDC
*) 0 ;
21031 PyObject
* obj0
= 0 ;
21032 PyObject
* obj1
= 0 ;
21033 char * kwnames
[] = {
21034 (char *) "self",(char *) "x", NULL
21037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21039 if (!SWIG_IsOK(res1
)) {
21040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21042 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21043 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21044 if (!SWIG_IsOK(ecode2
)) {
21045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21047 arg2
= static_cast< int >(val2
);
21049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21050 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21051 wxPyEndAllowThreads(__tstate
);
21052 if (PyErr_Occurred()) SWIG_fail
;
21054 resultobj
= SWIG_From_int(static_cast< int >(result
));
21061 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21062 PyObject
*resultobj
= 0;
21063 wxDC
*arg1
= (wxDC
*) 0 ;
21070 PyObject
* obj0
= 0 ;
21071 PyObject
* obj1
= 0 ;
21072 char * kwnames
[] = {
21073 (char *) "self",(char *) "y", NULL
21076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21078 if (!SWIG_IsOK(res1
)) {
21079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21081 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21082 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21083 if (!SWIG_IsOK(ecode2
)) {
21084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21086 arg2
= static_cast< int >(val2
);
21088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21089 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21090 wxPyEndAllowThreads(__tstate
);
21091 if (PyErr_Occurred()) SWIG_fail
;
21093 resultobj
= SWIG_From_int(static_cast< int >(result
));
21100 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21101 PyObject
*resultobj
= 0;
21102 wxDC
*arg1
= (wxDC
*) 0 ;
21109 PyObject
* obj0
= 0 ;
21110 PyObject
* obj1
= 0 ;
21111 char * kwnames
[] = {
21112 (char *) "self",(char *) "x", NULL
21115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21117 if (!SWIG_IsOK(res1
)) {
21118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21120 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21121 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21122 if (!SWIG_IsOK(ecode2
)) {
21123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21125 arg2
= static_cast< int >(val2
);
21127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21128 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21129 wxPyEndAllowThreads(__tstate
);
21130 if (PyErr_Occurred()) SWIG_fail
;
21132 resultobj
= SWIG_From_int(static_cast< int >(result
));
21139 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21140 PyObject
*resultobj
= 0;
21141 wxDC
*arg1
= (wxDC
*) 0 ;
21148 PyObject
* obj0
= 0 ;
21149 PyObject
* obj1
= 0 ;
21150 char * kwnames
[] = {
21151 (char *) "self",(char *) "y", NULL
21154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21156 if (!SWIG_IsOK(res1
)) {
21157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21159 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21160 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21161 if (!SWIG_IsOK(ecode2
)) {
21162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21164 arg2
= static_cast< int >(val2
);
21166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21167 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21168 wxPyEndAllowThreads(__tstate
);
21169 if (PyErr_Occurred()) SWIG_fail
;
21171 resultobj
= SWIG_From_int(static_cast< int >(result
));
21178 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21179 PyObject
*resultobj
= 0;
21180 wxDC
*arg1
= (wxDC
*) 0 ;
21187 PyObject
* obj0
= 0 ;
21188 PyObject
* obj1
= 0 ;
21189 char * kwnames
[] = {
21190 (char *) "self",(char *) "x", NULL
21193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21195 if (!SWIG_IsOK(res1
)) {
21196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21198 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21199 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21200 if (!SWIG_IsOK(ecode2
)) {
21201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21203 arg2
= static_cast< int >(val2
);
21205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21206 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21207 wxPyEndAllowThreads(__tstate
);
21208 if (PyErr_Occurred()) SWIG_fail
;
21210 resultobj
= SWIG_From_int(static_cast< int >(result
));
21217 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21218 PyObject
*resultobj
= 0;
21219 wxDC
*arg1
= (wxDC
*) 0 ;
21226 PyObject
* obj0
= 0 ;
21227 PyObject
* obj1
= 0 ;
21228 char * kwnames
[] = {
21229 (char *) "self",(char *) "y", NULL
21232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21234 if (!SWIG_IsOK(res1
)) {
21235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21237 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21238 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21239 if (!SWIG_IsOK(ecode2
)) {
21240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21242 arg2
= static_cast< int >(val2
);
21244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21245 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21246 wxPyEndAllowThreads(__tstate
);
21247 if (PyErr_Occurred()) SWIG_fail
;
21249 resultobj
= SWIG_From_int(static_cast< int >(result
));
21256 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21257 PyObject
*resultobj
= 0;
21258 wxDC
*arg1
= (wxDC
*) 0 ;
21265 PyObject
* obj0
= 0 ;
21266 PyObject
* obj1
= 0 ;
21267 char * kwnames
[] = {
21268 (char *) "self",(char *) "x", NULL
21271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21273 if (!SWIG_IsOK(res1
)) {
21274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21276 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21277 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21278 if (!SWIG_IsOK(ecode2
)) {
21279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21281 arg2
= static_cast< int >(val2
);
21283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21284 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21285 wxPyEndAllowThreads(__tstate
);
21286 if (PyErr_Occurred()) SWIG_fail
;
21288 resultobj
= SWIG_From_int(static_cast< int >(result
));
21295 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21296 PyObject
*resultobj
= 0;
21297 wxDC
*arg1
= (wxDC
*) 0 ;
21304 PyObject
* obj0
= 0 ;
21305 PyObject
* obj1
= 0 ;
21306 char * kwnames
[] = {
21307 (char *) "self",(char *) "y", NULL
21310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21312 if (!SWIG_IsOK(res1
)) {
21313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21315 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21316 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21317 if (!SWIG_IsOK(ecode2
)) {
21318 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21320 arg2
= static_cast< int >(val2
);
21322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21323 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21324 wxPyEndAllowThreads(__tstate
);
21325 if (PyErr_Occurred()) SWIG_fail
;
21327 resultobj
= SWIG_From_int(static_cast< int >(result
));
21334 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21335 PyObject
*resultobj
= 0;
21336 wxDC
*arg1
= (wxDC
*) 0 ;
21340 PyObject
*swig_obj
[1] ;
21342 if (!args
) SWIG_fail
;
21343 swig_obj
[0] = args
;
21344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21345 if (!SWIG_IsOK(res1
)) {
21346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21348 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21351 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21352 wxPyEndAllowThreads(__tstate
);
21353 if (PyErr_Occurred()) SWIG_fail
;
21356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21364 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21365 PyObject
*resultobj
= 0;
21366 wxDC
*arg1
= (wxDC
*) 0 ;
21370 PyObject
*swig_obj
[1] ;
21372 if (!args
) SWIG_fail
;
21373 swig_obj
[0] = args
;
21374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21375 if (!SWIG_IsOK(res1
)) {
21376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21378 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21381 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21382 wxPyEndAllowThreads(__tstate
);
21383 if (PyErr_Occurred()) SWIG_fail
;
21386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21394 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21395 PyObject
*resultobj
= 0;
21396 wxDC
*arg1
= (wxDC
*) 0 ;
21400 PyObject
*swig_obj
[1] ;
21402 if (!args
) SWIG_fail
;
21403 swig_obj
[0] = args
;
21404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21405 if (!SWIG_IsOK(res1
)) {
21406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21408 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21411 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21412 wxPyEndAllowThreads(__tstate
);
21413 if (PyErr_Occurred()) SWIG_fail
;
21415 resultobj
= SWIG_From_int(static_cast< int >(result
));
21422 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21423 PyObject
*resultobj
= 0;
21424 wxDC
*arg1
= (wxDC
*) 0 ;
21428 PyObject
*swig_obj
[1] ;
21430 if (!args
) SWIG_fail
;
21431 swig_obj
[0] = args
;
21432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21433 if (!SWIG_IsOK(res1
)) {
21434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21436 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21439 result
= ((wxDC
const *)arg1
)->GetPPI();
21440 wxPyEndAllowThreads(__tstate
);
21441 if (PyErr_Occurred()) SWIG_fail
;
21443 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21450 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21451 PyObject
*resultobj
= 0;
21452 wxDC
*arg1
= (wxDC
*) 0 ;
21456 PyObject
*swig_obj
[1] ;
21458 if (!args
) SWIG_fail
;
21459 swig_obj
[0] = args
;
21460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21461 if (!SWIG_IsOK(res1
)) {
21462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
21464 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21467 result
= (bool)((wxDC
const *)arg1
)->IsOk();
21468 wxPyEndAllowThreads(__tstate
);
21469 if (PyErr_Occurred()) SWIG_fail
;
21472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21480 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21481 PyObject
*resultobj
= 0;
21482 wxDC
*arg1
= (wxDC
*) 0 ;
21486 PyObject
*swig_obj
[1] ;
21488 if (!args
) SWIG_fail
;
21489 swig_obj
[0] = args
;
21490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21491 if (!SWIG_IsOK(res1
)) {
21492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21494 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21497 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21498 wxPyEndAllowThreads(__tstate
);
21499 if (PyErr_Occurred()) SWIG_fail
;
21501 resultobj
= SWIG_From_int(static_cast< int >(result
));
21508 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21509 PyObject
*resultobj
= 0;
21510 wxDC
*arg1
= (wxDC
*) 0 ;
21511 wxBrush
*result
= 0 ;
21514 PyObject
*swig_obj
[1] ;
21516 if (!args
) SWIG_fail
;
21517 swig_obj
[0] = args
;
21518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21519 if (!SWIG_IsOK(res1
)) {
21520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21522 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21526 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21527 result
= (wxBrush
*) &_result_ref
;
21529 wxPyEndAllowThreads(__tstate
);
21530 if (PyErr_Occurred()) SWIG_fail
;
21533 wxBrush
* resultptr
= new wxBrush(*result
);
21534 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21542 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21543 PyObject
*resultobj
= 0;
21544 wxDC
*arg1
= (wxDC
*) 0 ;
21545 wxBrush
*result
= 0 ;
21548 PyObject
*swig_obj
[1] ;
21550 if (!args
) SWIG_fail
;
21551 swig_obj
[0] = args
;
21552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21553 if (!SWIG_IsOK(res1
)) {
21554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21556 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21560 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21561 result
= (wxBrush
*) &_result_ref
;
21563 wxPyEndAllowThreads(__tstate
);
21564 if (PyErr_Occurred()) SWIG_fail
;
21567 wxBrush
* resultptr
= new wxBrush(*result
);
21568 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21576 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21577 PyObject
*resultobj
= 0;
21578 wxDC
*arg1
= (wxDC
*) 0 ;
21579 wxFont
*result
= 0 ;
21582 PyObject
*swig_obj
[1] ;
21584 if (!args
) SWIG_fail
;
21585 swig_obj
[0] = args
;
21586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21587 if (!SWIG_IsOK(res1
)) {
21588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21590 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21594 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
21595 result
= (wxFont
*) &_result_ref
;
21597 wxPyEndAllowThreads(__tstate
);
21598 if (PyErr_Occurred()) SWIG_fail
;
21601 wxFont
* resultptr
= new wxFont(*result
);
21602 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21610 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21611 PyObject
*resultobj
= 0;
21612 wxDC
*arg1
= (wxDC
*) 0 ;
21613 wxPen
*result
= 0 ;
21616 PyObject
*swig_obj
[1] ;
21618 if (!args
) SWIG_fail
;
21619 swig_obj
[0] = args
;
21620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21621 if (!SWIG_IsOK(res1
)) {
21622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
21624 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21628 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
21629 result
= (wxPen
*) &_result_ref
;
21631 wxPyEndAllowThreads(__tstate
);
21632 if (PyErr_Occurred()) SWIG_fail
;
21635 wxPen
* resultptr
= new wxPen(*result
);
21636 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
21644 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21645 PyObject
*resultobj
= 0;
21646 wxDC
*arg1
= (wxDC
*) 0 ;
21647 wxColour
*result
= 0 ;
21650 PyObject
*swig_obj
[1] ;
21652 if (!args
) SWIG_fail
;
21653 swig_obj
[0] = args
;
21654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21655 if (!SWIG_IsOK(res1
)) {
21656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21658 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21662 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
21663 result
= (wxColour
*) &_result_ref
;
21665 wxPyEndAllowThreads(__tstate
);
21666 if (PyErr_Occurred()) SWIG_fail
;
21668 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21675 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21676 PyObject
*resultobj
= 0;
21677 wxDC
*arg1
= (wxDC
*) 0 ;
21678 wxColour
*result
= 0 ;
21681 PyObject
*swig_obj
[1] ;
21683 if (!args
) SWIG_fail
;
21684 swig_obj
[0] = args
;
21685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21686 if (!SWIG_IsOK(res1
)) {
21687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
21689 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21693 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
21694 result
= (wxColour
*) &_result_ref
;
21696 wxPyEndAllowThreads(__tstate
);
21697 if (PyErr_Occurred()) SWIG_fail
;
21699 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21706 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21707 PyObject
*resultobj
= 0;
21708 wxDC
*arg1
= (wxDC
*) 0 ;
21709 wxColour
*arg2
= 0 ;
21713 PyObject
* obj0
= 0 ;
21714 PyObject
* obj1
= 0 ;
21715 char * kwnames
[] = {
21716 (char *) "self",(char *) "colour", NULL
21719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21721 if (!SWIG_IsOK(res1
)) {
21722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
21724 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21727 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21731 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
21732 wxPyEndAllowThreads(__tstate
);
21733 if (PyErr_Occurred()) SWIG_fail
;
21735 resultobj
= SWIG_Py_Void();
21742 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21743 PyObject
*resultobj
= 0;
21744 wxDC
*arg1
= (wxDC
*) 0 ;
21745 wxColour
*arg2
= 0 ;
21749 PyObject
* obj0
= 0 ;
21750 PyObject
* obj1
= 0 ;
21751 char * kwnames
[] = {
21752 (char *) "self",(char *) "colour", NULL
21755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21757 if (!SWIG_IsOK(res1
)) {
21758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21760 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21763 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21767 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
21768 wxPyEndAllowThreads(__tstate
);
21769 if (PyErr_Occurred()) SWIG_fail
;
21771 resultobj
= SWIG_Py_Void();
21778 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21779 PyObject
*resultobj
= 0;
21780 wxDC
*arg1
= (wxDC
*) 0 ;
21784 PyObject
*swig_obj
[1] ;
21786 if (!args
) SWIG_fail
;
21787 swig_obj
[0] = args
;
21788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21789 if (!SWIG_IsOK(res1
)) {
21790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21792 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21795 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
21796 wxPyEndAllowThreads(__tstate
);
21797 if (PyErr_Occurred()) SWIG_fail
;
21799 resultobj
= SWIG_From_int(static_cast< int >(result
));
21806 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21807 PyObject
*resultobj
= 0;
21808 wxDC
*arg1
= (wxDC
*) 0 ;
21814 PyObject
* obj0
= 0 ;
21815 PyObject
* obj1
= 0 ;
21816 char * kwnames
[] = {
21817 (char *) "self",(char *) "mode", NULL
21820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21822 if (!SWIG_IsOK(res1
)) {
21823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
21825 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21826 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21827 if (!SWIG_IsOK(ecode2
)) {
21828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
21830 arg2
= static_cast< int >(val2
);
21832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21833 (arg1
)->SetMapMode(arg2
);
21834 wxPyEndAllowThreads(__tstate
);
21835 if (PyErr_Occurred()) SWIG_fail
;
21837 resultobj
= SWIG_Py_Void();
21844 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21845 PyObject
*resultobj
= 0;
21846 wxDC
*arg1
= (wxDC
*) 0 ;
21847 double *arg2
= (double *) 0 ;
21848 double *arg3
= (double *) 0 ;
21852 int res2
= SWIG_TMPOBJ
;
21854 int res3
= SWIG_TMPOBJ
;
21855 PyObject
*swig_obj
[1] ;
21859 if (!args
) SWIG_fail
;
21860 swig_obj
[0] = args
;
21861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21862 if (!SWIG_IsOK(res1
)) {
21863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
21865 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21868 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
21869 wxPyEndAllowThreads(__tstate
);
21870 if (PyErr_Occurred()) SWIG_fail
;
21872 resultobj
= SWIG_Py_Void();
21873 if (SWIG_IsTmpObj(res2
)) {
21874 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
21876 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21877 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
21879 if (SWIG_IsTmpObj(res3
)) {
21880 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
21882 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21883 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
21891 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21892 PyObject
*resultobj
= 0;
21893 wxDC
*arg1
= (wxDC
*) 0 ;
21902 PyObject
* obj0
= 0 ;
21903 PyObject
* obj1
= 0 ;
21904 PyObject
* obj2
= 0 ;
21905 char * kwnames
[] = {
21906 (char *) "self",(char *) "x",(char *) "y", NULL
21909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21911 if (!SWIG_IsOK(res1
)) {
21912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
21914 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21915 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
21916 if (!SWIG_IsOK(ecode2
)) {
21917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
21919 arg2
= static_cast< double >(val2
);
21920 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21921 if (!SWIG_IsOK(ecode3
)) {
21922 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
21924 arg3
= static_cast< double >(val3
);
21926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21927 (arg1
)->SetUserScale(arg2
,arg3
);
21928 wxPyEndAllowThreads(__tstate
);
21929 if (PyErr_Occurred()) SWIG_fail
;
21931 resultobj
= SWIG_Py_Void();
21938 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21939 PyObject
*resultobj
= 0;
21940 wxDC
*arg1
= (wxDC
*) 0 ;
21941 double *arg2
= (double *) 0 ;
21942 double *arg3
= (double *) 0 ;
21946 int res2
= SWIG_TMPOBJ
;
21948 int res3
= SWIG_TMPOBJ
;
21949 PyObject
*swig_obj
[1] ;
21953 if (!args
) SWIG_fail
;
21954 swig_obj
[0] = args
;
21955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21956 if (!SWIG_IsOK(res1
)) {
21957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
21959 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21962 (arg1
)->GetLogicalScale(arg2
,arg3
);
21963 wxPyEndAllowThreads(__tstate
);
21964 if (PyErr_Occurred()) SWIG_fail
;
21966 resultobj
= SWIG_Py_Void();
21967 if (SWIG_IsTmpObj(res2
)) {
21968 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
21970 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21971 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
21973 if (SWIG_IsTmpObj(res3
)) {
21974 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
21976 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21977 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
21985 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21986 PyObject
*resultobj
= 0;
21987 wxDC
*arg1
= (wxDC
*) 0 ;
21996 PyObject
* obj0
= 0 ;
21997 PyObject
* obj1
= 0 ;
21998 PyObject
* obj2
= 0 ;
21999 char * kwnames
[] = {
22000 (char *) "self",(char *) "x",(char *) "y", NULL
22003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22005 if (!SWIG_IsOK(res1
)) {
22006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22008 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22009 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22010 if (!SWIG_IsOK(ecode2
)) {
22011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22013 arg2
= static_cast< double >(val2
);
22014 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22015 if (!SWIG_IsOK(ecode3
)) {
22016 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22018 arg3
= static_cast< double >(val3
);
22020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22021 (arg1
)->SetLogicalScale(arg2
,arg3
);
22022 wxPyEndAllowThreads(__tstate
);
22023 if (PyErr_Occurred()) SWIG_fail
;
22025 resultobj
= SWIG_Py_Void();
22032 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22033 PyObject
*resultobj
= 0;
22034 wxDC
*arg1
= (wxDC
*) 0 ;
22038 PyObject
*swig_obj
[1] ;
22040 if (!args
) SWIG_fail
;
22041 swig_obj
[0] = args
;
22042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22043 if (!SWIG_IsOK(res1
)) {
22044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22046 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22049 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22050 wxPyEndAllowThreads(__tstate
);
22051 if (PyErr_Occurred()) SWIG_fail
;
22053 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22060 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22061 PyObject
*resultobj
= 0;
22062 wxDC
*arg1
= (wxDC
*) 0 ;
22063 int *arg2
= (int *) 0 ;
22064 int *arg3
= (int *) 0 ;
22068 int res2
= SWIG_TMPOBJ
;
22070 int res3
= SWIG_TMPOBJ
;
22071 PyObject
*swig_obj
[1] ;
22075 if (!args
) SWIG_fail
;
22076 swig_obj
[0] = args
;
22077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22078 if (!SWIG_IsOK(res1
)) {
22079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22081 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22084 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22085 wxPyEndAllowThreads(__tstate
);
22086 if (PyErr_Occurred()) SWIG_fail
;
22088 resultobj
= SWIG_Py_Void();
22089 if (SWIG_IsTmpObj(res2
)) {
22090 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22092 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22093 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22095 if (SWIG_IsTmpObj(res3
)) {
22096 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22098 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22099 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22107 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22108 PyObject
*resultobj
= 0;
22109 wxDC
*arg1
= (wxDC
*) 0 ;
22118 PyObject
* obj0
= 0 ;
22119 PyObject
* obj1
= 0 ;
22120 PyObject
* obj2
= 0 ;
22121 char * kwnames
[] = {
22122 (char *) "self",(char *) "x",(char *) "y", NULL
22125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22127 if (!SWIG_IsOK(res1
)) {
22128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22130 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22131 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22132 if (!SWIG_IsOK(ecode2
)) {
22133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22135 arg2
= static_cast< int >(val2
);
22136 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22137 if (!SWIG_IsOK(ecode3
)) {
22138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22140 arg3
= static_cast< int >(val3
);
22142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22143 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22144 wxPyEndAllowThreads(__tstate
);
22145 if (PyErr_Occurred()) SWIG_fail
;
22147 resultobj
= SWIG_Py_Void();
22154 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22155 PyObject
*resultobj
= 0;
22156 wxDC
*arg1
= (wxDC
*) 0 ;
22157 wxPoint
*arg2
= 0 ;
22161 PyObject
* obj0
= 0 ;
22162 PyObject
* obj1
= 0 ;
22163 char * kwnames
[] = {
22164 (char *) "self",(char *) "point", NULL
22167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22169 if (!SWIG_IsOK(res1
)) {
22170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22172 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22175 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22179 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22180 wxPyEndAllowThreads(__tstate
);
22181 if (PyErr_Occurred()) SWIG_fail
;
22183 resultobj
= SWIG_Py_Void();
22190 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22191 PyObject
*resultobj
= 0;
22192 wxDC
*arg1
= (wxDC
*) 0 ;
22196 PyObject
*swig_obj
[1] ;
22198 if (!args
) SWIG_fail
;
22199 swig_obj
[0] = args
;
22200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22201 if (!SWIG_IsOK(res1
)) {
22202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22204 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22207 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22208 wxPyEndAllowThreads(__tstate
);
22209 if (PyErr_Occurred()) SWIG_fail
;
22211 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22218 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22219 PyObject
*resultobj
= 0;
22220 wxDC
*arg1
= (wxDC
*) 0 ;
22221 int *arg2
= (int *) 0 ;
22222 int *arg3
= (int *) 0 ;
22226 int res2
= SWIG_TMPOBJ
;
22228 int res3
= SWIG_TMPOBJ
;
22229 PyObject
*swig_obj
[1] ;
22233 if (!args
) SWIG_fail
;
22234 swig_obj
[0] = args
;
22235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22236 if (!SWIG_IsOK(res1
)) {
22237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22239 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22242 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22243 wxPyEndAllowThreads(__tstate
);
22244 if (PyErr_Occurred()) SWIG_fail
;
22246 resultobj
= SWIG_Py_Void();
22247 if (SWIG_IsTmpObj(res2
)) {
22248 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22250 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22251 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22253 if (SWIG_IsTmpObj(res3
)) {
22254 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22256 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22257 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22265 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22266 PyObject
*resultobj
= 0;
22267 wxDC
*arg1
= (wxDC
*) 0 ;
22276 PyObject
* obj0
= 0 ;
22277 PyObject
* obj1
= 0 ;
22278 PyObject
* obj2
= 0 ;
22279 char * kwnames
[] = {
22280 (char *) "self",(char *) "x",(char *) "y", NULL
22283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22285 if (!SWIG_IsOK(res1
)) {
22286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22288 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22290 if (!SWIG_IsOK(ecode2
)) {
22291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22293 arg2
= static_cast< int >(val2
);
22294 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22295 if (!SWIG_IsOK(ecode3
)) {
22296 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22298 arg3
= static_cast< int >(val3
);
22300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22301 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22302 wxPyEndAllowThreads(__tstate
);
22303 if (PyErr_Occurred()) SWIG_fail
;
22305 resultobj
= SWIG_Py_Void();
22312 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22313 PyObject
*resultobj
= 0;
22314 wxDC
*arg1
= (wxDC
*) 0 ;
22315 wxPoint
*arg2
= 0 ;
22319 PyObject
* obj0
= 0 ;
22320 PyObject
* obj1
= 0 ;
22321 char * kwnames
[] = {
22322 (char *) "self",(char *) "point", NULL
22325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22327 if (!SWIG_IsOK(res1
)) {
22328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22330 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22333 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22337 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22338 wxPyEndAllowThreads(__tstate
);
22339 if (PyErr_Occurred()) SWIG_fail
;
22341 resultobj
= SWIG_Py_Void();
22348 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22349 PyObject
*resultobj
= 0;
22350 wxDC
*arg1
= (wxDC
*) 0 ;
22359 PyObject
* obj0
= 0 ;
22360 PyObject
* obj1
= 0 ;
22361 PyObject
* obj2
= 0 ;
22362 char * kwnames
[] = {
22363 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22368 if (!SWIG_IsOK(res1
)) {
22369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22371 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22372 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22373 if (!SWIG_IsOK(ecode2
)) {
22374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22376 arg2
= static_cast< bool >(val2
);
22377 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22378 if (!SWIG_IsOK(ecode3
)) {
22379 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22381 arg3
= static_cast< bool >(val3
);
22383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22384 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22385 wxPyEndAllowThreads(__tstate
);
22386 if (PyErr_Occurred()) SWIG_fail
;
22388 resultobj
= SWIG_Py_Void();
22395 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22396 PyObject
*resultobj
= 0;
22397 wxDC
*arg1
= (wxDC
*) 0 ;
22401 PyObject
*swig_obj
[1] ;
22403 if (!args
) SWIG_fail
;
22404 swig_obj
[0] = args
;
22405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22406 if (!SWIG_IsOK(res1
)) {
22407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22409 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22412 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22413 wxPyEndAllowThreads(__tstate
);
22414 if (PyErr_Occurred()) SWIG_fail
;
22416 resultobj
= SWIG_From_int(static_cast< int >(result
));
22423 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22424 PyObject
*resultobj
= 0;
22425 wxDC
*arg1
= (wxDC
*) 0 ;
22431 PyObject
* obj0
= 0 ;
22432 PyObject
* obj1
= 0 ;
22433 char * kwnames
[] = {
22434 (char *) "self",(char *) "function", NULL
22437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22439 if (!SWIG_IsOK(res1
)) {
22440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22442 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22443 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22444 if (!SWIG_IsOK(ecode2
)) {
22445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22447 arg2
= static_cast< int >(val2
);
22449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22450 (arg1
)->SetLogicalFunction(arg2
);
22451 wxPyEndAllowThreads(__tstate
);
22452 if (PyErr_Occurred()) SWIG_fail
;
22454 resultobj
= SWIG_Py_Void();
22461 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22462 PyObject
*resultobj
= 0;
22463 wxDC
*arg1
= (wxDC
*) 0 ;
22466 PyObject
*swig_obj
[1] ;
22468 if (!args
) SWIG_fail
;
22469 swig_obj
[0] = args
;
22470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22471 if (!SWIG_IsOK(res1
)) {
22472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22474 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22477 (arg1
)->ComputeScaleAndOrigin();
22478 wxPyEndAllowThreads(__tstate
);
22479 if (PyErr_Occurred()) SWIG_fail
;
22481 resultobj
= SWIG_Py_Void();
22488 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22489 PyObject
*resultobj
= 0;
22490 wxDC
*arg1
= (wxDC
*) 0 ;
22499 PyObject
* obj0
= 0 ;
22500 PyObject
* obj1
= 0 ;
22501 PyObject
* obj2
= 0 ;
22502 char * kwnames
[] = {
22503 (char *) "self",(char *) "x",(char *) "y", NULL
22506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22508 if (!SWIG_IsOK(res1
)) {
22509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22511 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22512 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22513 if (!SWIG_IsOK(ecode2
)) {
22514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22516 arg2
= static_cast< int >(val2
);
22517 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22518 if (!SWIG_IsOK(ecode3
)) {
22519 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22521 arg3
= static_cast< int >(val3
);
22523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22524 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22525 wxPyEndAllowThreads(__tstate
);
22526 if (PyErr_Occurred()) SWIG_fail
;
22528 resultobj
= SWIG_Py_Void();
22535 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22536 PyObject
*resultobj
= 0;
22537 wxDC
*arg1
= (wxDC
*) 0 ;
22538 wxPoint
*arg2
= 0 ;
22542 PyObject
* obj0
= 0 ;
22543 PyObject
* obj1
= 0 ;
22544 char * kwnames
[] = {
22545 (char *) "self",(char *) "point", NULL
22548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22550 if (!SWIG_IsOK(res1
)) {
22551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22553 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22556 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22560 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22561 wxPyEndAllowThreads(__tstate
);
22562 if (PyErr_Occurred()) SWIG_fail
;
22564 resultobj
= SWIG_Py_Void();
22571 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22572 PyObject
*resultobj
= 0;
22573 wxDC
*arg1
= (wxDC
*) 0 ;
22576 PyObject
*swig_obj
[1] ;
22578 if (!args
) SWIG_fail
;
22579 swig_obj
[0] = args
;
22580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22581 if (!SWIG_IsOK(res1
)) {
22582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22584 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22587 (arg1
)->ResetBoundingBox();
22588 wxPyEndAllowThreads(__tstate
);
22589 if (PyErr_Occurred()) SWIG_fail
;
22591 resultobj
= SWIG_Py_Void();
22598 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22599 PyObject
*resultobj
= 0;
22600 wxDC
*arg1
= (wxDC
*) 0 ;
22604 PyObject
*swig_obj
[1] ;
22606 if (!args
) SWIG_fail
;
22607 swig_obj
[0] = args
;
22608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22609 if (!SWIG_IsOK(res1
)) {
22610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
22612 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22615 result
= (int)((wxDC
const *)arg1
)->MinX();
22616 wxPyEndAllowThreads(__tstate
);
22617 if (PyErr_Occurred()) SWIG_fail
;
22619 resultobj
= SWIG_From_int(static_cast< int >(result
));
22626 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22627 PyObject
*resultobj
= 0;
22628 wxDC
*arg1
= (wxDC
*) 0 ;
22632 PyObject
*swig_obj
[1] ;
22634 if (!args
) SWIG_fail
;
22635 swig_obj
[0] = args
;
22636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22637 if (!SWIG_IsOK(res1
)) {
22638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
22640 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22643 result
= (int)((wxDC
const *)arg1
)->MaxX();
22644 wxPyEndAllowThreads(__tstate
);
22645 if (PyErr_Occurred()) SWIG_fail
;
22647 resultobj
= SWIG_From_int(static_cast< int >(result
));
22654 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22655 PyObject
*resultobj
= 0;
22656 wxDC
*arg1
= (wxDC
*) 0 ;
22660 PyObject
*swig_obj
[1] ;
22662 if (!args
) SWIG_fail
;
22663 swig_obj
[0] = args
;
22664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22665 if (!SWIG_IsOK(res1
)) {
22666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
22668 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22671 result
= (int)((wxDC
const *)arg1
)->MinY();
22672 wxPyEndAllowThreads(__tstate
);
22673 if (PyErr_Occurred()) SWIG_fail
;
22675 resultobj
= SWIG_From_int(static_cast< int >(result
));
22682 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22683 PyObject
*resultobj
= 0;
22684 wxDC
*arg1
= (wxDC
*) 0 ;
22688 PyObject
*swig_obj
[1] ;
22690 if (!args
) SWIG_fail
;
22691 swig_obj
[0] = args
;
22692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22693 if (!SWIG_IsOK(res1
)) {
22694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
22696 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22699 result
= (int)((wxDC
const *)arg1
)->MaxY();
22700 wxPyEndAllowThreads(__tstate
);
22701 if (PyErr_Occurred()) SWIG_fail
;
22703 resultobj
= SWIG_From_int(static_cast< int >(result
));
22710 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22711 PyObject
*resultobj
= 0;
22712 wxDC
*arg1
= (wxDC
*) 0 ;
22713 int *arg2
= (int *) 0 ;
22714 int *arg3
= (int *) 0 ;
22715 int *arg4
= (int *) 0 ;
22716 int *arg5
= (int *) 0 ;
22720 int res2
= SWIG_TMPOBJ
;
22722 int res3
= SWIG_TMPOBJ
;
22724 int res4
= SWIG_TMPOBJ
;
22726 int res5
= SWIG_TMPOBJ
;
22727 PyObject
*swig_obj
[1] ;
22733 if (!args
) SWIG_fail
;
22734 swig_obj
[0] = args
;
22735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22736 if (!SWIG_IsOK(res1
)) {
22737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22739 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22742 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
22743 wxPyEndAllowThreads(__tstate
);
22744 if (PyErr_Occurred()) SWIG_fail
;
22746 resultobj
= SWIG_Py_Void();
22747 if (SWIG_IsTmpObj(res2
)) {
22748 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22750 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22751 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22753 if (SWIG_IsTmpObj(res3
)) {
22754 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22756 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22757 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22759 if (SWIG_IsTmpObj(res4
)) {
22760 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22762 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22763 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22765 if (SWIG_IsTmpObj(res5
)) {
22766 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
22768 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22769 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
22777 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22778 PyObject
*resultobj
= 0;
22779 wxDC
*arg1
= (wxDC
*) 0 ;
22780 wxLayoutDirection result
;
22783 PyObject
*swig_obj
[1] ;
22785 if (!args
) SWIG_fail
;
22786 swig_obj
[0] = args
;
22787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22788 if (!SWIG_IsOK(res1
)) {
22789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
22791 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22794 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
22795 wxPyEndAllowThreads(__tstate
);
22796 if (PyErr_Occurred()) SWIG_fail
;
22798 resultobj
= SWIG_From_int(static_cast< int >(result
));
22805 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22806 PyObject
*resultobj
= 0;
22807 wxDC
*arg1
= (wxDC
*) 0 ;
22808 wxLayoutDirection arg2
;
22813 PyObject
* obj0
= 0 ;
22814 PyObject
* obj1
= 0 ;
22815 char * kwnames
[] = {
22816 (char *) "self",(char *) "dir", NULL
22819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22821 if (!SWIG_IsOK(res1
)) {
22822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
22824 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22825 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22826 if (!SWIG_IsOK(ecode2
)) {
22827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
22829 arg2
= static_cast< wxLayoutDirection
>(val2
);
22831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22832 (arg1
)->SetLayoutDirection(arg2
);
22833 wxPyEndAllowThreads(__tstate
);
22834 if (PyErr_Occurred()) SWIG_fail
;
22836 resultobj
= SWIG_Py_Void();
22843 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22844 PyObject
*resultobj
= 0;
22845 wxDC
*arg1
= (wxDC
*) 0 ;
22846 PyObject
*arg2
= (PyObject
*) 0 ;
22847 PyObject
*arg3
= (PyObject
*) 0 ;
22848 PyObject
*arg4
= (PyObject
*) 0 ;
22849 PyObject
*result
= 0 ;
22852 PyObject
* obj0
= 0 ;
22853 PyObject
* obj1
= 0 ;
22854 PyObject
* obj2
= 0 ;
22855 PyObject
* obj3
= 0 ;
22856 char * kwnames
[] = {
22857 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22862 if (!SWIG_IsOK(res1
)) {
22863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
22865 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22871 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
22872 wxPyEndAllowThreads(__tstate
);
22873 if (PyErr_Occurred()) SWIG_fail
;
22875 resultobj
= result
;
22882 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22883 PyObject
*resultobj
= 0;
22884 wxDC
*arg1
= (wxDC
*) 0 ;
22885 PyObject
*arg2
= (PyObject
*) 0 ;
22886 PyObject
*arg3
= (PyObject
*) 0 ;
22887 PyObject
*arg4
= (PyObject
*) 0 ;
22888 PyObject
*result
= 0 ;
22891 PyObject
* obj0
= 0 ;
22892 PyObject
* obj1
= 0 ;
22893 PyObject
* obj2
= 0 ;
22894 PyObject
* obj3
= 0 ;
22895 char * kwnames
[] = {
22896 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22901 if (!SWIG_IsOK(res1
)) {
22902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
22904 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22910 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
22911 wxPyEndAllowThreads(__tstate
);
22912 if (PyErr_Occurred()) SWIG_fail
;
22914 resultobj
= result
;
22921 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22922 PyObject
*resultobj
= 0;
22923 wxDC
*arg1
= (wxDC
*) 0 ;
22924 PyObject
*arg2
= (PyObject
*) 0 ;
22925 PyObject
*arg3
= (PyObject
*) 0 ;
22926 PyObject
*arg4
= (PyObject
*) 0 ;
22927 PyObject
*result
= 0 ;
22930 PyObject
* obj0
= 0 ;
22931 PyObject
* obj1
= 0 ;
22932 PyObject
* obj2
= 0 ;
22933 PyObject
* obj3
= 0 ;
22934 char * kwnames
[] = {
22935 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22940 if (!SWIG_IsOK(res1
)) {
22941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
22943 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22949 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
22950 wxPyEndAllowThreads(__tstate
);
22951 if (PyErr_Occurred()) SWIG_fail
;
22953 resultobj
= result
;
22960 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22961 PyObject
*resultobj
= 0;
22962 wxDC
*arg1
= (wxDC
*) 0 ;
22963 PyObject
*arg2
= (PyObject
*) 0 ;
22964 PyObject
*arg3
= (PyObject
*) 0 ;
22965 PyObject
*arg4
= (PyObject
*) 0 ;
22966 PyObject
*result
= 0 ;
22969 PyObject
* obj0
= 0 ;
22970 PyObject
* obj1
= 0 ;
22971 PyObject
* obj2
= 0 ;
22972 PyObject
* obj3
= 0 ;
22973 char * kwnames
[] = {
22974 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22979 if (!SWIG_IsOK(res1
)) {
22980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
22982 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22988 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
22989 wxPyEndAllowThreads(__tstate
);
22990 if (PyErr_Occurred()) SWIG_fail
;
22992 resultobj
= result
;
22999 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23000 PyObject
*resultobj
= 0;
23001 wxDC
*arg1
= (wxDC
*) 0 ;
23002 PyObject
*arg2
= (PyObject
*) 0 ;
23003 PyObject
*arg3
= (PyObject
*) 0 ;
23004 PyObject
*arg4
= (PyObject
*) 0 ;
23005 PyObject
*result
= 0 ;
23008 PyObject
* obj0
= 0 ;
23009 PyObject
* obj1
= 0 ;
23010 PyObject
* obj2
= 0 ;
23011 PyObject
* obj3
= 0 ;
23012 char * kwnames
[] = {
23013 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23018 if (!SWIG_IsOK(res1
)) {
23019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23021 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23027 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23028 wxPyEndAllowThreads(__tstate
);
23029 if (PyErr_Occurred()) SWIG_fail
;
23031 resultobj
= result
;
23038 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23039 PyObject
*resultobj
= 0;
23040 wxDC
*arg1
= (wxDC
*) 0 ;
23041 PyObject
*arg2
= (PyObject
*) 0 ;
23042 PyObject
*arg3
= (PyObject
*) 0 ;
23043 PyObject
*arg4
= (PyObject
*) 0 ;
23044 PyObject
*arg5
= (PyObject
*) 0 ;
23045 PyObject
*result
= 0 ;
23048 PyObject
* obj0
= 0 ;
23049 PyObject
* obj1
= 0 ;
23050 PyObject
* obj2
= 0 ;
23051 PyObject
* obj3
= 0 ;
23052 PyObject
* obj4
= 0 ;
23053 char * kwnames
[] = {
23054 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23059 if (!SWIG_IsOK(res1
)) {
23060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23062 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23069 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23070 wxPyEndAllowThreads(__tstate
);
23071 if (PyErr_Occurred()) SWIG_fail
;
23073 resultobj
= result
;
23080 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23082 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23083 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23084 return SWIG_Py_Void();
23087 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23088 PyObject
*resultobj
= 0;
23089 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
23090 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
23091 wxMemoryDC
*result
= 0 ;
23094 PyObject
* obj0
= 0 ;
23095 char * kwnames
[] = {
23096 (char *) "bitmap", NULL
23099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
23101 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23102 if (!SWIG_IsOK(res1
)) {
23103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap const &""'");
23106 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap const &""'");
23108 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
23111 if (!wxPyCheckForApp()) SWIG_fail
;
23112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23113 result
= (wxMemoryDC
*)new wxMemoryDC((wxBitmap
const &)*arg1
);
23114 wxPyEndAllowThreads(__tstate
);
23115 if (PyErr_Occurred()) SWIG_fail
;
23117 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
23124 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23125 PyObject
*resultobj
= 0;
23126 wxDC
*arg1
= (wxDC
*) 0 ;
23127 wxMemoryDC
*result
= 0 ;
23130 PyObject
* obj0
= 0 ;
23131 char * kwnames
[] = {
23132 (char *) "oldDC", NULL
23135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
23136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23137 if (!SWIG_IsOK(res1
)) {
23138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
23140 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23142 if (!wxPyCheckForApp()) SWIG_fail
;
23143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23144 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
23145 wxPyEndAllowThreads(__tstate
);
23146 if (PyErr_Occurred()) SWIG_fail
;
23148 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
23155 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23156 PyObject
*resultobj
= 0;
23157 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
23158 wxBitmap
*arg2
= 0 ;
23163 PyObject
* obj0
= 0 ;
23164 PyObject
* obj1
= 0 ;
23165 char * kwnames
[] = {
23166 (char *) "self",(char *) "bitmap", NULL
23169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
23171 if (!SWIG_IsOK(res1
)) {
23172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
23174 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
23175 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23176 if (!SWIG_IsOK(res2
)) {
23177 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23180 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23182 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23185 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
23186 wxPyEndAllowThreads(__tstate
);
23187 if (PyErr_Occurred()) SWIG_fail
;
23189 resultobj
= SWIG_Py_Void();
23196 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23198 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23199 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
23200 return SWIG_Py_Void();
23203 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23204 return SWIG_Python_InitShadowInstance(args
);
23207 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23208 PyObject
*resultobj
= 0;
23209 wxDC
*arg1
= (wxDC
*) 0 ;
23210 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23211 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23212 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23213 wxBufferedDC
*result
= 0 ;
23221 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
23222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23223 if (!SWIG_IsOK(res1
)) {
23224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23226 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23228 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23229 if (!SWIG_IsOK(res2
)) {
23230 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23233 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23235 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23238 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23239 if (!SWIG_IsOK(ecode3
)) {
23240 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23242 arg3
= static_cast< int >(val3
);
23245 if (!wxPyCheckForApp()) SWIG_fail
;
23246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23247 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23248 wxPyEndAllowThreads(__tstate
);
23249 if (PyErr_Occurred()) SWIG_fail
;
23251 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23258 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23259 PyObject
*resultobj
= 0;
23260 wxDC
*arg1
= (wxDC
*) 0 ;
23262 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23263 wxBufferedDC
*result
= 0 ;
23270 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
23271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23272 if (!SWIG_IsOK(res1
)) {
23273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23275 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23278 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23281 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23282 if (!SWIG_IsOK(ecode3
)) {
23283 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23285 arg3
= static_cast< int >(val3
);
23288 if (!wxPyCheckForApp()) SWIG_fail
;
23289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23290 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
23291 wxPyEndAllowThreads(__tstate
);
23292 if (PyErr_Occurred()) SWIG_fail
;
23294 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23301 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
23305 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
23307 if ((argc
>= 1) && (argc
<= 3)) {
23311 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
23312 _v
= SWIG_CheckState(res
);
23314 if (!_v
) goto check_1
;
23316 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
23320 if ((argc
>= 2) && (argc
<= 3)) {
23321 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
23325 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
23330 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23331 PyObject
*resultobj
= 0;
23332 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23335 PyObject
*swig_obj
[1] ;
23337 if (!args
) SWIG_fail
;
23338 swig_obj
[0] = args
;
23339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
23340 if (!SWIG_IsOK(res1
)) {
23341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23343 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23348 wxPyEndAllowThreads(__tstate
);
23349 if (PyErr_Occurred()) SWIG_fail
;
23351 resultobj
= SWIG_Py_Void();
23358 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23359 PyObject
*resultobj
= 0;
23360 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23363 PyObject
*swig_obj
[1] ;
23365 if (!args
) SWIG_fail
;
23366 swig_obj
[0] = args
;
23367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
23368 if (!SWIG_IsOK(res1
)) {
23369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23371 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23375 wxPyEndAllowThreads(__tstate
);
23376 if (PyErr_Occurred()) SWIG_fail
;
23378 resultobj
= SWIG_Py_Void();
23385 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23387 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23388 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
23389 return SWIG_Py_Void();
23392 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23393 return SWIG_Python_InitShadowInstance(args
);
23396 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23397 PyObject
*resultobj
= 0;
23398 wxWindow
*arg1
= (wxWindow
*) 0 ;
23399 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23400 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23401 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23402 wxBufferedPaintDC
*result
= 0 ;
23409 PyObject
* obj0
= 0 ;
23410 PyObject
* obj1
= 0 ;
23411 PyObject
* obj2
= 0 ;
23412 char * kwnames
[] = {
23413 (char *) "window",(char *) "buffer",(char *) "style", NULL
23416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23418 if (!SWIG_IsOK(res1
)) {
23419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23421 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23423 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23424 if (!SWIG_IsOK(res2
)) {
23425 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23428 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23430 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23433 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23434 if (!SWIG_IsOK(ecode3
)) {
23435 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
23437 arg3
= static_cast< int >(val3
);
23440 if (!wxPyCheckForApp()) SWIG_fail
;
23441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23442 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23443 wxPyEndAllowThreads(__tstate
);
23444 if (PyErr_Occurred()) SWIG_fail
;
23446 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
23453 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23455 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23456 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
23457 return SWIG_Py_Void();
23460 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23461 return SWIG_Python_InitShadowInstance(args
);
23464 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23465 PyObject
*resultobj
= 0;
23466 wxScreenDC
*result
= 0 ;
23468 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23470 if (!wxPyCheckForApp()) SWIG_fail
;
23471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23472 result
= (wxScreenDC
*)new wxScreenDC();
23473 wxPyEndAllowThreads(__tstate
);
23474 if (PyErr_Occurred()) SWIG_fail
;
23476 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23483 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23484 PyObject
*resultobj
= 0;
23485 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23486 wxWindow
*arg2
= (wxWindow
*) 0 ;
23492 PyObject
* obj0
= 0 ;
23493 PyObject
* obj1
= 0 ;
23494 char * kwnames
[] = {
23495 (char *) "self",(char *) "window", NULL
23498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23500 if (!SWIG_IsOK(res1
)) {
23501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23503 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23504 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23505 if (!SWIG_IsOK(res2
)) {
23506 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23508 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23511 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23512 wxPyEndAllowThreads(__tstate
);
23513 if (PyErr_Occurred()) SWIG_fail
;
23516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23524 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23525 PyObject
*resultobj
= 0;
23526 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23527 wxRect
*arg2
= (wxRect
*) NULL
;
23533 PyObject
* obj0
= 0 ;
23534 PyObject
* obj1
= 0 ;
23535 char * kwnames
[] = {
23536 (char *) "self",(char *) "rect", NULL
23539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23541 if (!SWIG_IsOK(res1
)) {
23542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23544 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23546 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
23547 if (!SWIG_IsOK(res2
)) {
23548 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
23550 arg2
= reinterpret_cast< wxRect
* >(argp2
);
23553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23554 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23555 wxPyEndAllowThreads(__tstate
);
23556 if (PyErr_Occurred()) SWIG_fail
;
23559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23567 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23568 PyObject
*resultobj
= 0;
23569 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23573 PyObject
*swig_obj
[1] ;
23575 if (!args
) SWIG_fail
;
23576 swig_obj
[0] = args
;
23577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23578 if (!SWIG_IsOK(res1
)) {
23579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23581 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23584 result
= (bool)(arg1
)->EndDrawingOnTop();
23585 wxPyEndAllowThreads(__tstate
);
23586 if (PyErr_Occurred()) SWIG_fail
;
23589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23597 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23599 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23600 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
23601 return SWIG_Py_Void();
23604 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23605 return SWIG_Python_InitShadowInstance(args
);
23608 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23609 PyObject
*resultobj
= 0;
23610 wxWindow
*arg1
= (wxWindow
*) 0 ;
23611 wxWindowDC
*result
= 0 ;
23614 PyObject
* obj0
= 0 ;
23615 char * kwnames
[] = {
23616 (char *) "win", NULL
23619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
23620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23621 if (!SWIG_IsOK(res1
)) {
23622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23624 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23626 if (!wxPyCheckForApp()) SWIG_fail
;
23627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23628 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
23629 wxPyEndAllowThreads(__tstate
);
23630 if (PyErr_Occurred()) SWIG_fail
;
23632 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
23639 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23641 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23642 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
23643 return SWIG_Py_Void();
23646 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23647 return SWIG_Python_InitShadowInstance(args
);
23650 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23651 PyObject
*resultobj
= 0;
23652 wxWindow
*arg1
= (wxWindow
*) 0 ;
23653 wxClientDC
*result
= 0 ;
23656 PyObject
* obj0
= 0 ;
23657 char * kwnames
[] = {
23658 (char *) "win", NULL
23661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
23662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23663 if (!SWIG_IsOK(res1
)) {
23664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23666 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23668 if (!wxPyCheckForApp()) SWIG_fail
;
23669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23670 result
= (wxClientDC
*)new wxClientDC(arg1
);
23671 wxPyEndAllowThreads(__tstate
);
23672 if (PyErr_Occurred()) SWIG_fail
;
23674 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
23681 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23683 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23684 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
23685 return SWIG_Py_Void();
23688 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23689 return SWIG_Python_InitShadowInstance(args
);
23692 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23693 PyObject
*resultobj
= 0;
23694 wxWindow
*arg1
= (wxWindow
*) 0 ;
23695 wxPaintDC
*result
= 0 ;
23698 PyObject
* obj0
= 0 ;
23699 char * kwnames
[] = {
23700 (char *) "win", NULL
23703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
23704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23705 if (!SWIG_IsOK(res1
)) {
23706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23708 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23710 if (!wxPyCheckForApp()) SWIG_fail
;
23711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23712 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
23713 wxPyEndAllowThreads(__tstate
);
23714 if (PyErr_Occurred()) SWIG_fail
;
23716 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
23723 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23725 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23726 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
23727 return SWIG_Py_Void();
23730 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23731 return SWIG_Python_InitShadowInstance(args
);
23734 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23735 PyObject
*resultobj
= 0;
23736 wxWindow
*arg1
= (wxWindow
*) 0 ;
23740 PyObject
* obj0
= 0 ;
23741 char * kwnames
[] = {
23742 (char *) "window", NULL
23745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
23746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23747 if (!SWIG_IsOK(res1
)) {
23748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
23750 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23753 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
23754 wxPyEndAllowThreads(__tstate
);
23755 if (PyErr_Occurred()) SWIG_fail
;
23758 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
23766 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23767 PyObject
*resultobj
= 0;
23770 wxMirrorDC
*result
= 0 ;
23775 PyObject
* obj0
= 0 ;
23776 PyObject
* obj1
= 0 ;
23777 char * kwnames
[] = {
23778 (char *) "dc",(char *) "mirror", NULL
23781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23782 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23783 if (!SWIG_IsOK(res1
)) {
23784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23787 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23789 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23790 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23791 if (!SWIG_IsOK(ecode2
)) {
23792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
23794 arg2
= static_cast< bool >(val2
);
23796 if (!wxPyCheckForApp()) SWIG_fail
;
23797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23798 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
23799 wxPyEndAllowThreads(__tstate
);
23800 if (PyErr_Occurred()) SWIG_fail
;
23802 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
23809 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23811 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23812 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
23813 return SWIG_Py_Void();
23816 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23817 return SWIG_Python_InitShadowInstance(args
);
23820 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23821 PyObject
*resultobj
= 0;
23822 wxPrintData
*arg1
= 0 ;
23823 wxPostScriptDC
*result
= 0 ;
23826 PyObject
* obj0
= 0 ;
23827 char * kwnames
[] = {
23828 (char *) "printData", NULL
23831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
23832 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23833 if (!SWIG_IsOK(res1
)) {
23834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23837 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23839 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23841 if (!wxPyCheckForApp()) SWIG_fail
;
23842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23843 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
23844 wxPyEndAllowThreads(__tstate
);
23845 if (PyErr_Occurred()) SWIG_fail
;
23847 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
23854 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23855 PyObject
*resultobj
= 0;
23856 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23857 wxPrintData
*result
= 0 ;
23860 PyObject
*swig_obj
[1] ;
23862 if (!args
) SWIG_fail
;
23863 swig_obj
[0] = args
;
23864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23865 if (!SWIG_IsOK(res1
)) {
23866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23868 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23872 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23873 result
= (wxPrintData
*) &_result_ref
;
23875 wxPyEndAllowThreads(__tstate
);
23876 if (PyErr_Occurred()) SWIG_fail
;
23878 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
23885 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23886 PyObject
*resultobj
= 0;
23887 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23888 wxPrintData
*arg2
= 0 ;
23893 PyObject
* obj0
= 0 ;
23894 PyObject
* obj1
= 0 ;
23895 char * kwnames
[] = {
23896 (char *) "self",(char *) "data", NULL
23899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23901 if (!SWIG_IsOK(res1
)) {
23902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23904 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23905 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23906 if (!SWIG_IsOK(res2
)) {
23907 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23910 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23912 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
23914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23915 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
23916 wxPyEndAllowThreads(__tstate
);
23917 if (PyErr_Occurred()) SWIG_fail
;
23919 resultobj
= SWIG_Py_Void();
23926 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23927 PyObject
*resultobj
= 0;
23931 PyObject
* obj0
= 0 ;
23932 char * kwnames
[] = {
23933 (char *) "ppi", NULL
23936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
23937 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23938 if (!SWIG_IsOK(ecode1
)) {
23939 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
23941 arg1
= static_cast< int >(val1
);
23943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23944 wxPostScriptDC::SetResolution(arg1
);
23945 wxPyEndAllowThreads(__tstate
);
23946 if (PyErr_Occurred()) SWIG_fail
;
23948 resultobj
= SWIG_Py_Void();
23955 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23956 PyObject
*resultobj
= 0;
23959 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
23961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23962 result
= (int)wxPostScriptDC::GetResolution();
23963 wxPyEndAllowThreads(__tstate
);
23964 if (PyErr_Occurred()) SWIG_fail
;
23966 resultobj
= SWIG_From_int(static_cast< int >(result
));
23973 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23975 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23976 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
23977 return SWIG_Py_Void();
23980 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23981 return SWIG_Python_InitShadowInstance(args
);
23984 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23985 PyObject
*resultobj
= 0;
23986 wxString
const &arg1_defvalue
= wxPyEmptyString
;
23987 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
23988 wxMetaFile
*result
= 0 ;
23989 bool temp1
= false ;
23990 PyObject
* obj0
= 0 ;
23991 char * kwnames
[] = {
23992 (char *) "filename", NULL
23995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
23998 arg1
= wxString_in_helper(obj0
);
23999 if (arg1
== NULL
) SWIG_fail
;
24004 if (!wxPyCheckForApp()) SWIG_fail
;
24005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24006 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
24007 wxPyEndAllowThreads(__tstate
);
24008 if (PyErr_Occurred()) SWIG_fail
;
24010 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
24025 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24026 PyObject
*resultobj
= 0;
24027 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24030 PyObject
*swig_obj
[1] ;
24032 if (!args
) SWIG_fail
;
24033 swig_obj
[0] = args
;
24034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
24035 if (!SWIG_IsOK(res1
)) {
24036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24038 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24043 wxPyEndAllowThreads(__tstate
);
24044 if (PyErr_Occurred()) SWIG_fail
;
24046 resultobj
= SWIG_Py_Void();
24053 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24054 PyObject
*resultobj
= 0;
24055 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24059 PyObject
*swig_obj
[1] ;
24061 if (!args
) SWIG_fail
;
24062 swig_obj
[0] = args
;
24063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24064 if (!SWIG_IsOK(res1
)) {
24065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24067 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24070 result
= (bool)(arg1
)->IsOk();
24071 wxPyEndAllowThreads(__tstate
);
24072 if (PyErr_Occurred()) SWIG_fail
;
24075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24083 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24084 PyObject
*resultobj
= 0;
24085 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24086 int arg2
= (int) 0 ;
24087 int arg3
= (int) 0 ;
24095 PyObject
* obj0
= 0 ;
24096 PyObject
* obj1
= 0 ;
24097 PyObject
* obj2
= 0 ;
24098 char * kwnames
[] = {
24099 (char *) "self",(char *) "width",(char *) "height", NULL
24102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24104 if (!SWIG_IsOK(res1
)) {
24105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24107 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24109 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24110 if (!SWIG_IsOK(ecode2
)) {
24111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
24113 arg2
= static_cast< int >(val2
);
24116 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24117 if (!SWIG_IsOK(ecode3
)) {
24118 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
24120 arg3
= static_cast< int >(val3
);
24123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24124 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
24125 wxPyEndAllowThreads(__tstate
);
24126 if (PyErr_Occurred()) SWIG_fail
;
24129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24137 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24138 PyObject
*resultobj
= 0;
24139 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24143 PyObject
*swig_obj
[1] ;
24145 if (!args
) SWIG_fail
;
24146 swig_obj
[0] = args
;
24147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24148 if (!SWIG_IsOK(res1
)) {
24149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24151 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24154 result
= (arg1
)->GetSize();
24155 wxPyEndAllowThreads(__tstate
);
24156 if (PyErr_Occurred()) SWIG_fail
;
24158 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24165 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24166 PyObject
*resultobj
= 0;
24167 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24171 PyObject
*swig_obj
[1] ;
24173 if (!args
) SWIG_fail
;
24174 swig_obj
[0] = args
;
24175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24176 if (!SWIG_IsOK(res1
)) {
24177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24179 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24182 result
= (int)(arg1
)->GetWidth();
24183 wxPyEndAllowThreads(__tstate
);
24184 if (PyErr_Occurred()) SWIG_fail
;
24186 resultobj
= SWIG_From_int(static_cast< int >(result
));
24193 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24194 PyObject
*resultobj
= 0;
24195 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24199 PyObject
*swig_obj
[1] ;
24201 if (!args
) SWIG_fail
;
24202 swig_obj
[0] = args
;
24203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24204 if (!SWIG_IsOK(res1
)) {
24205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24207 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24210 result
= (int)(arg1
)->GetHeight();
24211 wxPyEndAllowThreads(__tstate
);
24212 if (PyErr_Occurred()) SWIG_fail
;
24214 resultobj
= SWIG_From_int(static_cast< int >(result
));
24221 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24223 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24224 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
24225 return SWIG_Py_Void();
24228 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24229 return SWIG_Python_InitShadowInstance(args
);
24232 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24233 PyObject
*resultobj
= 0;
24234 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24235 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24236 int arg2
= (int) 0 ;
24237 int arg3
= (int) 0 ;
24238 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24239 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24240 wxMetaFileDC
*result
= 0 ;
24241 bool temp1
= false ;
24246 bool temp4
= false ;
24247 PyObject
* obj0
= 0 ;
24248 PyObject
* obj1
= 0 ;
24249 PyObject
* obj2
= 0 ;
24250 PyObject
* obj3
= 0 ;
24251 char * kwnames
[] = {
24252 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
24255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24258 arg1
= wxString_in_helper(obj0
);
24259 if (arg1
== NULL
) SWIG_fail
;
24264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24265 if (!SWIG_IsOK(ecode2
)) {
24266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
24268 arg2
= static_cast< int >(val2
);
24271 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24272 if (!SWIG_IsOK(ecode3
)) {
24273 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
24275 arg3
= static_cast< int >(val3
);
24279 arg4
= wxString_in_helper(obj3
);
24280 if (arg4
== NULL
) SWIG_fail
;
24285 if (!wxPyCheckForApp()) SWIG_fail
;
24286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24287 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
24288 wxPyEndAllowThreads(__tstate
);
24289 if (PyErr_Occurred()) SWIG_fail
;
24291 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
24314 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24315 PyObject
*resultobj
= 0;
24316 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
24317 wxMetaFile
*result
= 0 ;
24320 PyObject
*swig_obj
[1] ;
24322 if (!args
) SWIG_fail
;
24323 swig_obj
[0] = args
;
24324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
24325 if (!SWIG_IsOK(res1
)) {
24326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
24328 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
24330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24331 result
= (wxMetaFile
*)(arg1
)->Close();
24332 wxPyEndAllowThreads(__tstate
);
24333 if (PyErr_Occurred()) SWIG_fail
;
24335 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24342 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24344 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24345 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
24346 return SWIG_Py_Void();
24349 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24350 return SWIG_Python_InitShadowInstance(args
);
24353 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24354 PyObject
*resultobj
= 0;
24355 wxPrintData
*arg1
= 0 ;
24356 wxPrinterDC
*result
= 0 ;
24359 PyObject
* obj0
= 0 ;
24360 char * kwnames
[] = {
24361 (char *) "printData", NULL
24364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
24365 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24366 if (!SWIG_IsOK(res1
)) {
24367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24370 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24372 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24374 if (!wxPyCheckForApp()) SWIG_fail
;
24375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24376 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
24377 wxPyEndAllowThreads(__tstate
);
24378 if (PyErr_Occurred()) SWIG_fail
;
24380 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
24387 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24389 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24390 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
24391 return SWIG_Py_Void();
24394 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24395 return SWIG_Python_InitShadowInstance(args
);
24398 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24399 PyObject
*resultobj
= 0;
24400 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24403 PyObject
*swig_obj
[1] ;
24405 if (!args
) SWIG_fail
;
24406 swig_obj
[0] = args
;
24407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
24408 if (!SWIG_IsOK(res1
)) {
24409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24411 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24415 if (PyErr_Occurred()) SWIG_fail
;
24417 resultobj
= SWIG_Py_Void();
24424 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24425 PyObject
*resultobj
= 0;
24426 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24435 PyObject
* obj0
= 0 ;
24436 PyObject
* obj1
= 0 ;
24437 PyObject
* obj2
= 0 ;
24438 char * kwnames
[] = {
24439 (char *) "self",(char *) "x",(char *) "y", NULL
24442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_MoveToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24444 if (!SWIG_IsOK(res1
)) {
24445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24447 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24448 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24449 if (!SWIG_IsOK(ecode2
)) {
24450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24452 arg2
= static_cast< wxDouble
>(val2
);
24453 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24454 if (!SWIG_IsOK(ecode3
)) {
24455 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24457 arg3
= static_cast< wxDouble
>(val3
);
24459 (arg1
)->MoveToPoint(arg2
,arg3
);
24460 if (PyErr_Occurred()) SWIG_fail
;
24462 resultobj
= SWIG_Py_Void();
24469 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24470 PyObject
*resultobj
= 0;
24471 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24480 PyObject
* obj0
= 0 ;
24481 PyObject
* obj1
= 0 ;
24482 PyObject
* obj2
= 0 ;
24483 char * kwnames
[] = {
24484 (char *) "self",(char *) "x",(char *) "y", NULL
24487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_AddLineToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24489 if (!SWIG_IsOK(res1
)) {
24490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24492 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24493 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24494 if (!SWIG_IsOK(ecode2
)) {
24495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24497 arg2
= static_cast< wxDouble
>(val2
);
24498 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24499 if (!SWIG_IsOK(ecode3
)) {
24500 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24502 arg3
= static_cast< wxDouble
>(val3
);
24504 (arg1
)->AddLineToPoint(arg2
,arg3
);
24505 if (PyErr_Occurred()) SWIG_fail
;
24507 resultobj
= SWIG_Py_Void();
24514 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24515 PyObject
*resultobj
= 0;
24516 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24537 PyObject
* obj0
= 0 ;
24538 PyObject
* obj1
= 0 ;
24539 PyObject
* obj2
= 0 ;
24540 PyObject
* obj3
= 0 ;
24541 PyObject
* obj4
= 0 ;
24542 PyObject
* obj5
= 0 ;
24543 PyObject
* obj6
= 0 ;
24544 char * kwnames
[] = {
24545 (char *) "self",(char *) "cx1",(char *) "cy1",(char *) "cx2",(char *) "cy2",(char *) "x",(char *) "y", NULL
24548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24550 if (!SWIG_IsOK(res1
)) {
24551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24553 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24554 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24555 if (!SWIG_IsOK(ecode2
)) {
24556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24558 arg2
= static_cast< wxDouble
>(val2
);
24559 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24560 if (!SWIG_IsOK(ecode3
)) {
24561 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24563 arg3
= static_cast< wxDouble
>(val3
);
24564 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24565 if (!SWIG_IsOK(ecode4
)) {
24566 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
24568 arg4
= static_cast< wxDouble
>(val4
);
24569 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24570 if (!SWIG_IsOK(ecode5
)) {
24571 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
24573 arg5
= static_cast< wxDouble
>(val5
);
24574 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
24575 if (!SWIG_IsOK(ecode6
)) {
24576 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
24578 arg6
= static_cast< wxDouble
>(val6
);
24579 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
24580 if (!SWIG_IsOK(ecode7
)) {
24581 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
24583 arg7
= static_cast< wxDouble
>(val7
);
24585 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24586 if (PyErr_Occurred()) SWIG_fail
;
24588 resultobj
= SWIG_Py_Void();
24595 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24596 PyObject
*resultobj
= 0;
24597 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24600 PyObject
*swig_obj
[1] ;
24602 if (!args
) SWIG_fail
;
24603 swig_obj
[0] = args
;
24604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24605 if (!SWIG_IsOK(res1
)) {
24606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24608 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24610 (arg1
)->CloseSubpath();
24611 if (PyErr_Occurred()) SWIG_fail
;
24613 resultobj
= SWIG_Py_Void();
24620 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24621 PyObject
*resultobj
= 0;
24622 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24626 PyObject
*swig_obj
[1] ;
24628 if (!args
) SWIG_fail
;
24629 swig_obj
[0] = args
;
24630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24631 if (!SWIG_IsOK(res1
)) {
24632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24634 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24636 result
= (arg1
)->GetCurrentPoint();
24637 if (PyErr_Occurred()) SWIG_fail
;
24639 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
24646 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24647 PyObject
*resultobj
= 0;
24648 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24669 PyObject
* obj0
= 0 ;
24670 PyObject
* obj1
= 0 ;
24671 PyObject
* obj2
= 0 ;
24672 PyObject
* obj3
= 0 ;
24673 PyObject
* obj4
= 0 ;
24674 PyObject
* obj5
= 0 ;
24675 PyObject
* obj6
= 0 ;
24676 char * kwnames
[] = {
24677 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "startAngle",(char *) "endAngle",(char *) "clockwise", NULL
24680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24682 if (!SWIG_IsOK(res1
)) {
24683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24685 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24686 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24687 if (!SWIG_IsOK(ecode2
)) {
24688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
24690 arg2
= static_cast< wxDouble
>(val2
);
24691 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24692 if (!SWIG_IsOK(ecode3
)) {
24693 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
24695 arg3
= static_cast< wxDouble
>(val3
);
24696 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24697 if (!SWIG_IsOK(ecode4
)) {
24698 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
24700 arg4
= static_cast< wxDouble
>(val4
);
24701 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24702 if (!SWIG_IsOK(ecode5
)) {
24703 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
24705 arg5
= static_cast< wxDouble
>(val5
);
24706 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
24707 if (!SWIG_IsOK(ecode6
)) {
24708 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
24710 arg6
= static_cast< wxDouble
>(val6
);
24711 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
24712 if (!SWIG_IsOK(ecode7
)) {
24713 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
24715 arg7
= static_cast< bool >(val7
);
24717 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24718 if (PyErr_Occurred()) SWIG_fail
;
24720 resultobj
= SWIG_Py_Void();
24727 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24728 PyObject
*resultobj
= 0;
24729 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24744 PyObject
* obj0
= 0 ;
24745 PyObject
* obj1
= 0 ;
24746 PyObject
* obj2
= 0 ;
24747 PyObject
* obj3
= 0 ;
24748 PyObject
* obj4
= 0 ;
24749 char * kwnames
[] = {
24750 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
24753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24755 if (!SWIG_IsOK(res1
)) {
24756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24758 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24759 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24760 if (!SWIG_IsOK(ecode2
)) {
24761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24763 arg2
= static_cast< wxDouble
>(val2
);
24764 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24765 if (!SWIG_IsOK(ecode3
)) {
24766 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24768 arg3
= static_cast< wxDouble
>(val3
);
24769 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24770 if (!SWIG_IsOK(ecode4
)) {
24771 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
24773 arg4
= static_cast< wxDouble
>(val4
);
24774 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24775 if (!SWIG_IsOK(ecode5
)) {
24776 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
24778 arg5
= static_cast< wxDouble
>(val5
);
24780 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
24781 if (PyErr_Occurred()) SWIG_fail
;
24783 resultobj
= SWIG_Py_Void();
24790 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24791 PyObject
*resultobj
= 0;
24792 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24807 PyObject
* obj0
= 0 ;
24808 PyObject
* obj1
= 0 ;
24809 PyObject
* obj2
= 0 ;
24810 PyObject
* obj3
= 0 ;
24811 PyObject
* obj4
= 0 ;
24812 char * kwnames
[] = {
24813 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24818 if (!SWIG_IsOK(res1
)) {
24819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24821 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24822 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24823 if (!SWIG_IsOK(ecode2
)) {
24824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
24826 arg2
= static_cast< wxDouble
>(val2
);
24827 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24828 if (!SWIG_IsOK(ecode3
)) {
24829 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
24831 arg3
= static_cast< wxDouble
>(val3
);
24832 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24833 if (!SWIG_IsOK(ecode4
)) {
24834 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
24836 arg4
= static_cast< wxDouble
>(val4
);
24837 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24838 if (!SWIG_IsOK(ecode5
)) {
24839 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
24841 arg5
= static_cast< wxDouble
>(val5
);
24843 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
24844 if (PyErr_Occurred()) SWIG_fail
;
24846 resultobj
= SWIG_Py_Void();
24853 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24854 PyObject
*resultobj
= 0;
24855 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24867 PyObject
* obj0
= 0 ;
24868 PyObject
* obj1
= 0 ;
24869 PyObject
* obj2
= 0 ;
24870 PyObject
* obj3
= 0 ;
24871 char * kwnames
[] = {
24872 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
24875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24877 if (!SWIG_IsOK(res1
)) {
24878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24880 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24881 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24882 if (!SWIG_IsOK(ecode2
)) {
24883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
24885 arg2
= static_cast< wxDouble
>(val2
);
24886 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24887 if (!SWIG_IsOK(ecode3
)) {
24888 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
24890 arg3
= static_cast< wxDouble
>(val3
);
24891 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24892 if (!SWIG_IsOK(ecode4
)) {
24893 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
24895 arg4
= static_cast< wxDouble
>(val4
);
24897 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
24898 if (PyErr_Occurred()) SWIG_fail
;
24900 resultobj
= SWIG_Py_Void();
24907 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24908 PyObject
*resultobj
= 0;
24909 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24927 PyObject
* obj0
= 0 ;
24928 PyObject
* obj1
= 0 ;
24929 PyObject
* obj2
= 0 ;
24930 PyObject
* obj3
= 0 ;
24931 PyObject
* obj4
= 0 ;
24932 PyObject
* obj5
= 0 ;
24933 char * kwnames
[] = {
24934 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
24937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
24938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24939 if (!SWIG_IsOK(res1
)) {
24940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24942 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24943 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24944 if (!SWIG_IsOK(ecode2
)) {
24945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24947 arg2
= static_cast< wxDouble
>(val2
);
24948 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24949 if (!SWIG_IsOK(ecode3
)) {
24950 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24952 arg3
= static_cast< wxDouble
>(val3
);
24953 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24954 if (!SWIG_IsOK(ecode4
)) {
24955 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
24957 arg4
= static_cast< wxDouble
>(val4
);
24958 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24959 if (!SWIG_IsOK(ecode5
)) {
24960 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
24962 arg5
= static_cast< wxDouble
>(val5
);
24963 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
24964 if (!SWIG_IsOK(ecode6
)) {
24965 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
24967 arg6
= static_cast< wxDouble
>(val6
);
24969 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
24970 if (PyErr_Occurred()) SWIG_fail
;
24972 resultobj
= SWIG_Py_Void();
24979 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24981 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24982 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
24983 return SWIG_Py_Void();
24986 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24987 PyObject
*resultobj
= 0;
24988 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
24991 PyObject
*swig_obj
[1] ;
24993 if (!args
) SWIG_fail
;
24994 swig_obj
[0] = args
;
24995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
24996 if (!SWIG_IsOK(res1
)) {
24997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
24999 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25003 if (PyErr_Occurred()) SWIG_fail
;
25005 resultobj
= SWIG_Py_Void();
25012 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25013 PyObject
*resultobj
= 0;
25014 wxWindowDC
*arg1
= 0 ;
25015 wxGraphicsContext
*result
= 0 ;
25018 PyObject
* obj0
= 0 ;
25019 char * kwnames
[] = {
25020 (char *) "dc", NULL
25023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_Create",kwnames
,&obj0
)) SWIG_fail
;
25024 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
25025 if (!SWIG_IsOK(res1
)) {
25026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
25029 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
25031 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
25033 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
25034 if (PyErr_Occurred()) SWIG_fail
;
25036 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25043 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25044 PyObject
*resultobj
= 0;
25045 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25046 wxGraphicsPath
*result
= 0 ;
25049 PyObject
*swig_obj
[1] ;
25051 if (!args
) SWIG_fail
;
25052 swig_obj
[0] = args
;
25053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25054 if (!SWIG_IsOK(res1
)) {
25055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25057 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25059 result
= (wxGraphicsPath
*)(arg1
)->CreatePath();
25060 if (PyErr_Occurred()) SWIG_fail
;
25062 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25069 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25070 PyObject
*resultobj
= 0;
25071 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25074 PyObject
*swig_obj
[1] ;
25076 if (!args
) SWIG_fail
;
25077 swig_obj
[0] = args
;
25078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25079 if (!SWIG_IsOK(res1
)) {
25080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25082 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25084 (arg1
)->PushState();
25085 if (PyErr_Occurred()) SWIG_fail
;
25087 resultobj
= SWIG_Py_Void();
25094 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25095 PyObject
*resultobj
= 0;
25096 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25099 PyObject
*swig_obj
[1] ;
25101 if (!args
) SWIG_fail
;
25102 swig_obj
[0] = args
;
25103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25104 if (!SWIG_IsOK(res1
)) {
25105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25107 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25109 (arg1
)->PopState();
25110 if (PyErr_Occurred()) SWIG_fail
;
25112 resultobj
= SWIG_Py_Void();
25119 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25120 PyObject
*resultobj
= 0;
25121 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25122 wxRegion
*arg2
= 0 ;
25127 PyObject
* obj0
= 0 ;
25128 PyObject
* obj1
= 0 ;
25129 char * kwnames
[] = {
25130 (char *) "self",(char *) "region", NULL
25133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25135 if (!SWIG_IsOK(res1
)) {
25136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25138 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25139 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
25140 if (!SWIG_IsOK(res2
)) {
25141 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxRegion const &""'");
25144 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxRegion const &""'");
25146 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
25148 (arg1
)->Clip((wxRegion
const &)*arg2
);
25149 if (PyErr_Occurred()) SWIG_fail
;
25151 resultobj
= SWIG_Py_Void();
25158 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25159 PyObject
*resultobj
= 0;
25160 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25169 PyObject
* obj0
= 0 ;
25170 PyObject
* obj1
= 0 ;
25171 PyObject
* obj2
= 0 ;
25172 char * kwnames
[] = {
25173 (char *) "self",(char *) "dx",(char *) "dy", NULL
25176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25178 if (!SWIG_IsOK(res1
)) {
25179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25181 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25182 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25183 if (!SWIG_IsOK(ecode2
)) {
25184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
25186 arg2
= static_cast< wxDouble
>(val2
);
25187 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25188 if (!SWIG_IsOK(ecode3
)) {
25189 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
25191 arg3
= static_cast< wxDouble
>(val3
);
25193 (arg1
)->Translate(arg2
,arg3
);
25194 if (PyErr_Occurred()) SWIG_fail
;
25196 resultobj
= SWIG_Py_Void();
25203 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25204 PyObject
*resultobj
= 0;
25205 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25214 PyObject
* obj0
= 0 ;
25215 PyObject
* obj1
= 0 ;
25216 PyObject
* obj2
= 0 ;
25217 char * kwnames
[] = {
25218 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
25221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25223 if (!SWIG_IsOK(res1
)) {
25224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25226 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25227 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25228 if (!SWIG_IsOK(ecode2
)) {
25229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
25231 arg2
= static_cast< wxDouble
>(val2
);
25232 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25233 if (!SWIG_IsOK(ecode3
)) {
25234 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
25236 arg3
= static_cast< wxDouble
>(val3
);
25238 (arg1
)->Scale(arg2
,arg3
);
25239 if (PyErr_Occurred()) SWIG_fail
;
25241 resultobj
= SWIG_Py_Void();
25248 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25249 PyObject
*resultobj
= 0;
25250 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25256 PyObject
* obj0
= 0 ;
25257 PyObject
* obj1
= 0 ;
25258 char * kwnames
[] = {
25259 (char *) "self",(char *) "angle", NULL
25262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25264 if (!SWIG_IsOK(res1
)) {
25265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25267 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25268 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25269 if (!SWIG_IsOK(ecode2
)) {
25270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
25272 arg2
= static_cast< wxDouble
>(val2
);
25274 (arg1
)->Rotate(arg2
);
25275 if (PyErr_Occurred()) SWIG_fail
;
25277 resultobj
= SWIG_Py_Void();
25284 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25285 PyObject
*resultobj
= 0;
25286 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25292 PyObject
* obj0
= 0 ;
25293 PyObject
* obj1
= 0 ;
25294 char * kwnames
[] = {
25295 (char *) "self",(char *) "pen", NULL
25298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25300 if (!SWIG_IsOK(res1
)) {
25301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25303 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25304 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
25305 if (!SWIG_IsOK(res2
)) {
25306 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
25309 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
25311 arg2
= reinterpret_cast< wxPen
* >(argp2
);
25313 (arg1
)->SetPen((wxPen
const &)*arg2
);
25314 if (PyErr_Occurred()) SWIG_fail
;
25316 resultobj
= SWIG_Py_Void();
25323 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25324 PyObject
*resultobj
= 0;
25325 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25326 wxBrush
*arg2
= 0 ;
25331 PyObject
* obj0
= 0 ;
25332 PyObject
* obj1
= 0 ;
25333 char * kwnames
[] = {
25334 (char *) "self",(char *) "brush", NULL
25337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25339 if (!SWIG_IsOK(res1
)) {
25340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25342 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25343 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
25344 if (!SWIG_IsOK(res2
)) {
25345 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
25348 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
25350 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
25352 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
25353 if (PyErr_Occurred()) SWIG_fail
;
25355 resultobj
= SWIG_Py_Void();
25362 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25363 PyObject
*resultobj
= 0;
25364 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25369 wxColour
*arg6
= 0 ;
25370 wxColour
*arg7
= 0 ;
25383 PyObject
* obj0
= 0 ;
25384 PyObject
* obj1
= 0 ;
25385 PyObject
* obj2
= 0 ;
25386 PyObject
* obj3
= 0 ;
25387 PyObject
* obj4
= 0 ;
25388 PyObject
* obj5
= 0 ;
25389 PyObject
* obj6
= 0 ;
25390 char * kwnames
[] = {
25391 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
25394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_SetLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25396 if (!SWIG_IsOK(res1
)) {
25397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25399 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25400 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25401 if (!SWIG_IsOK(ecode2
)) {
25402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
25404 arg2
= static_cast< wxDouble
>(val2
);
25405 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25406 if (!SWIG_IsOK(ecode3
)) {
25407 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
25409 arg3
= static_cast< wxDouble
>(val3
);
25410 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25411 if (!SWIG_IsOK(ecode4
)) {
25412 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
25414 arg4
= static_cast< wxDouble
>(val4
);
25415 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25416 if (!SWIG_IsOK(ecode5
)) {
25417 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
25419 arg5
= static_cast< wxDouble
>(val5
);
25422 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
25426 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
25429 (arg1
)->SetLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
25430 if (PyErr_Occurred()) SWIG_fail
;
25432 resultobj
= SWIG_Py_Void();
25439 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25440 PyObject
*resultobj
= 0;
25441 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25447 wxColour
*arg7
= 0 ;
25448 wxColour
*arg8
= 0 ;
25463 PyObject
* obj0
= 0 ;
25464 PyObject
* obj1
= 0 ;
25465 PyObject
* obj2
= 0 ;
25466 PyObject
* obj3
= 0 ;
25467 PyObject
* obj4
= 0 ;
25468 PyObject
* obj5
= 0 ;
25469 PyObject
* obj6
= 0 ;
25470 PyObject
* obj7
= 0 ;
25471 char * kwnames
[] = {
25472 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
25475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_SetRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
25476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25477 if (!SWIG_IsOK(res1
)) {
25478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25480 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25481 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25482 if (!SWIG_IsOK(ecode2
)) {
25483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
25485 arg2
= static_cast< wxDouble
>(val2
);
25486 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25487 if (!SWIG_IsOK(ecode3
)) {
25488 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
25490 arg3
= static_cast< wxDouble
>(val3
);
25491 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25492 if (!SWIG_IsOK(ecode4
)) {
25493 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
25495 arg4
= static_cast< wxDouble
>(val4
);
25496 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25497 if (!SWIG_IsOK(ecode5
)) {
25498 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
25500 arg5
= static_cast< wxDouble
>(val5
);
25501 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25502 if (!SWIG_IsOK(ecode6
)) {
25503 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
25505 arg6
= static_cast< wxDouble
>(val6
);
25508 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
25512 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
25515 (arg1
)->SetRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
25516 if (PyErr_Occurred()) SWIG_fail
;
25518 resultobj
= SWIG_Py_Void();
25525 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25526 PyObject
*resultobj
= 0;
25527 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25533 PyObject
* obj0
= 0 ;
25534 PyObject
* obj1
= 0 ;
25535 char * kwnames
[] = {
25536 (char *) "self",(char *) "font", NULL
25539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25541 if (!SWIG_IsOK(res1
)) {
25542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25544 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25545 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25546 if (!SWIG_IsOK(res2
)) {
25547 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25550 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25552 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25554 (arg1
)->SetFont((wxFont
const &)*arg2
);
25555 if (PyErr_Occurred()) SWIG_fail
;
25557 resultobj
= SWIG_Py_Void();
25564 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTextColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25565 PyObject
*resultobj
= 0;
25566 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25567 wxColour
*arg2
= 0 ;
25571 PyObject
* obj0
= 0 ;
25572 PyObject
* obj1
= 0 ;
25573 char * kwnames
[] = {
25574 (char *) "self",(char *) "col", NULL
25577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTextColor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25579 if (!SWIG_IsOK(res1
)) {
25580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTextColor" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25582 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25585 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25588 (arg1
)->SetTextColor((wxColour
const &)*arg2
);
25589 if (PyErr_Occurred()) SWIG_fail
;
25591 resultobj
= SWIG_Py_Void();
25598 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25599 PyObject
*resultobj
= 0;
25600 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25601 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
25606 PyObject
* obj0
= 0 ;
25607 PyObject
* obj1
= 0 ;
25608 char * kwnames
[] = {
25609 (char *) "self",(char *) "path", NULL
25612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25614 if (!SWIG_IsOK(res1
)) {
25615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25617 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25618 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25619 if (!SWIG_IsOK(res2
)) {
25620 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
25622 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
25624 (arg1
)->StrokePath((wxGraphicsPath
const *)arg2
);
25625 if (PyErr_Occurred()) SWIG_fail
;
25627 resultobj
= SWIG_Py_Void();
25634 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25635 PyObject
*resultobj
= 0;
25636 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25637 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
25638 int arg3
= (int) wxWINDING_RULE
;
25645 PyObject
* obj0
= 0 ;
25646 PyObject
* obj1
= 0 ;
25647 PyObject
* obj2
= 0 ;
25648 char * kwnames
[] = {
25649 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
25652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25654 if (!SWIG_IsOK(res1
)) {
25655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25657 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25658 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25659 if (!SWIG_IsOK(res2
)) {
25660 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
25662 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
25664 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25665 if (!SWIG_IsOK(ecode3
)) {
25666 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
25668 arg3
= static_cast< int >(val3
);
25671 (arg1
)->FillPath((wxGraphicsPath
const *)arg2
,arg3
);
25672 if (PyErr_Occurred()) SWIG_fail
;
25674 resultobj
= SWIG_Py_Void();
25681 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25682 PyObject
*resultobj
= 0;
25683 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25684 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
25685 int arg3
= (int) wxWINDING_RULE
;
25692 PyObject
* obj0
= 0 ;
25693 PyObject
* obj1
= 0 ;
25694 PyObject
* obj2
= 0 ;
25695 char * kwnames
[] = {
25696 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
25699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25701 if (!SWIG_IsOK(res1
)) {
25702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25704 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25705 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25706 if (!SWIG_IsOK(res2
)) {
25707 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
25709 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
25711 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25712 if (!SWIG_IsOK(ecode3
)) {
25713 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
25715 arg3
= static_cast< int >(val3
);
25718 (arg1
)->DrawPath((wxGraphicsPath
const *)arg2
,arg3
);
25719 if (PyErr_Occurred()) SWIG_fail
;
25721 resultobj
= SWIG_Py_Void();
25728 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25729 PyObject
*resultobj
= 0;
25730 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25731 wxString
*arg2
= 0 ;
25736 bool temp2
= false ;
25741 PyObject
* obj0
= 0 ;
25742 PyObject
* obj1
= 0 ;
25743 PyObject
* obj2
= 0 ;
25744 PyObject
* obj3
= 0 ;
25745 char * kwnames
[] = {
25746 (char *) "self",(char *) "str",(char *) "x",(char *) "y", NULL
25749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25751 if (!SWIG_IsOK(res1
)) {
25752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25754 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25756 arg2
= wxString_in_helper(obj1
);
25757 if (arg2
== NULL
) SWIG_fail
;
25760 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25761 if (!SWIG_IsOK(ecode3
)) {
25762 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
25764 arg3
= static_cast< wxDouble
>(val3
);
25765 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25766 if (!SWIG_IsOK(ecode4
)) {
25767 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
25769 arg4
= static_cast< wxDouble
>(val4
);
25771 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
25772 if (PyErr_Occurred()) SWIG_fail
;
25774 resultobj
= SWIG_Py_Void();
25789 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25790 PyObject
*resultobj
= 0;
25791 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25792 wxString
*arg2
= 0 ;
25798 bool temp2
= false ;
25805 PyObject
* obj0
= 0 ;
25806 PyObject
* obj1
= 0 ;
25807 PyObject
* obj2
= 0 ;
25808 PyObject
* obj3
= 0 ;
25809 PyObject
* obj4
= 0 ;
25810 char * kwnames
[] = {
25811 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle", NULL
25814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25816 if (!SWIG_IsOK(res1
)) {
25817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25819 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25821 arg2
= wxString_in_helper(obj1
);
25822 if (arg2
== NULL
) SWIG_fail
;
25825 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25826 if (!SWIG_IsOK(ecode3
)) {
25827 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
25829 arg3
= static_cast< wxDouble
>(val3
);
25830 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25831 if (!SWIG_IsOK(ecode4
)) {
25832 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
25834 arg4
= static_cast< wxDouble
>(val4
);
25835 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25836 if (!SWIG_IsOK(ecode5
)) {
25837 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
25839 arg5
= static_cast< wxDouble
>(val5
);
25841 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25842 if (PyErr_Occurred()) SWIG_fail
;
25844 resultobj
= SWIG_Py_Void();
25859 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25860 PyObject
*resultobj
= 0;
25861 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25862 wxString
*arg2
= 0 ;
25863 wxDouble
*arg3
= (wxDouble
*) 0 ;
25864 wxDouble
*arg4
= (wxDouble
*) 0 ;
25865 wxDouble
*arg5
= (wxDouble
*) 0 ;
25866 wxDouble
*arg6
= (wxDouble
*) 0 ;
25869 bool temp2
= false ;
25871 int res3
= SWIG_TMPOBJ
;
25873 int res4
= SWIG_TMPOBJ
;
25875 int res5
= SWIG_TMPOBJ
;
25877 int res6
= SWIG_TMPOBJ
;
25878 PyObject
* obj0
= 0 ;
25879 PyObject
* obj1
= 0 ;
25880 char * kwnames
[] = {
25881 (char *) "self",(char *) "text", NULL
25888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25890 if (!SWIG_IsOK(res1
)) {
25891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
25893 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25895 arg2
= wxString_in_helper(obj1
);
25896 if (arg2
== NULL
) SWIG_fail
;
25900 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
25901 if (PyErr_Occurred()) SWIG_fail
;
25903 resultobj
= SWIG_Py_Void();
25904 if (SWIG_IsTmpObj(res3
)) {
25905 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
25907 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25908 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
25910 if (SWIG_IsTmpObj(res4
)) {
25911 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
25913 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25914 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
25916 if (SWIG_IsTmpObj(res5
)) {
25917 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
25919 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25920 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
25922 if (SWIG_IsTmpObj(res6
)) {
25923 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
25925 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25926 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
25942 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25943 PyObject
*resultobj
= 0;
25944 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25945 wxString
*arg2
= 0 ;
25946 wxArrayDouble result
;
25949 bool temp2
= false ;
25950 PyObject
* obj0
= 0 ;
25951 PyObject
* obj1
= 0 ;
25952 char * kwnames
[] = {
25953 (char *) "self",(char *) "text", NULL
25956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25958 if (!SWIG_IsOK(res1
)) {
25959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25961 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25963 arg2
= wxString_in_helper(obj1
);
25964 if (arg2
== NULL
) SWIG_fail
;
25968 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
25969 if (PyErr_Occurred()) SWIG_fail
;
25972 resultobj
= wxArrayDouble2PyList_helper(result
);
25988 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25989 PyObject
*resultobj
= 0;
25990 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25991 wxBitmap
*arg2
= 0 ;
26008 PyObject
* obj0
= 0 ;
26009 PyObject
* obj1
= 0 ;
26010 PyObject
* obj2
= 0 ;
26011 PyObject
* obj3
= 0 ;
26012 PyObject
* obj4
= 0 ;
26013 PyObject
* obj5
= 0 ;
26014 char * kwnames
[] = {
26015 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26020 if (!SWIG_IsOK(res1
)) {
26021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26023 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26024 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26025 if (!SWIG_IsOK(res2
)) {
26026 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26029 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26031 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
26032 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26033 if (!SWIG_IsOK(ecode3
)) {
26034 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
26036 arg3
= static_cast< wxDouble
>(val3
);
26037 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26038 if (!SWIG_IsOK(ecode4
)) {
26039 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
26041 arg4
= static_cast< wxDouble
>(val4
);
26042 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26043 if (!SWIG_IsOK(ecode5
)) {
26044 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
26046 arg5
= static_cast< wxDouble
>(val5
);
26047 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26048 if (!SWIG_IsOK(ecode6
)) {
26049 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
26051 arg6
= static_cast< wxDouble
>(val6
);
26053 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26054 if (PyErr_Occurred()) SWIG_fail
;
26056 resultobj
= SWIG_Py_Void();
26063 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26064 PyObject
*resultobj
= 0;
26065 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26083 PyObject
* obj0
= 0 ;
26084 PyObject
* obj1
= 0 ;
26085 PyObject
* obj2
= 0 ;
26086 PyObject
* obj3
= 0 ;
26087 PyObject
* obj4
= 0 ;
26088 PyObject
* obj5
= 0 ;
26089 char * kwnames
[] = {
26090 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26095 if (!SWIG_IsOK(res1
)) {
26096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26098 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26099 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
26100 if (!SWIG_IsOK(res2
)) {
26101 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
26104 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
26106 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
26107 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26108 if (!SWIG_IsOK(ecode3
)) {
26109 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
26111 arg3
= static_cast< wxDouble
>(val3
);
26112 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26113 if (!SWIG_IsOK(ecode4
)) {
26114 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
26116 arg4
= static_cast< wxDouble
>(val4
);
26117 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26118 if (!SWIG_IsOK(ecode5
)) {
26119 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
26121 arg5
= static_cast< wxDouble
>(val5
);
26122 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26123 if (!SWIG_IsOK(ecode6
)) {
26124 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
26126 arg6
= static_cast< wxDouble
>(val6
);
26128 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26129 if (PyErr_Occurred()) SWIG_fail
;
26131 resultobj
= SWIG_Py_Void();
26138 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26139 PyObject
*resultobj
= 0;
26140 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26155 PyObject
* obj0
= 0 ;
26156 PyObject
* obj1
= 0 ;
26157 PyObject
* obj2
= 0 ;
26158 PyObject
* obj3
= 0 ;
26159 PyObject
* obj4
= 0 ;
26160 char * kwnames
[] = {
26161 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
26164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26166 if (!SWIG_IsOK(res1
)) {
26167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26169 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26170 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26171 if (!SWIG_IsOK(ecode2
)) {
26172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
26174 arg2
= static_cast< wxDouble
>(val2
);
26175 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26176 if (!SWIG_IsOK(ecode3
)) {
26177 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
26179 arg3
= static_cast< wxDouble
>(val3
);
26180 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26181 if (!SWIG_IsOK(ecode4
)) {
26182 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
26184 arg4
= static_cast< wxDouble
>(val4
);
26185 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26186 if (!SWIG_IsOK(ecode5
)) {
26187 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
26189 arg5
= static_cast< wxDouble
>(val5
);
26191 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
26192 if (PyErr_Occurred()) SWIG_fail
;
26194 resultobj
= SWIG_Py_Void();
26201 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26202 PyObject
*resultobj
= 0;
26203 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26205 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
26208 PyObject
* obj0
= 0 ;
26209 PyObject
* obj1
= 0 ;
26210 char * kwnames
[] = {
26211 (char *) "self",(char *) "points", NULL
26214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26216 if (!SWIG_IsOK(res1
)) {
26217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26219 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26221 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
26222 if (arg3
== NULL
) SWIG_fail
;
26225 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
26226 if (PyErr_Occurred()) SWIG_fail
;
26228 resultobj
= SWIG_Py_Void();
26230 if (arg3
) delete [] arg3
;
26235 if (arg3
) delete [] arg3
;
26241 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26242 PyObject
*resultobj
= 0;
26243 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26244 PyObject
*arg2
= (PyObject
*) 0 ;
26245 PyObject
*arg3
= (PyObject
*) 0 ;
26248 PyObject
* obj0
= 0 ;
26249 PyObject
* obj1
= 0 ;
26250 PyObject
* obj2
= 0 ;
26251 char * kwnames
[] = {
26252 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
26255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26257 if (!SWIG_IsOK(res1
)) {
26258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26260 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26264 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
26265 if (PyErr_Occurred()) SWIG_fail
;
26267 resultobj
= SWIG_Py_Void();
26274 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26275 PyObject
*resultobj
= 0;
26276 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26278 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
26279 int arg4
= (int) wxWINDING_RULE
;
26284 PyObject
* obj0
= 0 ;
26285 PyObject
* obj1
= 0 ;
26286 PyObject
* obj2
= 0 ;
26287 char * kwnames
[] = {
26288 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
26291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26293 if (!SWIG_IsOK(res1
)) {
26294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26296 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26298 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
26299 if (arg3
== NULL
) SWIG_fail
;
26302 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
26303 if (!SWIG_IsOK(ecode4
)) {
26304 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
26306 arg4
= static_cast< int >(val4
);
26309 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
26310 if (PyErr_Occurred()) SWIG_fail
;
26312 resultobj
= SWIG_Py_Void();
26314 if (arg3
) delete [] arg3
;
26319 if (arg3
) delete [] arg3
;
26325 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26326 PyObject
*resultobj
= 0;
26327 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26342 PyObject
* obj0
= 0 ;
26343 PyObject
* obj1
= 0 ;
26344 PyObject
* obj2
= 0 ;
26345 PyObject
* obj3
= 0 ;
26346 PyObject
* obj4
= 0 ;
26347 char * kwnames
[] = {
26348 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26353 if (!SWIG_IsOK(res1
)) {
26354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26356 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26357 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26358 if (!SWIG_IsOK(ecode2
)) {
26359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26361 arg2
= static_cast< wxDouble
>(val2
);
26362 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26363 if (!SWIG_IsOK(ecode3
)) {
26364 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26366 arg3
= static_cast< wxDouble
>(val3
);
26367 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26368 if (!SWIG_IsOK(ecode4
)) {
26369 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26371 arg4
= static_cast< wxDouble
>(val4
);
26372 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26373 if (!SWIG_IsOK(ecode5
)) {
26374 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26376 arg5
= static_cast< wxDouble
>(val5
);
26378 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
26379 if (PyErr_Occurred()) SWIG_fail
;
26381 resultobj
= SWIG_Py_Void();
26388 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26389 PyObject
*resultobj
= 0;
26390 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26405 PyObject
* obj0
= 0 ;
26406 PyObject
* obj1
= 0 ;
26407 PyObject
* obj2
= 0 ;
26408 PyObject
* obj3
= 0 ;
26409 PyObject
* obj4
= 0 ;
26410 char * kwnames
[] = {
26411 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26416 if (!SWIG_IsOK(res1
)) {
26417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26419 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26420 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26421 if (!SWIG_IsOK(ecode2
)) {
26422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
26424 arg2
= static_cast< wxDouble
>(val2
);
26425 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26426 if (!SWIG_IsOK(ecode3
)) {
26427 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
26429 arg3
= static_cast< wxDouble
>(val3
);
26430 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26431 if (!SWIG_IsOK(ecode4
)) {
26432 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
26434 arg4
= static_cast< wxDouble
>(val4
);
26435 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26436 if (!SWIG_IsOK(ecode5
)) {
26437 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
26439 arg5
= static_cast< wxDouble
>(val5
);
26441 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
26442 if (PyErr_Occurred()) SWIG_fail
;
26444 resultobj
= SWIG_Py_Void();
26451 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26452 PyObject
*resultobj
= 0;
26453 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26471 PyObject
* obj0
= 0 ;
26472 PyObject
* obj1
= 0 ;
26473 PyObject
* obj2
= 0 ;
26474 PyObject
* obj3
= 0 ;
26475 PyObject
* obj4
= 0 ;
26476 PyObject
* obj5
= 0 ;
26477 char * kwnames
[] = {
26478 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
26481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26483 if (!SWIG_IsOK(res1
)) {
26484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26486 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26487 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26488 if (!SWIG_IsOK(ecode2
)) {
26489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26491 arg2
= static_cast< wxDouble
>(val2
);
26492 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26493 if (!SWIG_IsOK(ecode3
)) {
26494 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26496 arg3
= static_cast< wxDouble
>(val3
);
26497 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26498 if (!SWIG_IsOK(ecode4
)) {
26499 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26501 arg4
= static_cast< wxDouble
>(val4
);
26502 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26503 if (!SWIG_IsOK(ecode5
)) {
26504 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26506 arg5
= static_cast< wxDouble
>(val5
);
26507 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26508 if (!SWIG_IsOK(ecode6
)) {
26509 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
26511 arg6
= static_cast< wxDouble
>(val6
);
26513 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
26514 if (PyErr_Occurred()) SWIG_fail
;
26516 resultobj
= SWIG_Py_Void();
26523 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26525 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26526 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
26527 return SWIG_Py_Void();
26530 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26531 PyObject
*resultobj
= 0;
26532 wxWindowDC
*arg1
= 0 ;
26533 wxGCDC
*result
= 0 ;
26536 PyObject
* obj0
= 0 ;
26537 char * kwnames
[] = {
26538 (char *) "dc", NULL
26541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_GCDC",kwnames
,&obj0
)) SWIG_fail
;
26542 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
26543 if (!SWIG_IsOK(res1
)) {
26544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
26547 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
26549 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
26551 if (!wxPyCheckForApp()) SWIG_fail
;
26552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26553 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
26554 wxPyEndAllowThreads(__tstate
);
26555 if (PyErr_Occurred()) SWIG_fail
;
26557 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
26564 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26565 PyObject
*resultobj
= 0;
26566 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
26569 PyObject
*swig_obj
[1] ;
26571 if (!args
) SWIG_fail
;
26572 swig_obj
[0] = args
;
26573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
26574 if (!SWIG_IsOK(res1
)) {
26575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
26577 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
26581 if (PyErr_Occurred()) SWIG_fail
;
26583 resultobj
= SWIG_Py_Void();
26590 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26591 PyObject
*resultobj
= 0;
26592 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
26593 wxGraphicsContext
*result
= 0 ;
26596 PyObject
*swig_obj
[1] ;
26598 if (!args
) SWIG_fail
;
26599 swig_obj
[0] = args
;
26600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
26601 if (!SWIG_IsOK(res1
)) {
26602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
26604 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
26606 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicContext();
26607 if (PyErr_Occurred()) SWIG_fail
;
26609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26616 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26618 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26619 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
26620 return SWIG_Py_Void();
26623 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26624 return SWIG_Python_InitShadowInstance(args
);
26627 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26628 PyObject
*resultobj
= 0;
26629 wxOverlay
*result
= 0 ;
26631 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
26633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26634 result
= (wxOverlay
*)new wxOverlay();
26635 wxPyEndAllowThreads(__tstate
);
26636 if (PyErr_Occurred()) SWIG_fail
;
26638 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
26645 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26646 PyObject
*resultobj
= 0;
26647 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
26650 PyObject
*swig_obj
[1] ;
26652 if (!args
) SWIG_fail
;
26653 swig_obj
[0] = args
;
26654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
26655 if (!SWIG_IsOK(res1
)) {
26656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
26658 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
26660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26663 wxPyEndAllowThreads(__tstate
);
26664 if (PyErr_Occurred()) SWIG_fail
;
26666 resultobj
= SWIG_Py_Void();
26673 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26674 PyObject
*resultobj
= 0;
26675 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
26678 PyObject
*swig_obj
[1] ;
26680 if (!args
) SWIG_fail
;
26681 swig_obj
[0] = args
;
26682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
26683 if (!SWIG_IsOK(res1
)) {
26684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
26686 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
26688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26690 wxPyEndAllowThreads(__tstate
);
26691 if (PyErr_Occurred()) SWIG_fail
;
26693 resultobj
= SWIG_Py_Void();
26700 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26702 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26703 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
26704 return SWIG_Py_Void();
26707 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26708 return SWIG_Python_InitShadowInstance(args
);
26711 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26712 PyObject
*resultobj
= 0;
26713 wxOverlay
*arg1
= 0 ;
26714 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
26719 wxDCOverlay
*result
= 0 ;
26733 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
26734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
26735 if (!SWIG_IsOK(res1
)) {
26736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
26739 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
26741 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
26742 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
26743 if (!SWIG_IsOK(res2
)) {
26744 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
26746 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
26747 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
26748 if (!SWIG_IsOK(ecode3
)) {
26749 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
26751 arg3
= static_cast< int >(val3
);
26752 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
26753 if (!SWIG_IsOK(ecode4
)) {
26754 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
26756 arg4
= static_cast< int >(val4
);
26757 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
26758 if (!SWIG_IsOK(ecode5
)) {
26759 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
26761 arg5
= static_cast< int >(val5
);
26762 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
26763 if (!SWIG_IsOK(ecode6
)) {
26764 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
26766 arg6
= static_cast< int >(val6
);
26768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26769 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
26770 wxPyEndAllowThreads(__tstate
);
26771 if (PyErr_Occurred()) SWIG_fail
;
26773 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
26780 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26781 PyObject
*resultobj
= 0;
26782 wxOverlay
*arg1
= 0 ;
26783 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
26784 wxDCOverlay
*result
= 0 ;
26790 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
26792 if (!SWIG_IsOK(res1
)) {
26793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
26796 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
26798 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
26799 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
26800 if (!SWIG_IsOK(res2
)) {
26801 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
26803 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
26805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26806 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
26807 wxPyEndAllowThreads(__tstate
);
26808 if (PyErr_Occurred()) SWIG_fail
;
26810 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
26817 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
26821 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
26824 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
26827 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
26831 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
26836 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26837 PyObject
*resultobj
= 0;
26838 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
26841 PyObject
*swig_obj
[1] ;
26843 if (!args
) SWIG_fail
;
26844 swig_obj
[0] = args
;
26845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
26846 if (!SWIG_IsOK(res1
)) {
26847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
26849 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
26851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26854 wxPyEndAllowThreads(__tstate
);
26855 if (PyErr_Occurred()) SWIG_fail
;
26857 resultobj
= SWIG_Py_Void();
26864 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26865 PyObject
*resultobj
= 0;
26866 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
26869 PyObject
*swig_obj
[1] ;
26871 if (!args
) SWIG_fail
;
26872 swig_obj
[0] = args
;
26873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
26874 if (!SWIG_IsOK(res1
)) {
26875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
26877 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
26879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26881 wxPyEndAllowThreads(__tstate
);
26882 if (PyErr_Occurred()) SWIG_fail
;
26884 resultobj
= SWIG_Py_Void();
26891 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26893 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26894 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
26895 return SWIG_Py_Void();
26898 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26899 return SWIG_Python_InitShadowInstance(args
);
26902 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26903 PyObject
*resultobj
= 0;
26906 int arg3
= (int) true ;
26907 int arg4
= (int) 1 ;
26908 wxImageList
*result
= 0 ;
26917 PyObject
* obj0
= 0 ;
26918 PyObject
* obj1
= 0 ;
26919 PyObject
* obj2
= 0 ;
26920 PyObject
* obj3
= 0 ;
26921 char * kwnames
[] = {
26922 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
26925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26926 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26927 if (!SWIG_IsOK(ecode1
)) {
26928 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
26930 arg1
= static_cast< int >(val1
);
26931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26932 if (!SWIG_IsOK(ecode2
)) {
26933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
26935 arg2
= static_cast< int >(val2
);
26937 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26938 if (!SWIG_IsOK(ecode3
)) {
26939 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
26941 arg3
= static_cast< int >(val3
);
26944 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26945 if (!SWIG_IsOK(ecode4
)) {
26946 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
26948 arg4
= static_cast< int >(val4
);
26951 if (!wxPyCheckForApp()) SWIG_fail
;
26952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26953 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
26954 wxPyEndAllowThreads(__tstate
);
26955 if (PyErr_Occurred()) SWIG_fail
;
26958 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
26966 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26967 PyObject
*resultobj
= 0;
26968 wxImageList
*arg1
= (wxImageList
*) 0 ;
26971 PyObject
*swig_obj
[1] ;
26973 if (!args
) SWIG_fail
;
26974 swig_obj
[0] = args
;
26975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
26976 if (!SWIG_IsOK(res1
)) {
26977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
26979 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
26981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26984 wxPyEndAllowThreads(__tstate
);
26985 if (PyErr_Occurred()) SWIG_fail
;
26987 resultobj
= SWIG_Py_Void();
26994 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26995 PyObject
*resultobj
= 0;
26996 wxImageList
*arg1
= (wxImageList
*) 0 ;
26997 wxBitmap
*arg2
= 0 ;
26998 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
26999 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
27007 PyObject
* obj0
= 0 ;
27008 PyObject
* obj1
= 0 ;
27009 PyObject
* obj2
= 0 ;
27010 char * kwnames
[] = {
27011 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
27014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27016 if (!SWIG_IsOK(res1
)) {
27017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
27019 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27020 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27021 if (!SWIG_IsOK(res2
)) {
27022 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27025 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27027 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
27029 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27030 if (!SWIG_IsOK(res3
)) {
27031 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27034 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27036 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
27039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27040 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
27041 wxPyEndAllowThreads(__tstate
);
27042 if (PyErr_Occurred()) SWIG_fail
;
27044 resultobj
= SWIG_From_int(static_cast< int >(result
));
27051 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27052 PyObject
*resultobj
= 0;
27053 wxImageList
*arg1
= (wxImageList
*) 0 ;
27054 wxBitmap
*arg2
= 0 ;
27055 wxColour
*arg3
= 0 ;
27062 PyObject
* obj0
= 0 ;
27063 PyObject
* obj1
= 0 ;
27064 PyObject
* obj2
= 0 ;
27065 char * kwnames
[] = {
27066 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
27069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27071 if (!SWIG_IsOK(res1
)) {
27072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
27074 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27075 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27076 if (!SWIG_IsOK(res2
)) {
27077 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27080 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27082 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
27085 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27089 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
27090 wxPyEndAllowThreads(__tstate
);
27091 if (PyErr_Occurred()) SWIG_fail
;
27093 resultobj
= SWIG_From_int(static_cast< int >(result
));
27100 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27101 PyObject
*resultobj
= 0;
27102 wxImageList
*arg1
= (wxImageList
*) 0 ;
27109 PyObject
* obj0
= 0 ;
27110 PyObject
* obj1
= 0 ;
27111 char * kwnames
[] = {
27112 (char *) "self",(char *) "icon", NULL
27115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27117 if (!SWIG_IsOK(res1
)) {
27118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
27120 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27121 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
27122 if (!SWIG_IsOK(res2
)) {
27123 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
27126 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
27128 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
27130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27131 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
27132 wxPyEndAllowThreads(__tstate
);
27133 if (PyErr_Occurred()) SWIG_fail
;
27135 resultobj
= SWIG_From_int(static_cast< int >(result
));
27142 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27143 PyObject
*resultobj
= 0;
27144 wxImageList
*arg1
= (wxImageList
*) 0 ;
27146 SwigValueWrapper
<wxBitmap
> result
;
27151 PyObject
* obj0
= 0 ;
27152 PyObject
* obj1
= 0 ;
27153 char * kwnames
[] = {
27154 (char *) "self",(char *) "index", NULL
27157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",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_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
27162 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27163 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27164 if (!SWIG_IsOK(ecode2
)) {
27165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
27167 arg2
= static_cast< int >(val2
);
27169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27170 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
27171 wxPyEndAllowThreads(__tstate
);
27172 if (PyErr_Occurred()) SWIG_fail
;
27174 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
27181 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27182 PyObject
*resultobj
= 0;
27183 wxImageList
*arg1
= (wxImageList
*) 0 ;
27190 PyObject
* obj0
= 0 ;
27191 PyObject
* obj1
= 0 ;
27192 char * kwnames
[] = {
27193 (char *) "self",(char *) "index", NULL
27196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27198 if (!SWIG_IsOK(res1
)) {
27199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
27201 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27202 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27203 if (!SWIG_IsOK(ecode2
)) {
27204 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
27206 arg2
= static_cast< int >(val2
);
27208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27209 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
27210 wxPyEndAllowThreads(__tstate
);
27211 if (PyErr_Occurred()) SWIG_fail
;
27213 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
27220 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27221 PyObject
*resultobj
= 0;
27222 wxImageList
*arg1
= (wxImageList
*) 0 ;
27224 wxBitmap
*arg3
= 0 ;
27225 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
27226 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
27236 PyObject
* obj0
= 0 ;
27237 PyObject
* obj1
= 0 ;
27238 PyObject
* obj2
= 0 ;
27239 PyObject
* obj3
= 0 ;
27240 char * kwnames
[] = {
27241 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
27244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27246 if (!SWIG_IsOK(res1
)) {
27247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
27249 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27250 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27251 if (!SWIG_IsOK(ecode2
)) {
27252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
27254 arg2
= static_cast< int >(val2
);
27255 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27256 if (!SWIG_IsOK(res3
)) {
27257 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27260 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27262 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
27264 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27265 if (!SWIG_IsOK(res4
)) {
27266 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
27269 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
27271 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
27274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27275 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
27276 wxPyEndAllowThreads(__tstate
);
27277 if (PyErr_Occurred()) SWIG_fail
;
27280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27288 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27289 PyObject
*resultobj
= 0;
27290 wxImageList
*arg1
= (wxImageList
*) 0 ;
27295 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
27296 bool arg7
= (bool) (bool)false ;
27312 PyObject
* obj0
= 0 ;
27313 PyObject
* obj1
= 0 ;
27314 PyObject
* obj2
= 0 ;
27315 PyObject
* obj3
= 0 ;
27316 PyObject
* obj4
= 0 ;
27317 PyObject
* obj5
= 0 ;
27318 PyObject
* obj6
= 0 ;
27319 char * kwnames
[] = {
27320 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
27323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27325 if (!SWIG_IsOK(res1
)) {
27326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
27328 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27329 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27330 if (!SWIG_IsOK(ecode2
)) {
27331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
27333 arg2
= static_cast< int >(val2
);
27334 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27335 if (!SWIG_IsOK(res3
)) {
27336 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
27339 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
27341 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27342 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27343 if (!SWIG_IsOK(ecode4
)) {
27344 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
27346 arg4
= static_cast< int >(val4
);
27347 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27348 if (!SWIG_IsOK(ecode5
)) {
27349 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
27351 arg5
= static_cast< int >(val5
);
27353 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
27354 if (!SWIG_IsOK(ecode6
)) {
27355 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
27357 arg6
= static_cast< int >(val6
);
27360 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
27361 if (!SWIG_IsOK(ecode7
)) {
27362 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
27364 arg7
= static_cast< bool >(val7
);
27367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27368 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
27369 wxPyEndAllowThreads(__tstate
);
27370 if (PyErr_Occurred()) SWIG_fail
;
27373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27381 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27382 PyObject
*resultobj
= 0;
27383 wxImageList
*arg1
= (wxImageList
*) 0 ;
27387 PyObject
*swig_obj
[1] ;
27389 if (!args
) SWIG_fail
;
27390 swig_obj
[0] = args
;
27391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27392 if (!SWIG_IsOK(res1
)) {
27393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
27395 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27398 result
= (int)(arg1
)->GetImageCount();
27399 wxPyEndAllowThreads(__tstate
);
27400 if (PyErr_Occurred()) SWIG_fail
;
27402 resultobj
= SWIG_From_int(static_cast< int >(result
));
27409 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27410 PyObject
*resultobj
= 0;
27411 wxImageList
*arg1
= (wxImageList
*) 0 ;
27418 PyObject
* obj0
= 0 ;
27419 PyObject
* obj1
= 0 ;
27420 char * kwnames
[] = {
27421 (char *) "self",(char *) "index", NULL
27424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27426 if (!SWIG_IsOK(res1
)) {
27427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
27429 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27431 if (!SWIG_IsOK(ecode2
)) {
27432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
27434 arg2
= static_cast< int >(val2
);
27436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27437 result
= (bool)(arg1
)->Remove(arg2
);
27438 wxPyEndAllowThreads(__tstate
);
27439 if (PyErr_Occurred()) SWIG_fail
;
27442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27450 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27451 PyObject
*resultobj
= 0;
27452 wxImageList
*arg1
= (wxImageList
*) 0 ;
27456 PyObject
*swig_obj
[1] ;
27458 if (!args
) SWIG_fail
;
27459 swig_obj
[0] = args
;
27460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27461 if (!SWIG_IsOK(res1
)) {
27462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
27464 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27467 result
= (bool)(arg1
)->RemoveAll();
27468 wxPyEndAllowThreads(__tstate
);
27469 if (PyErr_Occurred()) SWIG_fail
;
27472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27480 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27481 PyObject
*resultobj
= 0;
27482 wxImageList
*arg1
= (wxImageList
*) 0 ;
27491 int res3
= SWIG_TMPOBJ
;
27493 int res4
= SWIG_TMPOBJ
;
27494 PyObject
* obj0
= 0 ;
27495 PyObject
* obj1
= 0 ;
27496 char * kwnames
[] = {
27497 (char *) "self",(char *) "index", NULL
27502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27504 if (!SWIG_IsOK(res1
)) {
27505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
27507 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27508 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27509 if (!SWIG_IsOK(ecode2
)) {
27510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
27512 arg2
= static_cast< int >(val2
);
27514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27515 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
27516 wxPyEndAllowThreads(__tstate
);
27517 if (PyErr_Occurred()) SWIG_fail
;
27519 resultobj
= SWIG_Py_Void();
27520 if (SWIG_IsTmpObj(res3
)) {
27521 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27523 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27524 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27526 if (SWIG_IsTmpObj(res4
)) {
27527 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
27529 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27530 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
27538 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27540 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27541 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
27542 return SWIG_Py_Void();
27545 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27546 return SWIG_Python_InitShadowInstance(args
);
27549 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27550 PyObject
*resultobj
= 0;
27551 wxStockGDI
*result
= 0 ;
27553 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
27555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27556 result
= (wxStockGDI
*)new wxStockGDI();
27557 wxPyEndAllowThreads(__tstate
);
27558 if (PyErr_Occurred()) SWIG_fail
;
27560 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
27567 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27568 PyObject
*resultobj
= 0;
27569 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
27572 PyObject
*swig_obj
[1] ;
27574 if (!args
) SWIG_fail
;
27575 swig_obj
[0] = args
;
27576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
27577 if (!SWIG_IsOK(res1
)) {
27578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
27580 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
27582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27585 wxPyEndAllowThreads(__tstate
);
27586 if (PyErr_Occurred()) SWIG_fail
;
27588 resultobj
= SWIG_Py_Void();
27595 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27596 PyObject
*resultobj
= 0;
27598 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
27600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27601 wxStockGDI::DeleteAll();
27602 wxPyEndAllowThreads(__tstate
);
27603 if (PyErr_Occurred()) SWIG_fail
;
27605 resultobj
= SWIG_Py_Void();
27612 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27613 PyObject
*resultobj
= 0;
27614 wxStockGDI
*result
= 0 ;
27616 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
27618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27620 wxStockGDI
&_result_ref
= wxStockGDI::instance();
27621 result
= (wxStockGDI
*) &_result_ref
;
27623 wxPyEndAllowThreads(__tstate
);
27624 if (PyErr_Occurred()) SWIG_fail
;
27626 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
27633 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27634 PyObject
*resultobj
= 0;
27635 wxStockGDI::Item arg1
;
27636 wxBrush
*result
= 0 ;
27639 PyObject
* obj0
= 0 ;
27640 char * kwnames
[] = {
27641 (char *) "item", NULL
27644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
27645 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27646 if (!SWIG_IsOK(ecode1
)) {
27647 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27649 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27652 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
27653 wxPyEndAllowThreads(__tstate
);
27654 if (PyErr_Occurred()) SWIG_fail
;
27656 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
27663 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27664 PyObject
*resultobj
= 0;
27665 wxStockGDI::Item arg1
;
27666 wxColour
*result
= 0 ;
27669 PyObject
* obj0
= 0 ;
27670 char * kwnames
[] = {
27671 (char *) "item", NULL
27674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
27675 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27676 if (!SWIG_IsOK(ecode1
)) {
27677 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27679 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27682 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
27683 wxPyEndAllowThreads(__tstate
);
27684 if (PyErr_Occurred()) SWIG_fail
;
27686 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
27693 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27694 PyObject
*resultobj
= 0;
27695 wxStockGDI::Item arg1
;
27696 wxCursor
*result
= 0 ;
27699 PyObject
* obj0
= 0 ;
27700 char * kwnames
[] = {
27701 (char *) "item", NULL
27704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
27705 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27706 if (!SWIG_IsOK(ecode1
)) {
27707 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27709 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27712 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
27713 wxPyEndAllowThreads(__tstate
);
27714 if (PyErr_Occurred()) SWIG_fail
;
27716 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
27723 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27724 PyObject
*resultobj
= 0;
27725 wxStockGDI::Item arg1
;
27726 wxPen
*result
= 0 ;
27729 PyObject
* obj0
= 0 ;
27730 char * kwnames
[] = {
27731 (char *) "item", NULL
27734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
27735 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27736 if (!SWIG_IsOK(ecode1
)) {
27737 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27739 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27742 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
27743 wxPyEndAllowThreads(__tstate
);
27744 if (PyErr_Occurred()) SWIG_fail
;
27746 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
27753 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27754 PyObject
*resultobj
= 0;
27755 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
27756 wxStockGDI::Item arg2
;
27757 wxFont
*result
= 0 ;
27762 PyObject
* obj0
= 0 ;
27763 PyObject
* obj1
= 0 ;
27764 char * kwnames
[] = {
27765 (char *) "self",(char *) "item", NULL
27768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
27770 if (!SWIG_IsOK(res1
)) {
27771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
27773 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
27774 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27775 if (!SWIG_IsOK(ecode2
)) {
27776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
27778 arg2
= static_cast< wxStockGDI::Item
>(val2
);
27780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27781 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
27782 wxPyEndAllowThreads(__tstate
);
27783 if (PyErr_Occurred()) SWIG_fail
;
27785 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
27792 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27794 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27795 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
27796 return SWIG_Py_Void();
27799 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27800 return SWIG_Python_InitShadowInstance(args
);
27803 SWIGINTERN
int NullBitmap_set(PyObject
*) {
27804 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
27809 SWIGINTERN PyObject
*NullBitmap_get(void) {
27810 PyObject
*pyobj
= 0;
27812 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
27817 SWIGINTERN
int NullIcon_set(PyObject
*) {
27818 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
27823 SWIGINTERN PyObject
*NullIcon_get(void) {
27824 PyObject
*pyobj
= 0;
27826 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
27831 SWIGINTERN
int NullCursor_set(PyObject
*) {
27832 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
27837 SWIGINTERN PyObject
*NullCursor_get(void) {
27838 PyObject
*pyobj
= 0;
27840 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
27845 SWIGINTERN
int NullPen_set(PyObject
*) {
27846 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
27851 SWIGINTERN PyObject
*NullPen_get(void) {
27852 PyObject
*pyobj
= 0;
27854 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
27859 SWIGINTERN
int NullBrush_set(PyObject
*) {
27860 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
27865 SWIGINTERN PyObject
*NullBrush_get(void) {
27866 PyObject
*pyobj
= 0;
27868 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
27873 SWIGINTERN
int NullPalette_set(PyObject
*) {
27874 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
27879 SWIGINTERN PyObject
*NullPalette_get(void) {
27880 PyObject
*pyobj
= 0;
27882 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
27887 SWIGINTERN
int NullFont_set(PyObject
*) {
27888 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
27893 SWIGINTERN PyObject
*NullFont_get(void) {
27894 PyObject
*pyobj
= 0;
27896 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
27901 SWIGINTERN
int NullColour_set(PyObject
*) {
27902 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
27907 SWIGINTERN PyObject
*NullColour_get(void) {
27908 PyObject
*pyobj
= 0;
27910 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
27915 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27916 PyObject
*resultobj
= 0;
27917 wxGDIObjListBase
*result
= 0 ;
27919 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
27921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27922 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
27923 wxPyEndAllowThreads(__tstate
);
27924 if (PyErr_Occurred()) SWIG_fail
;
27926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
27933 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27934 PyObject
*resultobj
= 0;
27935 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
27938 PyObject
*swig_obj
[1] ;
27940 if (!args
) SWIG_fail
;
27941 swig_obj
[0] = args
;
27942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
27943 if (!SWIG_IsOK(res1
)) {
27944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
27946 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
27948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27951 wxPyEndAllowThreads(__tstate
);
27952 if (PyErr_Occurred()) SWIG_fail
;
27954 resultobj
= SWIG_Py_Void();
27961 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27963 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27964 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
27965 return SWIG_Py_Void();
27968 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27969 return SWIG_Python_InitShadowInstance(args
);
27972 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27973 PyObject
*resultobj
= 0;
27974 wxPenList
*arg1
= (wxPenList
*) 0 ;
27975 wxColour
*arg2
= 0 ;
27978 wxPen
*result
= 0 ;
27986 PyObject
* obj0
= 0 ;
27987 PyObject
* obj1
= 0 ;
27988 PyObject
* obj2
= 0 ;
27989 PyObject
* obj3
= 0 ;
27990 char * kwnames
[] = {
27991 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
27994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
27996 if (!SWIG_IsOK(res1
)) {
27997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
27999 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
28002 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28004 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28005 if (!SWIG_IsOK(ecode3
)) {
28006 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
28008 arg3
= static_cast< int >(val3
);
28009 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28010 if (!SWIG_IsOK(ecode4
)) {
28011 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
28013 arg4
= static_cast< int >(val4
);
28015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28016 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
28017 wxPyEndAllowThreads(__tstate
);
28018 if (PyErr_Occurred()) SWIG_fail
;
28020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
28027 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28028 PyObject
*resultobj
= 0;
28029 wxPenList
*arg1
= (wxPenList
*) 0 ;
28030 wxPen
*arg2
= (wxPen
*) 0 ;
28035 PyObject
* obj0
= 0 ;
28036 PyObject
* obj1
= 0 ;
28037 char * kwnames
[] = {
28038 (char *) "self",(char *) "pen", NULL
28041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
28043 if (!SWIG_IsOK(res1
)) {
28044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
28046 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
28047 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
28048 if (!SWIG_IsOK(res2
)) {
28049 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
28051 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28054 (arg1
)->AddPen(arg2
);
28055 wxPyEndAllowThreads(__tstate
);
28056 if (PyErr_Occurred()) SWIG_fail
;
28058 resultobj
= SWIG_Py_Void();
28065 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28066 PyObject
*resultobj
= 0;
28067 wxPenList
*arg1
= (wxPenList
*) 0 ;
28068 wxPen
*arg2
= (wxPen
*) 0 ;
28073 PyObject
* obj0
= 0 ;
28074 PyObject
* obj1
= 0 ;
28075 char * kwnames
[] = {
28076 (char *) "self",(char *) "pen", NULL
28079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
28081 if (!SWIG_IsOK(res1
)) {
28082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
28084 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
28085 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
28086 if (!SWIG_IsOK(res2
)) {
28087 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
28089 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28092 (arg1
)->RemovePen(arg2
);
28093 wxPyEndAllowThreads(__tstate
);
28094 if (PyErr_Occurred()) SWIG_fail
;
28096 resultobj
= SWIG_Py_Void();
28103 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28105 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28106 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
28107 return SWIG_Py_Void();
28110 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28111 PyObject
*resultobj
= 0;
28112 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
28113 wxColour
*arg2
= 0 ;
28114 int arg3
= (int) wxSOLID
;
28115 wxBrush
*result
= 0 ;
28121 PyObject
* obj0
= 0 ;
28122 PyObject
* obj1
= 0 ;
28123 PyObject
* obj2
= 0 ;
28124 char * kwnames
[] = {
28125 (char *) "self",(char *) "colour",(char *) "style", NULL
28128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
28130 if (!SWIG_IsOK(res1
)) {
28131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
28133 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
28136 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28139 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28140 if (!SWIG_IsOK(ecode3
)) {
28141 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
28143 arg3
= static_cast< int >(val3
);
28146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28147 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
28148 wxPyEndAllowThreads(__tstate
);
28149 if (PyErr_Occurred()) SWIG_fail
;
28151 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
28158 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28159 PyObject
*resultobj
= 0;
28160 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
28161 wxBrush
*arg2
= (wxBrush
*) 0 ;
28166 PyObject
* obj0
= 0 ;
28167 PyObject
* obj1
= 0 ;
28168 char * kwnames
[] = {
28169 (char *) "self",(char *) "brush", NULL
28172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
28174 if (!SWIG_IsOK(res1
)) {
28175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
28177 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
28178 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
28179 if (!SWIG_IsOK(res2
)) {
28180 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
28182 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28185 (arg1
)->AddBrush(arg2
);
28186 wxPyEndAllowThreads(__tstate
);
28187 if (PyErr_Occurred()) SWIG_fail
;
28189 resultobj
= SWIG_Py_Void();
28196 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28197 PyObject
*resultobj
= 0;
28198 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
28199 wxBrush
*arg2
= (wxBrush
*) 0 ;
28204 PyObject
* obj0
= 0 ;
28205 PyObject
* obj1
= 0 ;
28206 char * kwnames
[] = {
28207 (char *) "self",(char *) "brush", NULL
28210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
28212 if (!SWIG_IsOK(res1
)) {
28213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
28215 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
28216 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
28217 if (!SWIG_IsOK(res2
)) {
28218 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
28220 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28223 (arg1
)->RemoveBrush(arg2
);
28224 wxPyEndAllowThreads(__tstate
);
28225 if (PyErr_Occurred()) SWIG_fail
;
28227 resultobj
= SWIG_Py_Void();
28234 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28236 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28237 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
28238 return SWIG_Py_Void();
28241 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28242 PyObject
*resultobj
= 0;
28243 wxFontList
*arg1
= (wxFontList
*) 0 ;
28248 bool arg6
= (bool) false ;
28249 wxString
const &arg7_defvalue
= wxPyEmptyString
;
28250 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28251 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
28252 wxFont
*result
= 0 ;
28265 bool temp7
= false ;
28268 PyObject
* obj0
= 0 ;
28269 PyObject
* obj1
= 0 ;
28270 PyObject
* obj2
= 0 ;
28271 PyObject
* obj3
= 0 ;
28272 PyObject
* obj4
= 0 ;
28273 PyObject
* obj5
= 0 ;
28274 PyObject
* obj6
= 0 ;
28275 PyObject
* obj7
= 0 ;
28276 char * kwnames
[] = {
28277 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
28280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
28282 if (!SWIG_IsOK(res1
)) {
28283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
28285 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
28286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28287 if (!SWIG_IsOK(ecode2
)) {
28288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
28290 arg2
= static_cast< int >(val2
);
28291 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28292 if (!SWIG_IsOK(ecode3
)) {
28293 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
28295 arg3
= static_cast< int >(val3
);
28296 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28297 if (!SWIG_IsOK(ecode4
)) {
28298 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
28300 arg4
= static_cast< int >(val4
);
28301 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28302 if (!SWIG_IsOK(ecode5
)) {
28303 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
28305 arg5
= static_cast< int >(val5
);
28307 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
28308 if (!SWIG_IsOK(ecode6
)) {
28309 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
28311 arg6
= static_cast< bool >(val6
);
28315 arg7
= wxString_in_helper(obj6
);
28316 if (arg7
== NULL
) SWIG_fail
;
28321 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
28322 if (!SWIG_IsOK(ecode8
)) {
28323 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
28325 arg8
= static_cast< wxFontEncoding
>(val8
);
28328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28329 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
28330 wxPyEndAllowThreads(__tstate
);
28331 if (PyErr_Occurred()) SWIG_fail
;
28333 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
28348 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28349 PyObject
*resultobj
= 0;
28350 wxFontList
*arg1
= (wxFontList
*) 0 ;
28351 wxFont
*arg2
= (wxFont
*) 0 ;
28356 PyObject
* obj0
= 0 ;
28357 PyObject
* obj1
= 0 ;
28358 char * kwnames
[] = {
28359 (char *) "self",(char *) "font", NULL
28362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
28364 if (!SWIG_IsOK(res1
)) {
28365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
28367 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
28368 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
28369 if (!SWIG_IsOK(res2
)) {
28370 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
28372 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28375 (arg1
)->AddFont(arg2
);
28376 wxPyEndAllowThreads(__tstate
);
28377 if (PyErr_Occurred()) SWIG_fail
;
28379 resultobj
= SWIG_Py_Void();
28386 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28387 PyObject
*resultobj
= 0;
28388 wxFontList
*arg1
= (wxFontList
*) 0 ;
28389 wxFont
*arg2
= (wxFont
*) 0 ;
28394 PyObject
* obj0
= 0 ;
28395 PyObject
* obj1
= 0 ;
28396 char * kwnames
[] = {
28397 (char *) "self",(char *) "font", NULL
28400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
28402 if (!SWIG_IsOK(res1
)) {
28403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
28405 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
28406 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
28407 if (!SWIG_IsOK(res2
)) {
28408 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
28410 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28413 (arg1
)->RemoveFont(arg2
);
28414 wxPyEndAllowThreads(__tstate
);
28415 if (PyErr_Occurred()) SWIG_fail
;
28417 resultobj
= SWIG_Py_Void();
28424 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28426 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28427 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
28428 return SWIG_Py_Void();
28431 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28432 PyObject
*resultobj
= 0;
28433 wxColourDatabase
*result
= 0 ;
28435 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
28437 if (!wxPyCheckForApp()) SWIG_fail
;
28438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28439 result
= (wxColourDatabase
*)new wxColourDatabase();
28440 wxPyEndAllowThreads(__tstate
);
28441 if (PyErr_Occurred()) SWIG_fail
;
28443 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
28450 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28451 PyObject
*resultobj
= 0;
28452 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28455 PyObject
*swig_obj
[1] ;
28457 if (!args
) SWIG_fail
;
28458 swig_obj
[0] = args
;
28459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
28460 if (!SWIG_IsOK(res1
)) {
28461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
28463 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28468 wxPyEndAllowThreads(__tstate
);
28469 if (PyErr_Occurred()) SWIG_fail
;
28471 resultobj
= SWIG_Py_Void();
28478 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28479 PyObject
*resultobj
= 0;
28480 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28481 wxString
*arg2
= 0 ;
28485 bool temp2
= false ;
28486 PyObject
* obj0
= 0 ;
28487 PyObject
* obj1
= 0 ;
28488 char * kwnames
[] = {
28489 (char *) "self",(char *) "name", NULL
28492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28494 if (!SWIG_IsOK(res1
)) {
28495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
28497 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28499 arg2
= wxString_in_helper(obj1
);
28500 if (arg2
== NULL
) SWIG_fail
;
28504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28505 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
28506 wxPyEndAllowThreads(__tstate
);
28507 if (PyErr_Occurred()) SWIG_fail
;
28509 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28524 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28525 PyObject
*resultobj
= 0;
28526 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28527 wxColour
*arg2
= 0 ;
28532 PyObject
* obj0
= 0 ;
28533 PyObject
* obj1
= 0 ;
28534 char * kwnames
[] = {
28535 (char *) "self",(char *) "colour", NULL
28538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28540 if (!SWIG_IsOK(res1
)) {
28541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
28543 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28546 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28550 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
28551 wxPyEndAllowThreads(__tstate
);
28552 if (PyErr_Occurred()) SWIG_fail
;
28556 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28558 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28567 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28568 PyObject
*resultobj
= 0;
28569 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28570 wxString
*arg2
= 0 ;
28571 wxColour
*arg3
= 0 ;
28574 bool temp2
= false ;
28576 PyObject
* obj0
= 0 ;
28577 PyObject
* obj1
= 0 ;
28578 PyObject
* obj2
= 0 ;
28579 char * kwnames
[] = {
28580 (char *) "self",(char *) "name",(char *) "colour", NULL
28583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28585 if (!SWIG_IsOK(res1
)) {
28586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
28588 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28590 arg2
= wxString_in_helper(obj1
);
28591 if (arg2
== NULL
) SWIG_fail
;
28596 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28600 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
28601 wxPyEndAllowThreads(__tstate
);
28602 if (PyErr_Occurred()) SWIG_fail
;
28604 resultobj
= SWIG_Py_Void();
28619 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28620 PyObject
*resultobj
= 0;
28621 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28622 wxString
*arg2
= 0 ;
28628 bool temp2
= false ;
28635 PyObject
* obj0
= 0 ;
28636 PyObject
* obj1
= 0 ;
28637 PyObject
* obj2
= 0 ;
28638 PyObject
* obj3
= 0 ;
28639 PyObject
* obj4
= 0 ;
28640 char * kwnames
[] = {
28641 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
28644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28646 if (!SWIG_IsOK(res1
)) {
28647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
28649 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28651 arg2
= wxString_in_helper(obj1
);
28652 if (arg2
== NULL
) SWIG_fail
;
28655 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28656 if (!SWIG_IsOK(ecode3
)) {
28657 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
28659 arg3
= static_cast< int >(val3
);
28660 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28661 if (!SWIG_IsOK(ecode4
)) {
28662 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
28664 arg4
= static_cast< int >(val4
);
28665 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28666 if (!SWIG_IsOK(ecode5
)) {
28667 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
28669 arg5
= static_cast< int >(val5
);
28671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28672 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
28673 wxPyEndAllowThreads(__tstate
);
28674 if (PyErr_Occurred()) SWIG_fail
;
28676 resultobj
= SWIG_Py_Void();
28691 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28693 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28694 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
28695 return SWIG_Py_Void();
28698 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28699 return SWIG_Python_InitShadowInstance(args
);
28702 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28703 PyObject
*resultobj
= 0;
28704 wxFontList
*result
= 0 ;
28706 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
28708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28709 result
= (wxFontList
*)_wxPyInitTheFontList();
28710 wxPyEndAllowThreads(__tstate
);
28711 if (PyErr_Occurred()) SWIG_fail
;
28713 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
28720 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28721 PyObject
*resultobj
= 0;
28722 wxPenList
*result
= 0 ;
28724 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
28726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28727 result
= (wxPenList
*)_wxPyInitThePenList();
28728 wxPyEndAllowThreads(__tstate
);
28729 if (PyErr_Occurred()) SWIG_fail
;
28731 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
28738 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28739 PyObject
*resultobj
= 0;
28740 wxBrushList
*result
= 0 ;
28742 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
28744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28745 result
= (wxBrushList
*)_wxPyInitTheBrushList();
28746 wxPyEndAllowThreads(__tstate
);
28747 if (PyErr_Occurred()) SWIG_fail
;
28749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
28756 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28757 PyObject
*resultobj
= 0;
28758 wxColourDatabase
*result
= 0 ;
28760 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
28762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28763 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
28764 wxPyEndAllowThreads(__tstate
);
28765 if (PyErr_Occurred()) SWIG_fail
;
28767 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28774 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28775 PyObject
*resultobj
= 0;
28776 wxEffects
*result
= 0 ;
28778 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
28780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28781 result
= (wxEffects
*)new wxEffects();
28782 wxPyEndAllowThreads(__tstate
);
28783 if (PyErr_Occurred()) SWIG_fail
;
28785 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
28792 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28793 PyObject
*resultobj
= 0;
28794 wxEffects
*arg1
= (wxEffects
*) 0 ;
28798 PyObject
*swig_obj
[1] ;
28800 if (!args
) SWIG_fail
;
28801 swig_obj
[0] = args
;
28802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28803 if (!SWIG_IsOK(res1
)) {
28804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
28806 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28809 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
28810 wxPyEndAllowThreads(__tstate
);
28811 if (PyErr_Occurred()) SWIG_fail
;
28813 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28820 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28821 PyObject
*resultobj
= 0;
28822 wxEffects
*arg1
= (wxEffects
*) 0 ;
28826 PyObject
*swig_obj
[1] ;
28828 if (!args
) SWIG_fail
;
28829 swig_obj
[0] = args
;
28830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28831 if (!SWIG_IsOK(res1
)) {
28832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
28834 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28837 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
28838 wxPyEndAllowThreads(__tstate
);
28839 if (PyErr_Occurred()) SWIG_fail
;
28841 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28848 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28849 PyObject
*resultobj
= 0;
28850 wxEffects
*arg1
= (wxEffects
*) 0 ;
28854 PyObject
*swig_obj
[1] ;
28856 if (!args
) SWIG_fail
;
28857 swig_obj
[0] = args
;
28858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28859 if (!SWIG_IsOK(res1
)) {
28860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
28862 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28865 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
28866 wxPyEndAllowThreads(__tstate
);
28867 if (PyErr_Occurred()) SWIG_fail
;
28869 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28876 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28877 PyObject
*resultobj
= 0;
28878 wxEffects
*arg1
= (wxEffects
*) 0 ;
28882 PyObject
*swig_obj
[1] ;
28884 if (!args
) SWIG_fail
;
28885 swig_obj
[0] = args
;
28886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28887 if (!SWIG_IsOK(res1
)) {
28888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
28890 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28893 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
28894 wxPyEndAllowThreads(__tstate
);
28895 if (PyErr_Occurred()) SWIG_fail
;
28897 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28904 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28905 PyObject
*resultobj
= 0;
28906 wxEffects
*arg1
= (wxEffects
*) 0 ;
28910 PyObject
*swig_obj
[1] ;
28912 if (!args
) SWIG_fail
;
28913 swig_obj
[0] = args
;
28914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28915 if (!SWIG_IsOK(res1
)) {
28916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
28918 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28921 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
28922 wxPyEndAllowThreads(__tstate
);
28923 if (PyErr_Occurred()) SWIG_fail
;
28925 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28932 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28933 PyObject
*resultobj
= 0;
28934 wxEffects
*arg1
= (wxEffects
*) 0 ;
28935 wxColour
*arg2
= 0 ;
28939 PyObject
* obj0
= 0 ;
28940 PyObject
* obj1
= 0 ;
28941 char * kwnames
[] = {
28942 (char *) "self",(char *) "c", NULL
28945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28947 if (!SWIG_IsOK(res1
)) {
28948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
28950 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28953 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28957 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
28958 wxPyEndAllowThreads(__tstate
);
28959 if (PyErr_Occurred()) SWIG_fail
;
28961 resultobj
= SWIG_Py_Void();
28968 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28969 PyObject
*resultobj
= 0;
28970 wxEffects
*arg1
= (wxEffects
*) 0 ;
28971 wxColour
*arg2
= 0 ;
28975 PyObject
* obj0
= 0 ;
28976 PyObject
* obj1
= 0 ;
28977 char * kwnames
[] = {
28978 (char *) "self",(char *) "c", NULL
28981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28983 if (!SWIG_IsOK(res1
)) {
28984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
28986 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28989 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28993 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
28994 wxPyEndAllowThreads(__tstate
);
28995 if (PyErr_Occurred()) SWIG_fail
;
28997 resultobj
= SWIG_Py_Void();
29004 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29005 PyObject
*resultobj
= 0;
29006 wxEffects
*arg1
= (wxEffects
*) 0 ;
29007 wxColour
*arg2
= 0 ;
29011 PyObject
* obj0
= 0 ;
29012 PyObject
* obj1
= 0 ;
29013 char * kwnames
[] = {
29014 (char *) "self",(char *) "c", NULL
29017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29019 if (!SWIG_IsOK(res1
)) {
29020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
29022 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29025 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29029 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
29030 wxPyEndAllowThreads(__tstate
);
29031 if (PyErr_Occurred()) SWIG_fail
;
29033 resultobj
= SWIG_Py_Void();
29040 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29041 PyObject
*resultobj
= 0;
29042 wxEffects
*arg1
= (wxEffects
*) 0 ;
29043 wxColour
*arg2
= 0 ;
29047 PyObject
* obj0
= 0 ;
29048 PyObject
* obj1
= 0 ;
29049 char * kwnames
[] = {
29050 (char *) "self",(char *) "c", NULL
29053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29055 if (!SWIG_IsOK(res1
)) {
29056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
29058 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29061 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29065 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
29066 wxPyEndAllowThreads(__tstate
);
29067 if (PyErr_Occurred()) SWIG_fail
;
29069 resultobj
= SWIG_Py_Void();
29076 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29077 PyObject
*resultobj
= 0;
29078 wxEffects
*arg1
= (wxEffects
*) 0 ;
29079 wxColour
*arg2
= 0 ;
29083 PyObject
* obj0
= 0 ;
29084 PyObject
* obj1
= 0 ;
29085 char * kwnames
[] = {
29086 (char *) "self",(char *) "c", NULL
29089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29091 if (!SWIG_IsOK(res1
)) {
29092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
29094 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29097 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29101 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
29102 wxPyEndAllowThreads(__tstate
);
29103 if (PyErr_Occurred()) SWIG_fail
;
29105 resultobj
= SWIG_Py_Void();
29112 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29113 PyObject
*resultobj
= 0;
29114 wxEffects
*arg1
= (wxEffects
*) 0 ;
29115 wxColour
*arg2
= 0 ;
29116 wxColour
*arg3
= 0 ;
29117 wxColour
*arg4
= 0 ;
29118 wxColour
*arg5
= 0 ;
29119 wxColour
*arg6
= 0 ;
29127 PyObject
* obj0
= 0 ;
29128 PyObject
* obj1
= 0 ;
29129 PyObject
* obj2
= 0 ;
29130 PyObject
* obj3
= 0 ;
29131 PyObject
* obj4
= 0 ;
29132 PyObject
* obj5
= 0 ;
29133 char * kwnames
[] = {
29134 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
29137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29139 if (!SWIG_IsOK(res1
)) {
29140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
29142 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29145 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29149 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29153 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
29157 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
29161 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
29164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29165 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
29166 wxPyEndAllowThreads(__tstate
);
29167 if (PyErr_Occurred()) SWIG_fail
;
29169 resultobj
= SWIG_Py_Void();
29176 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29177 PyObject
*resultobj
= 0;
29178 wxEffects
*arg1
= (wxEffects
*) 0 ;
29181 int arg4
= (int) 1 ;
29189 PyObject
* obj0
= 0 ;
29190 PyObject
* obj1
= 0 ;
29191 PyObject
* obj2
= 0 ;
29192 PyObject
* obj3
= 0 ;
29193 char * kwnames
[] = {
29194 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
29197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29199 if (!SWIG_IsOK(res1
)) {
29200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
29202 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29203 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
29204 if (!SWIG_IsOK(res2
)) {
29205 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
29208 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
29210 arg2
= reinterpret_cast< wxDC
* >(argp2
);
29213 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
29216 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29217 if (!SWIG_IsOK(ecode4
)) {
29218 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
29220 arg4
= static_cast< int >(val4
);
29223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29224 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
29225 wxPyEndAllowThreads(__tstate
);
29226 if (PyErr_Occurred()) SWIG_fail
;
29228 resultobj
= SWIG_Py_Void();
29235 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29236 PyObject
*resultobj
= 0;
29237 wxEffects
*arg1
= (wxEffects
*) 0 ;
29240 wxBitmap
*arg4
= 0 ;
29249 PyObject
* obj0
= 0 ;
29250 PyObject
* obj1
= 0 ;
29251 PyObject
* obj2
= 0 ;
29252 PyObject
* obj3
= 0 ;
29253 char * kwnames
[] = {
29254 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
29257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29259 if (!SWIG_IsOK(res1
)) {
29260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
29262 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29265 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29267 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29268 if (!SWIG_IsOK(res3
)) {
29269 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
29272 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
29274 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29275 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
29276 if (!SWIG_IsOK(res4
)) {
29277 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
29280 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
29282 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
29284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29285 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
29286 wxPyEndAllowThreads(__tstate
);
29287 if (PyErr_Occurred()) SWIG_fail
;
29290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29298 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29300 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29301 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
29302 return SWIG_Py_Void();
29305 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29306 return SWIG_Python_InitShadowInstance(args
);
29309 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29310 PyObject
*resultobj
= 0;
29314 wxSplitterRenderParams
*result
= 0 ;
29321 PyObject
* obj0
= 0 ;
29322 PyObject
* obj1
= 0 ;
29323 PyObject
* obj2
= 0 ;
29324 char * kwnames
[] = {
29325 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
29328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29329 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29330 if (!SWIG_IsOK(ecode1
)) {
29331 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
29333 arg1
= static_cast< int >(val1
);
29334 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29335 if (!SWIG_IsOK(ecode2
)) {
29336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
29338 arg2
= static_cast< int >(val2
);
29339 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29340 if (!SWIG_IsOK(ecode3
)) {
29341 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
29343 arg3
= static_cast< bool >(val3
);
29345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29346 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
29347 wxPyEndAllowThreads(__tstate
);
29348 if (PyErr_Occurred()) SWIG_fail
;
29350 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
29357 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29358 PyObject
*resultobj
= 0;
29359 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29362 PyObject
*swig_obj
[1] ;
29364 if (!args
) SWIG_fail
;
29365 swig_obj
[0] = args
;
29366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
29367 if (!SWIG_IsOK(res1
)) {
29368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29370 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29375 wxPyEndAllowThreads(__tstate
);
29376 if (PyErr_Occurred()) SWIG_fail
;
29378 resultobj
= SWIG_Py_Void();
29385 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29386 PyObject
*resultobj
= 0;
29387 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29391 PyObject
*swig_obj
[1] ;
29393 if (!args
) SWIG_fail
;
29394 swig_obj
[0] = args
;
29395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
29396 if (!SWIG_IsOK(res1
)) {
29397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29399 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29400 result
= (int)(int) ((arg1
)->widthSash
);
29401 resultobj
= SWIG_From_int(static_cast< int >(result
));
29408 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29409 PyObject
*resultobj
= 0;
29410 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29414 PyObject
*swig_obj
[1] ;
29416 if (!args
) SWIG_fail
;
29417 swig_obj
[0] = args
;
29418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
29419 if (!SWIG_IsOK(res1
)) {
29420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29422 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29423 result
= (int)(int) ((arg1
)->border
);
29424 resultobj
= SWIG_From_int(static_cast< int >(result
));
29431 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29432 PyObject
*resultobj
= 0;
29433 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29437 PyObject
*swig_obj
[1] ;
29439 if (!args
) SWIG_fail
;
29440 swig_obj
[0] = args
;
29441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
29442 if (!SWIG_IsOK(res1
)) {
29443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29445 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29446 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
29447 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
29454 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29456 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29457 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
29458 return SWIG_Py_Void();
29461 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29462 return SWIG_Python_InitShadowInstance(args
);
29465 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29466 PyObject
*resultobj
= 0;
29467 wxHeaderButtonParams
*result
= 0 ;
29469 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
29471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29472 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
29473 wxPyEndAllowThreads(__tstate
);
29474 if (PyErr_Occurred()) SWIG_fail
;
29476 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
29483 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29484 PyObject
*resultobj
= 0;
29485 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29488 PyObject
*swig_obj
[1] ;
29490 if (!args
) SWIG_fail
;
29491 swig_obj
[0] = args
;
29492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
29493 if (!SWIG_IsOK(res1
)) {
29494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29496 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29501 wxPyEndAllowThreads(__tstate
);
29502 if (PyErr_Occurred()) SWIG_fail
;
29504 resultobj
= SWIG_Py_Void();
29511 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29512 PyObject
*resultobj
= 0;
29513 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29514 wxColour
*arg2
= (wxColour
*) 0 ;
29518 PyObject
*swig_obj
[2] ;
29520 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
29521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29522 if (!SWIG_IsOK(res1
)) {
29523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29525 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29528 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
29530 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
29532 resultobj
= SWIG_Py_Void();
29539 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29540 PyObject
*resultobj
= 0;
29541 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29542 wxColour
*result
= 0 ;
29545 PyObject
*swig_obj
[1] ;
29547 if (!args
) SWIG_fail
;
29548 swig_obj
[0] = args
;
29549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29550 if (!SWIG_IsOK(res1
)) {
29551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29553 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29554 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
29555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29562 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29563 PyObject
*resultobj
= 0;
29564 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29565 wxColour
*arg2
= (wxColour
*) 0 ;
29569 PyObject
*swig_obj
[2] ;
29571 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
29572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29573 if (!SWIG_IsOK(res1
)) {
29574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29576 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29579 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
29581 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
29583 resultobj
= SWIG_Py_Void();
29590 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29591 PyObject
*resultobj
= 0;
29592 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29593 wxColour
*result
= 0 ;
29596 PyObject
*swig_obj
[1] ;
29598 if (!args
) SWIG_fail
;
29599 swig_obj
[0] = args
;
29600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29601 if (!SWIG_IsOK(res1
)) {
29602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29604 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29605 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
29606 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29613 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29614 PyObject
*resultobj
= 0;
29615 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29616 wxString
*arg2
= (wxString
*) 0 ;
29619 bool temp2
= false ;
29620 PyObject
*swig_obj
[2] ;
29622 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
29623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29624 if (!SWIG_IsOK(res1
)) {
29625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29627 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29629 arg2
= wxString_in_helper(swig_obj
[1]);
29630 if (arg2
== NULL
) SWIG_fail
;
29633 if (arg1
) (arg1
)->m_labelText
= *arg2
;
29635 resultobj
= SWIG_Py_Void();
29650 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29651 PyObject
*resultobj
= 0;
29652 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29653 wxString
*result
= 0 ;
29656 PyObject
*swig_obj
[1] ;
29658 if (!args
) SWIG_fail
;
29659 swig_obj
[0] = args
;
29660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29661 if (!SWIG_IsOK(res1
)) {
29662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29664 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29665 result
= (wxString
*)& ((arg1
)->m_labelText
);
29668 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29670 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29679 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29680 PyObject
*resultobj
= 0;
29681 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29682 wxFont
*arg2
= (wxFont
*) 0 ;
29687 PyObject
*swig_obj
[2] ;
29689 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
29690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29691 if (!SWIG_IsOK(res1
)) {
29692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29694 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29695 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
29696 if (!SWIG_IsOK(res2
)) {
29697 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
29699 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29700 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
29702 resultobj
= SWIG_Py_Void();
29709 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29710 PyObject
*resultobj
= 0;
29711 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29712 wxFont
*result
= 0 ;
29715 PyObject
*swig_obj
[1] ;
29717 if (!args
) SWIG_fail
;
29718 swig_obj
[0] = args
;
29719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29720 if (!SWIG_IsOK(res1
)) {
29721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29723 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29724 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
29725 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
29732 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29733 PyObject
*resultobj
= 0;
29734 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29735 wxColour
*arg2
= (wxColour
*) 0 ;
29739 PyObject
*swig_obj
[2] ;
29741 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
29742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29743 if (!SWIG_IsOK(res1
)) {
29744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29746 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29749 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
29751 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
29753 resultobj
= SWIG_Py_Void();
29760 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29761 PyObject
*resultobj
= 0;
29762 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29763 wxColour
*result
= 0 ;
29766 PyObject
*swig_obj
[1] ;
29768 if (!args
) SWIG_fail
;
29769 swig_obj
[0] = args
;
29770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29771 if (!SWIG_IsOK(res1
)) {
29772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29774 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29775 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
29776 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29783 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29784 PyObject
*resultobj
= 0;
29785 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29786 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
29791 PyObject
*swig_obj
[2] ;
29793 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
29794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29795 if (!SWIG_IsOK(res1
)) {
29796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29798 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29799 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
29800 if (!SWIG_IsOK(res2
)) {
29801 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
29803 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29804 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
29806 resultobj
= SWIG_Py_Void();
29813 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29814 PyObject
*resultobj
= 0;
29815 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29816 wxBitmap
*result
= 0 ;
29819 PyObject
*swig_obj
[1] ;
29821 if (!args
) SWIG_fail
;
29822 swig_obj
[0] = args
;
29823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29824 if (!SWIG_IsOK(res1
)) {
29825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29827 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29828 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
29829 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
29836 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29837 PyObject
*resultobj
= 0;
29838 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29844 PyObject
*swig_obj
[2] ;
29846 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
29847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29848 if (!SWIG_IsOK(res1
)) {
29849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29851 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29852 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
29853 if (!SWIG_IsOK(ecode2
)) {
29854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
29856 arg2
= static_cast< int >(val2
);
29857 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
29859 resultobj
= SWIG_Py_Void();
29866 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29867 PyObject
*resultobj
= 0;
29868 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29872 PyObject
*swig_obj
[1] ;
29874 if (!args
) SWIG_fail
;
29875 swig_obj
[0] = args
;
29876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29877 if (!SWIG_IsOK(res1
)) {
29878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29880 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29881 result
= (int) ((arg1
)->m_labelAlignment
);
29882 resultobj
= SWIG_From_int(static_cast< int >(result
));
29889 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29891 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29892 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
29893 return SWIG_Py_Void();
29896 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29897 return SWIG_Python_InitShadowInstance(args
);
29900 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29901 PyObject
*resultobj
= 0;
29904 wxRendererVersion
*result
= 0 ;
29909 PyObject
* obj0
= 0 ;
29910 PyObject
* obj1
= 0 ;
29911 char * kwnames
[] = {
29912 (char *) "version_",(char *) "age_", NULL
29915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29916 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29917 if (!SWIG_IsOK(ecode1
)) {
29918 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
29920 arg1
= static_cast< int >(val1
);
29921 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29922 if (!SWIG_IsOK(ecode2
)) {
29923 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
29925 arg2
= static_cast< int >(val2
);
29927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29928 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
29929 wxPyEndAllowThreads(__tstate
);
29930 if (PyErr_Occurred()) SWIG_fail
;
29932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
29939 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29940 PyObject
*resultobj
= 0;
29941 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
29944 PyObject
*swig_obj
[1] ;
29946 if (!args
) SWIG_fail
;
29947 swig_obj
[0] = args
;
29948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
29949 if (!SWIG_IsOK(res1
)) {
29950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
29952 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
29954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29957 wxPyEndAllowThreads(__tstate
);
29958 if (PyErr_Occurred()) SWIG_fail
;
29960 resultobj
= SWIG_Py_Void();
29967 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29968 PyObject
*resultobj
= 0;
29969 wxRendererVersion
*arg1
= 0 ;
29973 PyObject
* obj0
= 0 ;
29974 char * kwnames
[] = {
29975 (char *) "ver", NULL
29978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
29979 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
29980 if (!SWIG_IsOK(res1
)) {
29981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
29984 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
29986 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
29988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29989 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
29990 wxPyEndAllowThreads(__tstate
);
29991 if (PyErr_Occurred()) SWIG_fail
;
29994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30002 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30003 PyObject
*resultobj
= 0;
30004 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
30008 PyObject
*swig_obj
[1] ;
30010 if (!args
) SWIG_fail
;
30011 swig_obj
[0] = args
;
30012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
30013 if (!SWIG_IsOK(res1
)) {
30014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
30016 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30017 result
= (int)(int) ((arg1
)->version
);
30018 resultobj
= SWIG_From_int(static_cast< int >(result
));
30025 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30026 PyObject
*resultobj
= 0;
30027 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
30031 PyObject
*swig_obj
[1] ;
30033 if (!args
) SWIG_fail
;
30034 swig_obj
[0] = args
;
30035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
30036 if (!SWIG_IsOK(res1
)) {
30037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
30039 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30040 result
= (int)(int) ((arg1
)->age
);
30041 resultobj
= SWIG_From_int(static_cast< int >(result
));
30048 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30050 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30051 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
30052 return SWIG_Py_Void();
30055 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30056 return SWIG_Python_InitShadowInstance(args
);
30059 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30060 PyObject
*resultobj
= 0;
30061 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30062 wxWindow
*arg2
= (wxWindow
*) 0 ;
30065 int arg5
= (int) 0 ;
30066 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
30067 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
30081 PyObject
* obj0
= 0 ;
30082 PyObject
* obj1
= 0 ;
30083 PyObject
* obj2
= 0 ;
30084 PyObject
* obj3
= 0 ;
30085 PyObject
* obj4
= 0 ;
30086 PyObject
* obj5
= 0 ;
30087 PyObject
* obj6
= 0 ;
30088 char * kwnames
[] = {
30089 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
30092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30094 if (!SWIG_IsOK(res1
)) {
30095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30097 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30098 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30099 if (!SWIG_IsOK(res2
)) {
30100 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30102 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30103 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30104 if (!SWIG_IsOK(res3
)) {
30105 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
30108 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
30110 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30113 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30116 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30117 if (!SWIG_IsOK(ecode5
)) {
30118 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
30120 arg5
= static_cast< int >(val5
);
30123 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30124 if (!SWIG_IsOK(ecode6
)) {
30125 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
30127 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
30130 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30131 if (!SWIG_IsOK(res7
)) {
30132 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
30134 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
30137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30138 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
30139 wxPyEndAllowThreads(__tstate
);
30140 if (PyErr_Occurred()) SWIG_fail
;
30142 resultobj
= SWIG_Py_Void();
30149 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30150 PyObject
*resultobj
= 0;
30151 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30152 wxWindow
*arg2
= (wxWindow
*) 0 ;
30155 int arg5
= (int) 0 ;
30156 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
30157 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
30171 PyObject
* obj0
= 0 ;
30172 PyObject
* obj1
= 0 ;
30173 PyObject
* obj2
= 0 ;
30174 PyObject
* obj3
= 0 ;
30175 PyObject
* obj4
= 0 ;
30176 PyObject
* obj5
= 0 ;
30177 PyObject
* obj6
= 0 ;
30178 char * kwnames
[] = {
30179 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
30182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30184 if (!SWIG_IsOK(res1
)) {
30185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30187 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30188 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30189 if (!SWIG_IsOK(res2
)) {
30190 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
30192 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30193 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30194 if (!SWIG_IsOK(res3
)) {
30195 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
30198 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
30200 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30203 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30206 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30207 if (!SWIG_IsOK(ecode5
)) {
30208 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
30210 arg5
= static_cast< int >(val5
);
30213 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30214 if (!SWIG_IsOK(ecode6
)) {
30215 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
30217 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
30220 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30221 if (!SWIG_IsOK(res7
)) {
30222 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
30224 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
30227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30228 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
30229 wxPyEndAllowThreads(__tstate
);
30230 if (PyErr_Occurred()) SWIG_fail
;
30232 resultobj
= SWIG_Py_Void();
30239 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30240 PyObject
*resultobj
= 0;
30241 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30242 wxWindow
*arg2
= (wxWindow
*) 0 ;
30248 PyObject
* obj0
= 0 ;
30249 PyObject
* obj1
= 0 ;
30250 char * kwnames
[] = {
30251 (char *) "self",(char *) "win", NULL
30254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30256 if (!SWIG_IsOK(res1
)) {
30257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30259 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30260 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30261 if (!SWIG_IsOK(res2
)) {
30262 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
30264 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30267 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
30268 wxPyEndAllowThreads(__tstate
);
30269 if (PyErr_Occurred()) SWIG_fail
;
30271 resultobj
= SWIG_From_int(static_cast< int >(result
));
30278 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30279 PyObject
*resultobj
= 0;
30280 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30281 wxWindow
*arg2
= (wxWindow
*) 0 ;
30284 int arg5
= (int) 0 ;
30294 PyObject
* obj0
= 0 ;
30295 PyObject
* obj1
= 0 ;
30296 PyObject
* obj2
= 0 ;
30297 PyObject
* obj3
= 0 ;
30298 PyObject
* obj4
= 0 ;
30299 char * kwnames
[] = {
30300 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30305 if (!SWIG_IsOK(res1
)) {
30306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30308 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30309 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30310 if (!SWIG_IsOK(res2
)) {
30311 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30313 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30314 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30315 if (!SWIG_IsOK(res3
)) {
30316 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
30319 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
30321 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30324 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30327 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30328 if (!SWIG_IsOK(ecode5
)) {
30329 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
30331 arg5
= static_cast< int >(val5
);
30334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30335 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30336 wxPyEndAllowThreads(__tstate
);
30337 if (PyErr_Occurred()) SWIG_fail
;
30339 resultobj
= SWIG_Py_Void();
30346 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30347 PyObject
*resultobj
= 0;
30348 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30349 wxWindow
*arg2
= (wxWindow
*) 0 ;
30352 int arg5
= (int) 0 ;
30362 PyObject
* obj0
= 0 ;
30363 PyObject
* obj1
= 0 ;
30364 PyObject
* obj2
= 0 ;
30365 PyObject
* obj3
= 0 ;
30366 PyObject
* obj4
= 0 ;
30367 char * kwnames
[] = {
30368 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30373 if (!SWIG_IsOK(res1
)) {
30374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30376 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30377 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30378 if (!SWIG_IsOK(res2
)) {
30379 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
30381 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30382 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30383 if (!SWIG_IsOK(res3
)) {
30384 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
30387 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
30389 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30392 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30395 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30396 if (!SWIG_IsOK(ecode5
)) {
30397 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
30399 arg5
= static_cast< int >(val5
);
30402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30403 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30404 wxPyEndAllowThreads(__tstate
);
30405 if (PyErr_Occurred()) SWIG_fail
;
30407 resultobj
= SWIG_Py_Void();
30414 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30415 PyObject
*resultobj
= 0;
30416 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30417 wxWindow
*arg2
= (wxWindow
*) 0 ;
30421 wxOrientation arg6
;
30422 int arg7
= (int) 0 ;
30436 PyObject
* obj0
= 0 ;
30437 PyObject
* obj1
= 0 ;
30438 PyObject
* obj2
= 0 ;
30439 PyObject
* obj3
= 0 ;
30440 PyObject
* obj4
= 0 ;
30441 PyObject
* obj5
= 0 ;
30442 PyObject
* obj6
= 0 ;
30443 char * kwnames
[] = {
30444 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
30447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30449 if (!SWIG_IsOK(res1
)) {
30450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30452 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30453 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30454 if (!SWIG_IsOK(res2
)) {
30455 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
30457 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30458 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30459 if (!SWIG_IsOK(res3
)) {
30460 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
30463 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
30465 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30468 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30470 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30471 if (!SWIG_IsOK(ecode5
)) {
30472 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
30474 arg5
= static_cast< int >(val5
);
30475 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30476 if (!SWIG_IsOK(ecode6
)) {
30477 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
30479 arg6
= static_cast< wxOrientation
>(val6
);
30481 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
30482 if (!SWIG_IsOK(ecode7
)) {
30483 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
30485 arg7
= static_cast< int >(val7
);
30488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30489 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
30490 wxPyEndAllowThreads(__tstate
);
30491 if (PyErr_Occurred()) SWIG_fail
;
30493 resultobj
= SWIG_Py_Void();
30500 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30501 PyObject
*resultobj
= 0;
30502 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30503 wxWindow
*arg2
= (wxWindow
*) 0 ;
30506 int arg5
= (int) 0 ;
30516 PyObject
* obj0
= 0 ;
30517 PyObject
* obj1
= 0 ;
30518 PyObject
* obj2
= 0 ;
30519 PyObject
* obj3
= 0 ;
30520 PyObject
* obj4
= 0 ;
30521 char * kwnames
[] = {
30522 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30527 if (!SWIG_IsOK(res1
)) {
30528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30530 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30531 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30532 if (!SWIG_IsOK(res2
)) {
30533 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30535 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30536 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30537 if (!SWIG_IsOK(res3
)) {
30538 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
30541 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
30543 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30546 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30549 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30550 if (!SWIG_IsOK(ecode5
)) {
30551 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
30553 arg5
= static_cast< int >(val5
);
30556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30557 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30558 wxPyEndAllowThreads(__tstate
);
30559 if (PyErr_Occurred()) SWIG_fail
;
30561 resultobj
= SWIG_Py_Void();
30568 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30569 PyObject
*resultobj
= 0;
30570 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30571 wxWindow
*arg2
= (wxWindow
*) 0 ;
30574 int arg5
= (int) 0 ;
30584 PyObject
* obj0
= 0 ;
30585 PyObject
* obj1
= 0 ;
30586 PyObject
* obj2
= 0 ;
30587 PyObject
* obj3
= 0 ;
30588 PyObject
* obj4
= 0 ;
30589 char * kwnames
[] = {
30590 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30595 if (!SWIG_IsOK(res1
)) {
30596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30598 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30599 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30600 if (!SWIG_IsOK(res2
)) {
30601 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
30603 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30604 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30605 if (!SWIG_IsOK(res3
)) {
30606 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
30609 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
30611 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30614 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30617 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30618 if (!SWIG_IsOK(ecode5
)) {
30619 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
30621 arg5
= static_cast< int >(val5
);
30624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30625 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30626 wxPyEndAllowThreads(__tstate
);
30627 if (PyErr_Occurred()) SWIG_fail
;
30629 resultobj
= SWIG_Py_Void();
30636 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30637 PyObject
*resultobj
= 0;
30638 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30639 wxWindow
*arg2
= (wxWindow
*) 0 ;
30642 int arg5
= (int) 0 ;
30652 PyObject
* obj0
= 0 ;
30653 PyObject
* obj1
= 0 ;
30654 PyObject
* obj2
= 0 ;
30655 PyObject
* obj3
= 0 ;
30656 PyObject
* obj4
= 0 ;
30657 char * kwnames
[] = {
30658 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30663 if (!SWIG_IsOK(res1
)) {
30664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30666 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30667 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30668 if (!SWIG_IsOK(res2
)) {
30669 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
30671 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30672 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30673 if (!SWIG_IsOK(res3
)) {
30674 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
30677 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
30679 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30682 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30685 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30686 if (!SWIG_IsOK(ecode5
)) {
30687 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
30689 arg5
= static_cast< int >(val5
);
30692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30693 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30694 wxPyEndAllowThreads(__tstate
);
30695 if (PyErr_Occurred()) SWIG_fail
;
30697 resultobj
= SWIG_Py_Void();
30704 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30705 PyObject
*resultobj
= 0;
30706 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30707 wxWindow
*arg2
= (wxWindow
*) 0 ;
30710 int arg5
= (int) 0 ;
30720 PyObject
* obj0
= 0 ;
30721 PyObject
* obj1
= 0 ;
30722 PyObject
* obj2
= 0 ;
30723 PyObject
* obj3
= 0 ;
30724 PyObject
* obj4
= 0 ;
30725 char * kwnames
[] = {
30726 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30731 if (!SWIG_IsOK(res1
)) {
30732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30734 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30735 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30736 if (!SWIG_IsOK(res2
)) {
30737 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30739 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30740 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30741 if (!SWIG_IsOK(res3
)) {
30742 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
30745 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
30747 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30750 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30753 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30754 if (!SWIG_IsOK(ecode5
)) {
30755 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
30757 arg5
= static_cast< int >(val5
);
30760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30761 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30762 wxPyEndAllowThreads(__tstate
);
30763 if (PyErr_Occurred()) SWIG_fail
;
30765 resultobj
= SWIG_Py_Void();
30772 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30773 PyObject
*resultobj
= 0;
30774 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30775 wxWindow
*arg2
= (wxWindow
*) 0 ;
30778 int arg5
= (int) 0 ;
30788 PyObject
* obj0
= 0 ;
30789 PyObject
* obj1
= 0 ;
30790 PyObject
* obj2
= 0 ;
30791 PyObject
* obj3
= 0 ;
30792 PyObject
* obj4
= 0 ;
30793 char * kwnames
[] = {
30794 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30799 if (!SWIG_IsOK(res1
)) {
30800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30802 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30803 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30804 if (!SWIG_IsOK(res2
)) {
30805 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
30807 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30808 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30809 if (!SWIG_IsOK(res3
)) {
30810 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
30813 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
30815 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30818 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30821 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30822 if (!SWIG_IsOK(ecode5
)) {
30823 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
30825 arg5
= static_cast< int >(val5
);
30828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30829 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30830 wxPyEndAllowThreads(__tstate
);
30831 if (PyErr_Occurred()) SWIG_fail
;
30833 resultobj
= SWIG_Py_Void();
30840 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30841 PyObject
*resultobj
= 0;
30842 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30843 wxWindow
*arg2
= (wxWindow
*) 0 ;
30844 SwigValueWrapper
<wxSplitterRenderParams
> result
;
30849 PyObject
* obj0
= 0 ;
30850 PyObject
* obj1
= 0 ;
30851 char * kwnames
[] = {
30852 (char *) "self",(char *) "win", NULL
30855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30857 if (!SWIG_IsOK(res1
)) {
30858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30860 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30861 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30862 if (!SWIG_IsOK(res2
)) {
30863 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
30865 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30868 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
30869 wxPyEndAllowThreads(__tstate
);
30870 if (PyErr_Occurred()) SWIG_fail
;
30872 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
30879 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30880 PyObject
*resultobj
= 0;
30881 wxRendererNative
*result
= 0 ;
30883 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
30885 if (!wxPyCheckForApp()) SWIG_fail
;
30886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30888 wxRendererNative
&_result_ref
= wxRendererNative::Get();
30889 result
= (wxRendererNative
*) &_result_ref
;
30891 wxPyEndAllowThreads(__tstate
);
30892 if (PyErr_Occurred()) SWIG_fail
;
30894 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30901 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30902 PyObject
*resultobj
= 0;
30903 wxRendererNative
*result
= 0 ;
30905 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
30907 if (!wxPyCheckForApp()) SWIG_fail
;
30908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30910 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
30911 result
= (wxRendererNative
*) &_result_ref
;
30913 wxPyEndAllowThreads(__tstate
);
30914 if (PyErr_Occurred()) SWIG_fail
;
30916 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30923 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30924 PyObject
*resultobj
= 0;
30925 wxRendererNative
*result
= 0 ;
30927 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
30929 if (!wxPyCheckForApp()) SWIG_fail
;
30930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30932 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
30933 result
= (wxRendererNative
*) &_result_ref
;
30935 wxPyEndAllowThreads(__tstate
);
30936 if (PyErr_Occurred()) SWIG_fail
;
30938 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30945 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30946 PyObject
*resultobj
= 0;
30947 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30948 wxRendererNative
*result
= 0 ;
30951 PyObject
* obj0
= 0 ;
30952 char * kwnames
[] = {
30953 (char *) "renderer", NULL
30956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
30957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30958 if (!SWIG_IsOK(res1
)) {
30959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30961 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30963 if (!wxPyCheckForApp()) SWIG_fail
;
30964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30965 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
30966 wxPyEndAllowThreads(__tstate
);
30967 if (PyErr_Occurred()) SWIG_fail
;
30969 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30976 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30977 PyObject
*resultobj
= 0;
30978 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30979 SwigValueWrapper
<wxRendererVersion
> result
;
30982 PyObject
*swig_obj
[1] ;
30984 if (!args
) SWIG_fail
;
30985 swig_obj
[0] = args
;
30986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30987 if (!SWIG_IsOK(res1
)) {
30988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
30990 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30993 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
30994 wxPyEndAllowThreads(__tstate
);
30995 if (PyErr_Occurred()) SWIG_fail
;
30997 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
31004 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31006 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31007 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
31008 return SWIG_Py_Void();
31011 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31012 PyObject
*resultobj
= 0;
31013 wxPseudoDC
*result
= 0 ;
31015 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
31017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31018 result
= (wxPseudoDC
*)new wxPseudoDC();
31019 wxPyEndAllowThreads(__tstate
);
31020 if (PyErr_Occurred()) SWIG_fail
;
31022 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
31029 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31030 PyObject
*resultobj
= 0;
31031 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31034 PyObject
*swig_obj
[1] ;
31036 if (!args
) SWIG_fail
;
31037 swig_obj
[0] = args
;
31038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31039 if (!SWIG_IsOK(res1
)) {
31040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31042 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31045 (arg1
)->BeginDrawing();
31046 wxPyEndAllowThreads(__tstate
);
31047 if (PyErr_Occurred()) SWIG_fail
;
31049 resultobj
= SWIG_Py_Void();
31056 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31057 PyObject
*resultobj
= 0;
31058 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31061 PyObject
*swig_obj
[1] ;
31063 if (!args
) SWIG_fail
;
31064 swig_obj
[0] = args
;
31065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31066 if (!SWIG_IsOK(res1
)) {
31067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31069 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31072 (arg1
)->EndDrawing();
31073 wxPyEndAllowThreads(__tstate
);
31074 if (PyErr_Occurred()) SWIG_fail
;
31076 resultobj
= SWIG_Py_Void();
31083 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31084 PyObject
*resultobj
= 0;
31085 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31088 PyObject
*swig_obj
[1] ;
31090 if (!args
) SWIG_fail
;
31091 swig_obj
[0] = args
;
31092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
31093 if (!SWIG_IsOK(res1
)) {
31094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31096 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31101 wxPyEndAllowThreads(__tstate
);
31102 if (PyErr_Occurred()) SWIG_fail
;
31104 resultobj
= SWIG_Py_Void();
31111 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31112 PyObject
*resultobj
= 0;
31113 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31116 PyObject
*swig_obj
[1] ;
31118 if (!args
) SWIG_fail
;
31119 swig_obj
[0] = args
;
31120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31121 if (!SWIG_IsOK(res1
)) {
31122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31124 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31127 (arg1
)->RemoveAll();
31128 wxPyEndAllowThreads(__tstate
);
31129 if (PyErr_Occurred()) SWIG_fail
;
31131 resultobj
= SWIG_Py_Void();
31138 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31139 PyObject
*resultobj
= 0;
31140 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31144 PyObject
*swig_obj
[1] ;
31146 if (!args
) SWIG_fail
;
31147 swig_obj
[0] = args
;
31148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31149 if (!SWIG_IsOK(res1
)) {
31150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31152 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31155 result
= (int)(arg1
)->GetLen();
31156 wxPyEndAllowThreads(__tstate
);
31157 if (PyErr_Occurred()) SWIG_fail
;
31159 resultobj
= SWIG_From_int(static_cast< int >(result
));
31166 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31167 PyObject
*resultobj
= 0;
31168 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31174 PyObject
* obj0
= 0 ;
31175 PyObject
* obj1
= 0 ;
31176 char * kwnames
[] = {
31177 (char *) "self",(char *) "id", NULL
31180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31182 if (!SWIG_IsOK(res1
)) {
31183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31185 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31186 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31187 if (!SWIG_IsOK(ecode2
)) {
31188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
31190 arg2
= static_cast< int >(val2
);
31192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31193 (arg1
)->SetId(arg2
);
31194 wxPyEndAllowThreads(__tstate
);
31195 if (PyErr_Occurred()) SWIG_fail
;
31197 resultobj
= SWIG_Py_Void();
31204 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31205 PyObject
*resultobj
= 0;
31206 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31212 PyObject
* obj0
= 0 ;
31213 PyObject
* obj1
= 0 ;
31214 char * kwnames
[] = {
31215 (char *) "self",(char *) "id", NULL
31218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31220 if (!SWIG_IsOK(res1
)) {
31221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31223 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31224 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31225 if (!SWIG_IsOK(ecode2
)) {
31226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
31228 arg2
= static_cast< int >(val2
);
31230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31231 (arg1
)->ClearId(arg2
);
31232 wxPyEndAllowThreads(__tstate
);
31233 if (PyErr_Occurred()) SWIG_fail
;
31235 resultobj
= SWIG_Py_Void();
31242 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31243 PyObject
*resultobj
= 0;
31244 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31250 PyObject
* obj0
= 0 ;
31251 PyObject
* obj1
= 0 ;
31252 char * kwnames
[] = {
31253 (char *) "self",(char *) "id", NULL
31256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31258 if (!SWIG_IsOK(res1
)) {
31259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31261 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31262 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31263 if (!SWIG_IsOK(ecode2
)) {
31264 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
31266 arg2
= static_cast< int >(val2
);
31268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31269 (arg1
)->RemoveId(arg2
);
31270 wxPyEndAllowThreads(__tstate
);
31271 if (PyErr_Occurred()) SWIG_fail
;
31273 resultobj
= SWIG_Py_Void();
31280 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31281 PyObject
*resultobj
= 0;
31282 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31294 PyObject
* obj0
= 0 ;
31295 PyObject
* obj1
= 0 ;
31296 PyObject
* obj2
= 0 ;
31297 PyObject
* obj3
= 0 ;
31298 char * kwnames
[] = {
31299 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
31302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31304 if (!SWIG_IsOK(res1
)) {
31305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31307 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31309 if (!SWIG_IsOK(ecode2
)) {
31310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
31312 arg2
= static_cast< int >(val2
);
31313 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31314 if (!SWIG_IsOK(ecode3
)) {
31315 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
31317 arg3
= static_cast< int >(val3
);
31318 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31319 if (!SWIG_IsOK(ecode4
)) {
31320 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
31322 arg4
= static_cast< int >(val4
);
31324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31325 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
31326 wxPyEndAllowThreads(__tstate
);
31327 if (PyErr_Occurred()) SWIG_fail
;
31329 resultobj
= SWIG_Py_Void();
31336 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31337 PyObject
*resultobj
= 0;
31338 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31340 bool arg3
= (bool) true ;
31347 PyObject
* obj0
= 0 ;
31348 PyObject
* obj1
= 0 ;
31349 PyObject
* obj2
= 0 ;
31350 char * kwnames
[] = {
31351 (char *) "self",(char *) "id",(char *) "greyout", NULL
31354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31356 if (!SWIG_IsOK(res1
)) {
31357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31359 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31360 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31361 if (!SWIG_IsOK(ecode2
)) {
31362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
31364 arg2
= static_cast< int >(val2
);
31366 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31367 if (!SWIG_IsOK(ecode3
)) {
31368 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
31370 arg3
= static_cast< bool >(val3
);
31373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31374 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
31375 wxPyEndAllowThreads(__tstate
);
31376 if (PyErr_Occurred()) SWIG_fail
;
31378 resultobj
= SWIG_Py_Void();
31385 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31386 PyObject
*resultobj
= 0;
31387 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31394 PyObject
* obj0
= 0 ;
31395 PyObject
* obj1
= 0 ;
31396 char * kwnames
[] = {
31397 (char *) "self",(char *) "id", NULL
31400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31402 if (!SWIG_IsOK(res1
)) {
31403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31405 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31406 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31407 if (!SWIG_IsOK(ecode2
)) {
31408 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
31410 arg2
= static_cast< int >(val2
);
31412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31413 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
31414 wxPyEndAllowThreads(__tstate
);
31415 if (PyErr_Occurred()) SWIG_fail
;
31418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31426 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31427 PyObject
*resultobj
= 0;
31428 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31431 int arg4
= (int) 1 ;
31432 wxColor
const &arg5_defvalue
= *wxWHITE
;
31433 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
31434 PyObject
*result
= 0 ;
31445 PyObject
* obj0
= 0 ;
31446 PyObject
* obj1
= 0 ;
31447 PyObject
* obj2
= 0 ;
31448 PyObject
* obj3
= 0 ;
31449 PyObject
* obj4
= 0 ;
31450 char * kwnames
[] = {
31451 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
31454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31456 if (!SWIG_IsOK(res1
)) {
31457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31459 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31460 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31461 if (!SWIG_IsOK(ecode2
)) {
31462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
31464 arg2
= static_cast< int >(val2
);
31465 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31466 if (!SWIG_IsOK(ecode3
)) {
31467 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
31469 arg3
= static_cast< int >(val3
);
31471 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31472 if (!SWIG_IsOK(ecode4
)) {
31473 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
31475 arg4
= static_cast< int >(val4
);
31478 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
31479 if (!SWIG_IsOK(res5
)) {
31480 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
31483 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
31485 arg5
= reinterpret_cast< wxColor
* >(argp5
);
31488 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
31489 if (PyErr_Occurred()) SWIG_fail
;
31491 resultobj
= result
;
31498 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31499 PyObject
*resultobj
= 0;
31500 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31503 PyObject
*result
= 0 ;
31510 PyObject
* obj0
= 0 ;
31511 PyObject
* obj1
= 0 ;
31512 PyObject
* obj2
= 0 ;
31513 char * kwnames
[] = {
31514 (char *) "self",(char *) "x",(char *) "y", NULL
31517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31519 if (!SWIG_IsOK(res1
)) {
31520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31522 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31523 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31524 if (!SWIG_IsOK(ecode2
)) {
31525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
31527 arg2
= static_cast< int >(val2
);
31528 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31529 if (!SWIG_IsOK(ecode3
)) {
31530 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
31532 arg3
= static_cast< int >(val3
);
31534 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
31535 if (PyErr_Occurred()) SWIG_fail
;
31537 resultobj
= result
;
31544 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31545 PyObject
*resultobj
= 0;
31546 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31548 wxDC
*arg3
= (wxDC
*) 0 ;
31555 PyObject
* obj0
= 0 ;
31556 PyObject
* obj1
= 0 ;
31557 PyObject
* obj2
= 0 ;
31558 char * kwnames
[] = {
31559 (char *) "self",(char *) "id",(char *) "dc", NULL
31562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31564 if (!SWIG_IsOK(res1
)) {
31565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31567 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31568 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31569 if (!SWIG_IsOK(ecode2
)) {
31570 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
31572 arg2
= static_cast< int >(val2
);
31573 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
31574 if (!SWIG_IsOK(res3
)) {
31575 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
31577 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31580 (arg1
)->DrawIdToDC(arg2
,arg3
);
31581 wxPyEndAllowThreads(__tstate
);
31582 if (PyErr_Occurred()) SWIG_fail
;
31584 resultobj
= SWIG_Py_Void();
31591 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31592 PyObject
*resultobj
= 0;
31593 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31601 PyObject
* obj0
= 0 ;
31602 PyObject
* obj1
= 0 ;
31603 PyObject
* obj2
= 0 ;
31604 char * kwnames
[] = {
31605 (char *) "self",(char *) "id",(char *) "rect", NULL
31608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31610 if (!SWIG_IsOK(res1
)) {
31611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31613 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31615 if (!SWIG_IsOK(ecode2
)) {
31616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
31618 arg2
= static_cast< int >(val2
);
31621 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
31624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31625 (arg1
)->SetIdBounds(arg2
,*arg3
);
31626 wxPyEndAllowThreads(__tstate
);
31627 if (PyErr_Occurred()) SWIG_fail
;
31629 resultobj
= SWIG_Py_Void();
31636 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31637 PyObject
*resultobj
= 0;
31638 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31645 PyObject
* obj0
= 0 ;
31646 PyObject
* obj1
= 0 ;
31647 char * kwnames
[] = {
31648 (char *) "self",(char *) "id", NULL
31651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31653 if (!SWIG_IsOK(res1
)) {
31654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31656 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31657 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31658 if (!SWIG_IsOK(ecode2
)) {
31659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
31661 arg2
= static_cast< int >(val2
);
31663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31664 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
31665 wxPyEndAllowThreads(__tstate
);
31666 if (PyErr_Occurred()) SWIG_fail
;
31668 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
31675 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31676 PyObject
*resultobj
= 0;
31677 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31678 wxDC
*arg2
= (wxDC
*) 0 ;
31685 PyObject
* obj0
= 0 ;
31686 PyObject
* obj1
= 0 ;
31687 PyObject
* obj2
= 0 ;
31688 char * kwnames
[] = {
31689 (char *) "self",(char *) "dc",(char *) "rect", NULL
31692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31694 if (!SWIG_IsOK(res1
)) {
31695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31697 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31698 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
31699 if (!SWIG_IsOK(res2
)) {
31700 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
31702 arg2
= reinterpret_cast< wxDC
* >(argp2
);
31705 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
31708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31709 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
31710 wxPyEndAllowThreads(__tstate
);
31711 if (PyErr_Occurred()) SWIG_fail
;
31713 resultobj
= SWIG_Py_Void();
31720 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31721 PyObject
*resultobj
= 0;
31722 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31723 wxDC
*arg2
= (wxDC
*) 0 ;
31724 wxRegion
*arg3
= 0 ;
31731 PyObject
* obj0
= 0 ;
31732 PyObject
* obj1
= 0 ;
31733 PyObject
* obj2
= 0 ;
31734 char * kwnames
[] = {
31735 (char *) "self",(char *) "dc",(char *) "region", NULL
31738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31740 if (!SWIG_IsOK(res1
)) {
31741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31743 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31744 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
31745 if (!SWIG_IsOK(res2
)) {
31746 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
31748 arg2
= reinterpret_cast< wxDC
* >(argp2
);
31749 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
31750 if (!SWIG_IsOK(res3
)) {
31751 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
31754 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
31756 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
31758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31759 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
31760 wxPyEndAllowThreads(__tstate
);
31761 if (PyErr_Occurred()) SWIG_fail
;
31763 resultobj
= SWIG_Py_Void();
31770 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31771 PyObject
*resultobj
= 0;
31772 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31773 wxDC
*arg2
= (wxDC
*) 0 ;
31778 PyObject
* obj0
= 0 ;
31779 PyObject
* obj1
= 0 ;
31780 char * kwnames
[] = {
31781 (char *) "self",(char *) "dc", NULL
31784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31786 if (!SWIG_IsOK(res1
)) {
31787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31789 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31790 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
31791 if (!SWIG_IsOK(res2
)) {
31792 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
31794 arg2
= reinterpret_cast< wxDC
* >(argp2
);
31796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31797 (arg1
)->DrawToDC(arg2
);
31798 wxPyEndAllowThreads(__tstate
);
31799 if (PyErr_Occurred()) SWIG_fail
;
31801 resultobj
= SWIG_Py_Void();
31808 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31809 PyObject
*resultobj
= 0;
31810 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31813 wxColour
*arg4
= 0 ;
31814 int arg5
= (int) wxFLOOD_SURFACE
;
31824 PyObject
* obj0
= 0 ;
31825 PyObject
* obj1
= 0 ;
31826 PyObject
* obj2
= 0 ;
31827 PyObject
* obj3
= 0 ;
31828 PyObject
* obj4
= 0 ;
31829 char * kwnames
[] = {
31830 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
31833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31835 if (!SWIG_IsOK(res1
)) {
31836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31838 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31839 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31840 if (!SWIG_IsOK(ecode2
)) {
31841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
31843 arg2
= static_cast< int >(val2
);
31844 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31845 if (!SWIG_IsOK(ecode3
)) {
31846 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
31848 arg3
= static_cast< int >(val3
);
31851 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
31854 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31855 if (!SWIG_IsOK(ecode5
)) {
31856 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
31858 arg5
= static_cast< int >(val5
);
31861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31862 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
31863 wxPyEndAllowThreads(__tstate
);
31864 if (PyErr_Occurred()) SWIG_fail
;
31866 resultobj
= SWIG_Py_Void();
31873 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31874 PyObject
*resultobj
= 0;
31875 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31876 wxPoint
*arg2
= 0 ;
31877 wxColour
*arg3
= 0 ;
31878 int arg4
= (int) wxFLOOD_SURFACE
;
31885 PyObject
* obj0
= 0 ;
31886 PyObject
* obj1
= 0 ;
31887 PyObject
* obj2
= 0 ;
31888 PyObject
* obj3
= 0 ;
31889 char * kwnames
[] = {
31890 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
31893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31895 if (!SWIG_IsOK(res1
)) {
31896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31898 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31901 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31905 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31908 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31909 if (!SWIG_IsOK(ecode4
)) {
31910 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
31912 arg4
= static_cast< int >(val4
);
31915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31916 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
31917 wxPyEndAllowThreads(__tstate
);
31918 if (PyErr_Occurred()) SWIG_fail
;
31920 resultobj
= SWIG_Py_Void();
31927 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31928 PyObject
*resultobj
= 0;
31929 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31944 PyObject
* obj0
= 0 ;
31945 PyObject
* obj1
= 0 ;
31946 PyObject
* obj2
= 0 ;
31947 PyObject
* obj3
= 0 ;
31948 PyObject
* obj4
= 0 ;
31949 char * kwnames
[] = {
31950 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
31953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31955 if (!SWIG_IsOK(res1
)) {
31956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31958 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31959 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31960 if (!SWIG_IsOK(ecode2
)) {
31961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
31963 arg2
= static_cast< int >(val2
);
31964 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31965 if (!SWIG_IsOK(ecode3
)) {
31966 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
31968 arg3
= static_cast< int >(val3
);
31969 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31970 if (!SWIG_IsOK(ecode4
)) {
31971 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
31973 arg4
= static_cast< int >(val4
);
31974 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31975 if (!SWIG_IsOK(ecode5
)) {
31976 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
31978 arg5
= static_cast< int >(val5
);
31980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31981 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
31982 wxPyEndAllowThreads(__tstate
);
31983 if (PyErr_Occurred()) SWIG_fail
;
31985 resultobj
= SWIG_Py_Void();
31992 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31993 PyObject
*resultobj
= 0;
31994 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31995 wxPoint
*arg2
= 0 ;
31996 wxPoint
*arg3
= 0 ;
32001 PyObject
* obj0
= 0 ;
32002 PyObject
* obj1
= 0 ;
32003 PyObject
* obj2
= 0 ;
32004 char * kwnames
[] = {
32005 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
32008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32010 if (!SWIG_IsOK(res1
)) {
32011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32013 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32016 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32020 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32024 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
32025 wxPyEndAllowThreads(__tstate
);
32026 if (PyErr_Occurred()) SWIG_fail
;
32028 resultobj
= SWIG_Py_Void();
32035 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32036 PyObject
*resultobj
= 0;
32037 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32046 PyObject
* obj0
= 0 ;
32047 PyObject
* obj1
= 0 ;
32048 PyObject
* obj2
= 0 ;
32049 char * kwnames
[] = {
32050 (char *) "self",(char *) "x",(char *) "y", NULL
32053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32055 if (!SWIG_IsOK(res1
)) {
32056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32058 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32059 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32060 if (!SWIG_IsOK(ecode2
)) {
32061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
32063 arg2
= static_cast< int >(val2
);
32064 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32065 if (!SWIG_IsOK(ecode3
)) {
32066 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
32068 arg3
= static_cast< int >(val3
);
32070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32071 (arg1
)->CrossHair(arg2
,arg3
);
32072 wxPyEndAllowThreads(__tstate
);
32073 if (PyErr_Occurred()) SWIG_fail
;
32075 resultobj
= SWIG_Py_Void();
32082 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32083 PyObject
*resultobj
= 0;
32084 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32085 wxPoint
*arg2
= 0 ;
32089 PyObject
* obj0
= 0 ;
32090 PyObject
* obj1
= 0 ;
32091 char * kwnames
[] = {
32092 (char *) "self",(char *) "pt", NULL
32095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) 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_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32100 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32103 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32107 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
32108 wxPyEndAllowThreads(__tstate
);
32109 if (PyErr_Occurred()) SWIG_fail
;
32111 resultobj
= SWIG_Py_Void();
32118 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32119 PyObject
*resultobj
= 0;
32120 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32141 PyObject
* obj0
= 0 ;
32142 PyObject
* obj1
= 0 ;
32143 PyObject
* obj2
= 0 ;
32144 PyObject
* obj3
= 0 ;
32145 PyObject
* obj4
= 0 ;
32146 PyObject
* obj5
= 0 ;
32147 PyObject
* obj6
= 0 ;
32148 char * kwnames
[] = {
32149 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
32152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32154 if (!SWIG_IsOK(res1
)) {
32155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32157 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32158 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32159 if (!SWIG_IsOK(ecode2
)) {
32160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
32162 arg2
= static_cast< int >(val2
);
32163 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32164 if (!SWIG_IsOK(ecode3
)) {
32165 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
32167 arg3
= static_cast< int >(val3
);
32168 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32169 if (!SWIG_IsOK(ecode4
)) {
32170 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
32172 arg4
= static_cast< int >(val4
);
32173 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32174 if (!SWIG_IsOK(ecode5
)) {
32175 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
32177 arg5
= static_cast< int >(val5
);
32178 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
32179 if (!SWIG_IsOK(ecode6
)) {
32180 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
32182 arg6
= static_cast< int >(val6
);
32183 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
32184 if (!SWIG_IsOK(ecode7
)) {
32185 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
32187 arg7
= static_cast< int >(val7
);
32189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32190 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
32191 wxPyEndAllowThreads(__tstate
);
32192 if (PyErr_Occurred()) SWIG_fail
;
32194 resultobj
= SWIG_Py_Void();
32201 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32202 PyObject
*resultobj
= 0;
32203 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32204 wxPoint
*arg2
= 0 ;
32205 wxPoint
*arg3
= 0 ;
32206 wxPoint
*arg4
= 0 ;
32212 PyObject
* obj0
= 0 ;
32213 PyObject
* obj1
= 0 ;
32214 PyObject
* obj2
= 0 ;
32215 PyObject
* obj3
= 0 ;
32216 char * kwnames
[] = {
32217 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
32220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32222 if (!SWIG_IsOK(res1
)) {
32223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32225 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32228 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32232 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32236 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32240 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
32241 wxPyEndAllowThreads(__tstate
);
32242 if (PyErr_Occurred()) SWIG_fail
;
32244 resultobj
= SWIG_Py_Void();
32251 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32252 PyObject
*resultobj
= 0;
32253 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32268 PyObject
* obj0
= 0 ;
32269 PyObject
* obj1
= 0 ;
32270 PyObject
* obj2
= 0 ;
32271 PyObject
* obj3
= 0 ;
32272 PyObject
* obj4
= 0 ;
32273 char * kwnames
[] = {
32274 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32279 if (!SWIG_IsOK(res1
)) {
32280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32282 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32283 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32284 if (!SWIG_IsOK(ecode2
)) {
32285 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
32287 arg2
= static_cast< int >(val2
);
32288 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32289 if (!SWIG_IsOK(ecode3
)) {
32290 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
32292 arg3
= static_cast< int >(val3
);
32293 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32294 if (!SWIG_IsOK(ecode4
)) {
32295 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
32297 arg4
= static_cast< int >(val4
);
32298 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32299 if (!SWIG_IsOK(ecode5
)) {
32300 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
32302 arg5
= static_cast< int >(val5
);
32304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32305 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
32306 wxPyEndAllowThreads(__tstate
);
32307 if (PyErr_Occurred()) SWIG_fail
;
32309 resultobj
= SWIG_Py_Void();
32316 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32317 PyObject
*resultobj
= 0;
32318 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32323 PyObject
* obj0
= 0 ;
32324 PyObject
* obj1
= 0 ;
32325 char * kwnames
[] = {
32326 (char *) "self",(char *) "rect", NULL
32329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32331 if (!SWIG_IsOK(res1
)) {
32332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32334 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32337 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32341 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
32342 wxPyEndAllowThreads(__tstate
);
32343 if (PyErr_Occurred()) SWIG_fail
;
32345 resultobj
= SWIG_Py_Void();
32352 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32353 PyObject
*resultobj
= 0;
32354 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32375 PyObject
* obj0
= 0 ;
32376 PyObject
* obj1
= 0 ;
32377 PyObject
* obj2
= 0 ;
32378 PyObject
* obj3
= 0 ;
32379 PyObject
* obj4
= 0 ;
32380 PyObject
* obj5
= 0 ;
32381 PyObject
* obj6
= 0 ;
32382 char * kwnames
[] = {
32383 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
32386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32388 if (!SWIG_IsOK(res1
)) {
32389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32391 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32392 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32393 if (!SWIG_IsOK(ecode2
)) {
32394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
32396 arg2
= static_cast< int >(val2
);
32397 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32398 if (!SWIG_IsOK(ecode3
)) {
32399 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
32401 arg3
= static_cast< int >(val3
);
32402 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32403 if (!SWIG_IsOK(ecode4
)) {
32404 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
32406 arg4
= static_cast< int >(val4
);
32407 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32408 if (!SWIG_IsOK(ecode5
)) {
32409 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
32411 arg5
= static_cast< int >(val5
);
32412 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
32413 if (!SWIG_IsOK(ecode6
)) {
32414 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
32416 arg6
= static_cast< double >(val6
);
32417 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
32418 if (!SWIG_IsOK(ecode7
)) {
32419 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
32421 arg7
= static_cast< double >(val7
);
32423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32424 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
32425 wxPyEndAllowThreads(__tstate
);
32426 if (PyErr_Occurred()) SWIG_fail
;
32428 resultobj
= SWIG_Py_Void();
32435 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32436 PyObject
*resultobj
= 0;
32437 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32438 wxPoint
*arg2
= 0 ;
32450 PyObject
* obj0
= 0 ;
32451 PyObject
* obj1
= 0 ;
32452 PyObject
* obj2
= 0 ;
32453 PyObject
* obj3
= 0 ;
32454 PyObject
* obj4
= 0 ;
32455 char * kwnames
[] = {
32456 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
32459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32461 if (!SWIG_IsOK(res1
)) {
32462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32464 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32467 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32471 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32473 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
32474 if (!SWIG_IsOK(ecode4
)) {
32475 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
32477 arg4
= static_cast< double >(val4
);
32478 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
32479 if (!SWIG_IsOK(ecode5
)) {
32480 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
32482 arg5
= static_cast< double >(val5
);
32484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32485 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
32486 wxPyEndAllowThreads(__tstate
);
32487 if (PyErr_Occurred()) SWIG_fail
;
32489 resultobj
= SWIG_Py_Void();
32496 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32497 PyObject
*resultobj
= 0;
32498 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32507 PyObject
* obj0
= 0 ;
32508 PyObject
* obj1
= 0 ;
32509 PyObject
* obj2
= 0 ;
32510 char * kwnames
[] = {
32511 (char *) "self",(char *) "x",(char *) "y", NULL
32514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32516 if (!SWIG_IsOK(res1
)) {
32517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32519 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32521 if (!SWIG_IsOK(ecode2
)) {
32522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
32524 arg2
= static_cast< int >(val2
);
32525 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32526 if (!SWIG_IsOK(ecode3
)) {
32527 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
32529 arg3
= static_cast< int >(val3
);
32531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32532 (arg1
)->DrawPoint(arg2
,arg3
);
32533 wxPyEndAllowThreads(__tstate
);
32534 if (PyErr_Occurred()) SWIG_fail
;
32536 resultobj
= SWIG_Py_Void();
32543 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32544 PyObject
*resultobj
= 0;
32545 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32546 wxPoint
*arg2
= 0 ;
32550 PyObject
* obj0
= 0 ;
32551 PyObject
* obj1
= 0 ;
32552 char * kwnames
[] = {
32553 (char *) "self",(char *) "pt", NULL
32556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) 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_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32561 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32564 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32568 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
32569 wxPyEndAllowThreads(__tstate
);
32570 if (PyErr_Occurred()) SWIG_fail
;
32572 resultobj
= SWIG_Py_Void();
32579 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32580 PyObject
*resultobj
= 0;
32581 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32596 PyObject
* obj0
= 0 ;
32597 PyObject
* obj1
= 0 ;
32598 PyObject
* obj2
= 0 ;
32599 PyObject
* obj3
= 0 ;
32600 PyObject
* obj4
= 0 ;
32601 char * kwnames
[] = {
32602 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32607 if (!SWIG_IsOK(res1
)) {
32608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32610 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32611 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32612 if (!SWIG_IsOK(ecode2
)) {
32613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
32615 arg2
= static_cast< int >(val2
);
32616 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32617 if (!SWIG_IsOK(ecode3
)) {
32618 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
32620 arg3
= static_cast< int >(val3
);
32621 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32622 if (!SWIG_IsOK(ecode4
)) {
32623 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
32625 arg4
= static_cast< int >(val4
);
32626 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32627 if (!SWIG_IsOK(ecode5
)) {
32628 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
32630 arg5
= static_cast< int >(val5
);
32632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32633 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
32634 wxPyEndAllowThreads(__tstate
);
32635 if (PyErr_Occurred()) SWIG_fail
;
32637 resultobj
= SWIG_Py_Void();
32644 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32645 PyObject
*resultobj
= 0;
32646 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32651 PyObject
* obj0
= 0 ;
32652 PyObject
* obj1
= 0 ;
32653 char * kwnames
[] = {
32654 (char *) "self",(char *) "rect", NULL
32657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32659 if (!SWIG_IsOK(res1
)) {
32660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32662 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32665 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32669 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
32670 wxPyEndAllowThreads(__tstate
);
32671 if (PyErr_Occurred()) SWIG_fail
;
32673 resultobj
= SWIG_Py_Void();
32680 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32681 PyObject
*resultobj
= 0;
32682 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32683 wxPoint
*arg2
= 0 ;
32689 PyObject
* obj0
= 0 ;
32690 PyObject
* obj1
= 0 ;
32691 PyObject
* obj2
= 0 ;
32692 char * kwnames
[] = {
32693 (char *) "self",(char *) "pt",(char *) "sz", NULL
32696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32698 if (!SWIG_IsOK(res1
)) {
32699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32701 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32704 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32708 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32712 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
32713 wxPyEndAllowThreads(__tstate
);
32714 if (PyErr_Occurred()) SWIG_fail
;
32716 resultobj
= SWIG_Py_Void();
32723 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32724 PyObject
*resultobj
= 0;
32725 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32743 PyObject
* obj0
= 0 ;
32744 PyObject
* obj1
= 0 ;
32745 PyObject
* obj2
= 0 ;
32746 PyObject
* obj3
= 0 ;
32747 PyObject
* obj4
= 0 ;
32748 PyObject
* obj5
= 0 ;
32749 char * kwnames
[] = {
32750 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
32753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
32754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32755 if (!SWIG_IsOK(res1
)) {
32756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32758 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32759 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32760 if (!SWIG_IsOK(ecode2
)) {
32761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
32763 arg2
= static_cast< int >(val2
);
32764 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32765 if (!SWIG_IsOK(ecode3
)) {
32766 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
32768 arg3
= static_cast< int >(val3
);
32769 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32770 if (!SWIG_IsOK(ecode4
)) {
32771 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
32773 arg4
= static_cast< int >(val4
);
32774 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32775 if (!SWIG_IsOK(ecode5
)) {
32776 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
32778 arg5
= static_cast< int >(val5
);
32779 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
32780 if (!SWIG_IsOK(ecode6
)) {
32781 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
32783 arg6
= static_cast< double >(val6
);
32785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32786 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
32787 wxPyEndAllowThreads(__tstate
);
32788 if (PyErr_Occurred()) SWIG_fail
;
32790 resultobj
= SWIG_Py_Void();
32797 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32798 PyObject
*resultobj
= 0;
32799 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32807 PyObject
* obj0
= 0 ;
32808 PyObject
* obj1
= 0 ;
32809 PyObject
* obj2
= 0 ;
32810 char * kwnames
[] = {
32811 (char *) "self",(char *) "r",(char *) "radius", NULL
32814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32816 if (!SWIG_IsOK(res1
)) {
32817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32819 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32822 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32824 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
32825 if (!SWIG_IsOK(ecode3
)) {
32826 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
32828 arg3
= static_cast< double >(val3
);
32830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32831 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
32832 wxPyEndAllowThreads(__tstate
);
32833 if (PyErr_Occurred()) SWIG_fail
;
32835 resultobj
= SWIG_Py_Void();
32842 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32843 PyObject
*resultobj
= 0;
32844 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32845 wxPoint
*arg2
= 0 ;
32854 PyObject
* obj0
= 0 ;
32855 PyObject
* obj1
= 0 ;
32856 PyObject
* obj2
= 0 ;
32857 PyObject
* obj3
= 0 ;
32858 char * kwnames
[] = {
32859 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
32862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32864 if (!SWIG_IsOK(res1
)) {
32865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32867 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32870 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32874 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32876 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
32877 if (!SWIG_IsOK(ecode4
)) {
32878 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
32880 arg4
= static_cast< double >(val4
);
32882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32883 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
32884 wxPyEndAllowThreads(__tstate
);
32885 if (PyErr_Occurred()) SWIG_fail
;
32887 resultobj
= SWIG_Py_Void();
32894 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32895 PyObject
*resultobj
= 0;
32896 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32908 PyObject
* obj0
= 0 ;
32909 PyObject
* obj1
= 0 ;
32910 PyObject
* obj2
= 0 ;
32911 PyObject
* obj3
= 0 ;
32912 char * kwnames
[] = {
32913 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
32916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32918 if (!SWIG_IsOK(res1
)) {
32919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32921 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32922 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32923 if (!SWIG_IsOK(ecode2
)) {
32924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
32926 arg2
= static_cast< int >(val2
);
32927 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32928 if (!SWIG_IsOK(ecode3
)) {
32929 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
32931 arg3
= static_cast< int >(val3
);
32932 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32933 if (!SWIG_IsOK(ecode4
)) {
32934 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
32936 arg4
= static_cast< int >(val4
);
32938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32939 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
32940 wxPyEndAllowThreads(__tstate
);
32941 if (PyErr_Occurred()) SWIG_fail
;
32943 resultobj
= SWIG_Py_Void();
32950 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32951 PyObject
*resultobj
= 0;
32952 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32953 wxPoint
*arg2
= 0 ;
32960 PyObject
* obj0
= 0 ;
32961 PyObject
* obj1
= 0 ;
32962 PyObject
* obj2
= 0 ;
32963 char * kwnames
[] = {
32964 (char *) "self",(char *) "pt",(char *) "radius", NULL
32967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32969 if (!SWIG_IsOK(res1
)) {
32970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32972 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32975 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32977 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32978 if (!SWIG_IsOK(ecode3
)) {
32979 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
32981 arg3
= static_cast< int >(val3
);
32983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32984 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
32985 wxPyEndAllowThreads(__tstate
);
32986 if (PyErr_Occurred()) SWIG_fail
;
32988 resultobj
= SWIG_Py_Void();
32995 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32996 PyObject
*resultobj
= 0;
32997 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33012 PyObject
* obj0
= 0 ;
33013 PyObject
* obj1
= 0 ;
33014 PyObject
* obj2
= 0 ;
33015 PyObject
* obj3
= 0 ;
33016 PyObject
* obj4
= 0 ;
33017 char * kwnames
[] = {
33018 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33023 if (!SWIG_IsOK(res1
)) {
33024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33026 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33027 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33028 if (!SWIG_IsOK(ecode2
)) {
33029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
33031 arg2
= static_cast< int >(val2
);
33032 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33033 if (!SWIG_IsOK(ecode3
)) {
33034 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
33036 arg3
= static_cast< int >(val3
);
33037 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33038 if (!SWIG_IsOK(ecode4
)) {
33039 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
33041 arg4
= static_cast< int >(val4
);
33042 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33043 if (!SWIG_IsOK(ecode5
)) {
33044 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
33046 arg5
= static_cast< int >(val5
);
33048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33049 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
33050 wxPyEndAllowThreads(__tstate
);
33051 if (PyErr_Occurred()) SWIG_fail
;
33053 resultobj
= SWIG_Py_Void();
33060 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33061 PyObject
*resultobj
= 0;
33062 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33067 PyObject
* obj0
= 0 ;
33068 PyObject
* obj1
= 0 ;
33069 char * kwnames
[] = {
33070 (char *) "self",(char *) "rect", NULL
33073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33075 if (!SWIG_IsOK(res1
)) {
33076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33078 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33081 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33085 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
33086 wxPyEndAllowThreads(__tstate
);
33087 if (PyErr_Occurred()) SWIG_fail
;
33089 resultobj
= SWIG_Py_Void();
33096 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33097 PyObject
*resultobj
= 0;
33098 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33099 wxPoint
*arg2
= 0 ;
33105 PyObject
* obj0
= 0 ;
33106 PyObject
* obj1
= 0 ;
33107 PyObject
* obj2
= 0 ;
33108 char * kwnames
[] = {
33109 (char *) "self",(char *) "pt",(char *) "sz", NULL
33112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33114 if (!SWIG_IsOK(res1
)) {
33115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33117 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33120 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33124 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33128 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
33129 wxPyEndAllowThreads(__tstate
);
33130 if (PyErr_Occurred()) SWIG_fail
;
33132 resultobj
= SWIG_Py_Void();
33139 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33140 PyObject
*resultobj
= 0;
33141 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33153 PyObject
* obj0
= 0 ;
33154 PyObject
* obj1
= 0 ;
33155 PyObject
* obj2
= 0 ;
33156 PyObject
* obj3
= 0 ;
33157 char * kwnames
[] = {
33158 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
33161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33163 if (!SWIG_IsOK(res1
)) {
33164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33166 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33167 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
33168 if (!SWIG_IsOK(res2
)) {
33169 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
33172 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
33174 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
33175 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33176 if (!SWIG_IsOK(ecode3
)) {
33177 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
33179 arg3
= static_cast< int >(val3
);
33180 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33181 if (!SWIG_IsOK(ecode4
)) {
33182 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
33184 arg4
= static_cast< int >(val4
);
33186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33187 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
33188 wxPyEndAllowThreads(__tstate
);
33189 if (PyErr_Occurred()) SWIG_fail
;
33191 resultobj
= SWIG_Py_Void();
33198 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33199 PyObject
*resultobj
= 0;
33200 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33202 wxPoint
*arg3
= 0 ;
33208 PyObject
* obj0
= 0 ;
33209 PyObject
* obj1
= 0 ;
33210 PyObject
* obj2
= 0 ;
33211 char * kwnames
[] = {
33212 (char *) "self",(char *) "icon",(char *) "pt", NULL
33215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33217 if (!SWIG_IsOK(res1
)) {
33218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33220 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33221 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
33222 if (!SWIG_IsOK(res2
)) {
33223 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
33226 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
33228 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
33231 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33235 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
33236 wxPyEndAllowThreads(__tstate
);
33237 if (PyErr_Occurred()) SWIG_fail
;
33239 resultobj
= SWIG_Py_Void();
33246 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33247 PyObject
*resultobj
= 0;
33248 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33249 wxBitmap
*arg2
= 0 ;
33252 bool arg5
= (bool) false ;
33263 PyObject
* obj0
= 0 ;
33264 PyObject
* obj1
= 0 ;
33265 PyObject
* obj2
= 0 ;
33266 PyObject
* obj3
= 0 ;
33267 PyObject
* obj4
= 0 ;
33268 char * kwnames
[] = {
33269 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
33272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33274 if (!SWIG_IsOK(res1
)) {
33275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33277 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33278 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33279 if (!SWIG_IsOK(res2
)) {
33280 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33283 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33285 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33286 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33287 if (!SWIG_IsOK(ecode3
)) {
33288 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
33290 arg3
= static_cast< int >(val3
);
33291 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33292 if (!SWIG_IsOK(ecode4
)) {
33293 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
33295 arg4
= static_cast< int >(val4
);
33297 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
33298 if (!SWIG_IsOK(ecode5
)) {
33299 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
33301 arg5
= static_cast< bool >(val5
);
33304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33305 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
33306 wxPyEndAllowThreads(__tstate
);
33307 if (PyErr_Occurred()) SWIG_fail
;
33309 resultobj
= SWIG_Py_Void();
33316 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33317 PyObject
*resultobj
= 0;
33318 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33319 wxBitmap
*arg2
= 0 ;
33320 wxPoint
*arg3
= 0 ;
33321 bool arg4
= (bool) false ;
33329 PyObject
* obj0
= 0 ;
33330 PyObject
* obj1
= 0 ;
33331 PyObject
* obj2
= 0 ;
33332 PyObject
* obj3
= 0 ;
33333 char * kwnames
[] = {
33334 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
33337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33339 if (!SWIG_IsOK(res1
)) {
33340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33342 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33343 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33344 if (!SWIG_IsOK(res2
)) {
33345 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33348 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33350 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33353 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33356 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
33357 if (!SWIG_IsOK(ecode4
)) {
33358 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
33360 arg4
= static_cast< bool >(val4
);
33363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33364 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
33365 wxPyEndAllowThreads(__tstate
);
33366 if (PyErr_Occurred()) SWIG_fail
;
33368 resultobj
= SWIG_Py_Void();
33375 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33376 PyObject
*resultobj
= 0;
33377 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33378 wxString
*arg2
= 0 ;
33383 bool temp2
= false ;
33388 PyObject
* obj0
= 0 ;
33389 PyObject
* obj1
= 0 ;
33390 PyObject
* obj2
= 0 ;
33391 PyObject
* obj3
= 0 ;
33392 char * kwnames
[] = {
33393 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
33396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33398 if (!SWIG_IsOK(res1
)) {
33399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33401 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33403 arg2
= wxString_in_helper(obj1
);
33404 if (arg2
== NULL
) SWIG_fail
;
33407 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33408 if (!SWIG_IsOK(ecode3
)) {
33409 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
33411 arg3
= static_cast< int >(val3
);
33412 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33413 if (!SWIG_IsOK(ecode4
)) {
33414 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
33416 arg4
= static_cast< int >(val4
);
33418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33419 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
33420 wxPyEndAllowThreads(__tstate
);
33421 if (PyErr_Occurred()) SWIG_fail
;
33423 resultobj
= SWIG_Py_Void();
33438 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33439 PyObject
*resultobj
= 0;
33440 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33441 wxString
*arg2
= 0 ;
33442 wxPoint
*arg3
= 0 ;
33445 bool temp2
= false ;
33447 PyObject
* obj0
= 0 ;
33448 PyObject
* obj1
= 0 ;
33449 PyObject
* obj2
= 0 ;
33450 char * kwnames
[] = {
33451 (char *) "self",(char *) "text",(char *) "pt", NULL
33454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33456 if (!SWIG_IsOK(res1
)) {
33457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33459 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33461 arg2
= wxString_in_helper(obj1
);
33462 if (arg2
== NULL
) SWIG_fail
;
33467 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33471 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
33472 wxPyEndAllowThreads(__tstate
);
33473 if (PyErr_Occurred()) SWIG_fail
;
33475 resultobj
= SWIG_Py_Void();
33490 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33491 PyObject
*resultobj
= 0;
33492 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33493 wxString
*arg2
= 0 ;
33499 bool temp2
= false ;
33506 PyObject
* obj0
= 0 ;
33507 PyObject
* obj1
= 0 ;
33508 PyObject
* obj2
= 0 ;
33509 PyObject
* obj3
= 0 ;
33510 PyObject
* obj4
= 0 ;
33511 char * kwnames
[] = {
33512 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
33515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33517 if (!SWIG_IsOK(res1
)) {
33518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33520 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33522 arg2
= wxString_in_helper(obj1
);
33523 if (arg2
== NULL
) SWIG_fail
;
33526 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33527 if (!SWIG_IsOK(ecode3
)) {
33528 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
33530 arg3
= static_cast< int >(val3
);
33531 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33532 if (!SWIG_IsOK(ecode4
)) {
33533 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
33535 arg4
= static_cast< int >(val4
);
33536 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
33537 if (!SWIG_IsOK(ecode5
)) {
33538 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
33540 arg5
= static_cast< double >(val5
);
33542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33543 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
33544 wxPyEndAllowThreads(__tstate
);
33545 if (PyErr_Occurred()) SWIG_fail
;
33547 resultobj
= SWIG_Py_Void();
33562 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33563 PyObject
*resultobj
= 0;
33564 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33565 wxString
*arg2
= 0 ;
33566 wxPoint
*arg3
= 0 ;
33570 bool temp2
= false ;
33574 PyObject
* obj0
= 0 ;
33575 PyObject
* obj1
= 0 ;
33576 PyObject
* obj2
= 0 ;
33577 PyObject
* obj3
= 0 ;
33578 char * kwnames
[] = {
33579 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
33582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33584 if (!SWIG_IsOK(res1
)) {
33585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33587 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33589 arg2
= wxString_in_helper(obj1
);
33590 if (arg2
== NULL
) SWIG_fail
;
33595 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33597 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
33598 if (!SWIG_IsOK(ecode4
)) {
33599 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
33601 arg4
= static_cast< double >(val4
);
33603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33604 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
33605 wxPyEndAllowThreads(__tstate
);
33606 if (PyErr_Occurred()) SWIG_fail
;
33608 resultobj
= SWIG_Py_Void();
33623 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33624 PyObject
*resultobj
= 0;
33625 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33627 wxPoint
*arg3
= (wxPoint
*) 0 ;
33628 int arg4
= (int) 0 ;
33629 int arg5
= (int) 0 ;
33636 PyObject
* obj0
= 0 ;
33637 PyObject
* obj1
= 0 ;
33638 PyObject
* obj2
= 0 ;
33639 PyObject
* obj3
= 0 ;
33640 char * kwnames
[] = {
33641 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
33644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33646 if (!SWIG_IsOK(res1
)) {
33647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33649 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33651 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
33652 if (arg3
== NULL
) SWIG_fail
;
33655 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
33656 if (!SWIG_IsOK(ecode4
)) {
33657 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
33659 arg4
= static_cast< int >(val4
);
33662 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
33663 if (!SWIG_IsOK(ecode5
)) {
33664 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
33666 arg5
= static_cast< int >(val5
);
33669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33670 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
33671 wxPyEndAllowThreads(__tstate
);
33672 if (PyErr_Occurred()) SWIG_fail
;
33674 resultobj
= SWIG_Py_Void();
33676 if (arg3
) delete [] arg3
;
33681 if (arg3
) delete [] arg3
;
33687 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33688 PyObject
*resultobj
= 0;
33689 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33691 wxPoint
*arg3
= (wxPoint
*) 0 ;
33692 int arg4
= (int) 0 ;
33693 int arg5
= (int) 0 ;
33694 int arg6
= (int) wxODDEVEN_RULE
;
33703 PyObject
* obj0
= 0 ;
33704 PyObject
* obj1
= 0 ;
33705 PyObject
* obj2
= 0 ;
33706 PyObject
* obj3
= 0 ;
33707 PyObject
* obj4
= 0 ;
33708 char * kwnames
[] = {
33709 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
33712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33714 if (!SWIG_IsOK(res1
)) {
33715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33717 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33719 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
33720 if (arg3
== NULL
) SWIG_fail
;
33723 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
33724 if (!SWIG_IsOK(ecode4
)) {
33725 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
33727 arg4
= static_cast< int >(val4
);
33730 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
33731 if (!SWIG_IsOK(ecode5
)) {
33732 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
33734 arg5
= static_cast< int >(val5
);
33737 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
33738 if (!SWIG_IsOK(ecode6
)) {
33739 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
33741 arg6
= static_cast< int >(val6
);
33744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33745 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
33746 wxPyEndAllowThreads(__tstate
);
33747 if (PyErr_Occurred()) SWIG_fail
;
33749 resultobj
= SWIG_Py_Void();
33751 if (arg3
) delete [] arg3
;
33756 if (arg3
) delete [] arg3
;
33762 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33763 PyObject
*resultobj
= 0;
33764 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33765 wxString
*arg2
= 0 ;
33767 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
33768 int arg5
= (int) -1 ;
33771 bool temp2
= false ;
33777 PyObject
* obj0
= 0 ;
33778 PyObject
* obj1
= 0 ;
33779 PyObject
* obj2
= 0 ;
33780 PyObject
* obj3
= 0 ;
33781 PyObject
* obj4
= 0 ;
33782 char * kwnames
[] = {
33783 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
33786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33788 if (!SWIG_IsOK(res1
)) {
33789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33791 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33793 arg2
= wxString_in_helper(obj1
);
33794 if (arg2
== NULL
) SWIG_fail
;
33799 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33802 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33803 if (!SWIG_IsOK(ecode4
)) {
33804 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
33806 arg4
= static_cast< int >(val4
);
33809 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33810 if (!SWIG_IsOK(ecode5
)) {
33811 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
33813 arg5
= static_cast< int >(val5
);
33816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33817 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
33818 wxPyEndAllowThreads(__tstate
);
33819 if (PyErr_Occurred()) SWIG_fail
;
33821 resultobj
= SWIG_Py_Void();
33836 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33837 PyObject
*resultobj
= 0;
33838 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33839 wxString
*arg2
= 0 ;
33840 wxBitmap
*arg3
= 0 ;
33842 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
33843 int arg6
= (int) -1 ;
33846 bool temp2
= false ;
33854 PyObject
* obj0
= 0 ;
33855 PyObject
* obj1
= 0 ;
33856 PyObject
* obj2
= 0 ;
33857 PyObject
* obj3
= 0 ;
33858 PyObject
* obj4
= 0 ;
33859 PyObject
* obj5
= 0 ;
33860 char * kwnames
[] = {
33861 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
33864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33866 if (!SWIG_IsOK(res1
)) {
33867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33869 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33871 arg2
= wxString_in_helper(obj1
);
33872 if (arg2
== NULL
) SWIG_fail
;
33875 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33876 if (!SWIG_IsOK(res3
)) {
33877 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
33880 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
33882 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
33885 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
33888 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33889 if (!SWIG_IsOK(ecode5
)) {
33890 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
33892 arg5
= static_cast< int >(val5
);
33895 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
33896 if (!SWIG_IsOK(ecode6
)) {
33897 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
33899 arg6
= static_cast< int >(val6
);
33902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33903 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
33904 wxPyEndAllowThreads(__tstate
);
33905 if (PyErr_Occurred()) SWIG_fail
;
33907 resultobj
= SWIG_Py_Void();
33922 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33923 PyObject
*resultobj
= 0;
33924 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33926 wxPoint
*arg3
= (wxPoint
*) 0 ;
33929 PyObject
* obj0
= 0 ;
33930 PyObject
* obj1
= 0 ;
33931 char * kwnames
[] = {
33932 (char *) "self",(char *) "points", NULL
33935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33937 if (!SWIG_IsOK(res1
)) {
33938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33940 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33942 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
33943 if (arg3
== NULL
) SWIG_fail
;
33946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33947 (arg1
)->DrawSpline(arg2
,arg3
);
33948 wxPyEndAllowThreads(__tstate
);
33949 if (PyErr_Occurred()) SWIG_fail
;
33951 resultobj
= SWIG_Py_Void();
33953 if (arg3
) delete [] arg3
;
33958 if (arg3
) delete [] arg3
;
33964 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33965 PyObject
*resultobj
= 0;
33966 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33969 PyObject
*swig_obj
[1] ;
33971 if (!args
) SWIG_fail
;
33972 swig_obj
[0] = args
;
33973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33974 if (!SWIG_IsOK(res1
)) {
33975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33977 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33981 wxPyEndAllowThreads(__tstate
);
33982 if (PyErr_Occurred()) SWIG_fail
;
33984 resultobj
= SWIG_Py_Void();
33991 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33992 PyObject
*resultobj
= 0;
33993 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33999 PyObject
* obj0
= 0 ;
34000 PyObject
* obj1
= 0 ;
34001 char * kwnames
[] = {
34002 (char *) "self",(char *) "font", NULL
34005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34007 if (!SWIG_IsOK(res1
)) {
34008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34010 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34011 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
34012 if (!SWIG_IsOK(res2
)) {
34013 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
34016 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
34018 arg2
= reinterpret_cast< wxFont
* >(argp2
);
34020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34021 (arg1
)->SetFont((wxFont
const &)*arg2
);
34022 wxPyEndAllowThreads(__tstate
);
34023 if (PyErr_Occurred()) SWIG_fail
;
34025 resultobj
= SWIG_Py_Void();
34032 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34033 PyObject
*resultobj
= 0;
34034 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34040 PyObject
* obj0
= 0 ;
34041 PyObject
* obj1
= 0 ;
34042 char * kwnames
[] = {
34043 (char *) "self",(char *) "pen", NULL
34046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34048 if (!SWIG_IsOK(res1
)) {
34049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34051 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34052 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
34053 if (!SWIG_IsOK(res2
)) {
34054 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
34057 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
34059 arg2
= reinterpret_cast< wxPen
* >(argp2
);
34061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34062 (arg1
)->SetPen((wxPen
const &)*arg2
);
34063 wxPyEndAllowThreads(__tstate
);
34064 if (PyErr_Occurred()) SWIG_fail
;
34066 resultobj
= SWIG_Py_Void();
34073 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34074 PyObject
*resultobj
= 0;
34075 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34076 wxBrush
*arg2
= 0 ;
34081 PyObject
* obj0
= 0 ;
34082 PyObject
* obj1
= 0 ;
34083 char * kwnames
[] = {
34084 (char *) "self",(char *) "brush", NULL
34087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34089 if (!SWIG_IsOK(res1
)) {
34090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34092 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34093 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
34094 if (!SWIG_IsOK(res2
)) {
34095 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
34098 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
34100 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
34102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34103 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
34104 wxPyEndAllowThreads(__tstate
);
34105 if (PyErr_Occurred()) SWIG_fail
;
34107 resultobj
= SWIG_Py_Void();
34114 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34115 PyObject
*resultobj
= 0;
34116 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34117 wxBrush
*arg2
= 0 ;
34122 PyObject
* obj0
= 0 ;
34123 PyObject
* obj1
= 0 ;
34124 char * kwnames
[] = {
34125 (char *) "self",(char *) "brush", NULL
34128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34130 if (!SWIG_IsOK(res1
)) {
34131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34133 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34134 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
34135 if (!SWIG_IsOK(res2
)) {
34136 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
34139 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
34141 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
34143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34144 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
34145 wxPyEndAllowThreads(__tstate
);
34146 if (PyErr_Occurred()) SWIG_fail
;
34148 resultobj
= SWIG_Py_Void();
34155 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34156 PyObject
*resultobj
= 0;
34157 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34163 PyObject
* obj0
= 0 ;
34164 PyObject
* obj1
= 0 ;
34165 char * kwnames
[] = {
34166 (char *) "self",(char *) "mode", NULL
34169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34171 if (!SWIG_IsOK(res1
)) {
34172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34174 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34175 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34176 if (!SWIG_IsOK(ecode2
)) {
34177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
34179 arg2
= static_cast< int >(val2
);
34181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34182 (arg1
)->SetBackgroundMode(arg2
);
34183 wxPyEndAllowThreads(__tstate
);
34184 if (PyErr_Occurred()) SWIG_fail
;
34186 resultobj
= SWIG_Py_Void();
34193 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34194 PyObject
*resultobj
= 0;
34195 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34196 wxPalette
*arg2
= 0 ;
34201 PyObject
* obj0
= 0 ;
34202 PyObject
* obj1
= 0 ;
34203 char * kwnames
[] = {
34204 (char *) "self",(char *) "palette", NULL
34207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34209 if (!SWIG_IsOK(res1
)) {
34210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34212 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34213 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
34214 if (!SWIG_IsOK(res2
)) {
34215 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
34218 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
34220 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
34222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34223 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
34224 wxPyEndAllowThreads(__tstate
);
34225 if (PyErr_Occurred()) SWIG_fail
;
34227 resultobj
= SWIG_Py_Void();
34234 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34235 PyObject
*resultobj
= 0;
34236 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34237 wxColour
*arg2
= 0 ;
34241 PyObject
* obj0
= 0 ;
34242 PyObject
* obj1
= 0 ;
34243 char * kwnames
[] = {
34244 (char *) "self",(char *) "colour", NULL
34247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34249 if (!SWIG_IsOK(res1
)) {
34250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34252 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34255 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34259 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
34260 wxPyEndAllowThreads(__tstate
);
34261 if (PyErr_Occurred()) SWIG_fail
;
34263 resultobj
= SWIG_Py_Void();
34270 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34271 PyObject
*resultobj
= 0;
34272 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34273 wxColour
*arg2
= 0 ;
34277 PyObject
* obj0
= 0 ;
34278 PyObject
* obj1
= 0 ;
34279 char * kwnames
[] = {
34280 (char *) "self",(char *) "colour", NULL
34283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34285 if (!SWIG_IsOK(res1
)) {
34286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34288 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34291 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34295 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
34296 wxPyEndAllowThreads(__tstate
);
34297 if (PyErr_Occurred()) SWIG_fail
;
34299 resultobj
= SWIG_Py_Void();
34306 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34307 PyObject
*resultobj
= 0;
34308 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34314 PyObject
* obj0
= 0 ;
34315 PyObject
* obj1
= 0 ;
34316 char * kwnames
[] = {
34317 (char *) "self",(char *) "function", NULL
34320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34322 if (!SWIG_IsOK(res1
)) {
34323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34325 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34326 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34327 if (!SWIG_IsOK(ecode2
)) {
34328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
34330 arg2
= static_cast< int >(val2
);
34332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34333 (arg1
)->SetLogicalFunction(arg2
);
34334 wxPyEndAllowThreads(__tstate
);
34335 if (PyErr_Occurred()) SWIG_fail
;
34337 resultobj
= SWIG_Py_Void();
34344 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34346 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34347 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
34348 return SWIG_Py_Void();
34351 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34352 return SWIG_Python_InitShadowInstance(args
);
34355 static PyMethodDef SwigMethods
[] = {
34356 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
34357 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
34358 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
34359 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
34360 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
34361 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34362 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34363 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34364 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
34365 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
34366 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
34367 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
34368 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
34369 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
34370 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34371 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34372 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34373 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34374 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
34375 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34376 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34377 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34378 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
34379 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
34380 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
34381 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34382 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
34383 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34384 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34385 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
34386 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
34387 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
34388 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
34389 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34390 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
34391 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
34392 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
34393 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
34394 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
34395 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
34396 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
34397 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34398 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34399 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34400 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34401 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34402 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34403 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
34404 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34405 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34406 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34407 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
34408 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
34409 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34410 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34411 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
34412 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34413 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34414 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34415 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
34416 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
34417 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
34418 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
34419 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
34420 { (char *)"Brush_MacGetTheme", (PyCFunction
)_wrap_Brush_MacGetTheme
, METH_O
, NULL
},
34421 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34422 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
34423 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
34424 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34425 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
34426 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34427 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34428 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34429 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34430 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34431 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
34432 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
34433 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
34434 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
34435 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
34436 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
34437 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
34438 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34439 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34440 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34441 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34442 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34443 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
34444 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34445 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34446 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34447 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34448 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34449 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34450 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34451 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
34452 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
34453 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34454 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34455 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34456 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
34457 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
34458 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
34459 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
34460 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
34461 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
34462 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
34463 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
34464 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
34465 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
34466 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
34467 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
34468 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
34469 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
34470 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
34471 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34472 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
34473 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
34474 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34475 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34476 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34477 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34478 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34479 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
34480 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
34481 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
34482 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
34483 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
34484 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
34485 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
34486 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
34487 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
34488 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
34489 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
34490 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
34491 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34492 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
34493 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
34494 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34495 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34496 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34497 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34498 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34499 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
34500 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
34501 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
34502 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34503 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
34504 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
34505 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
34506 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34507 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
34508 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
34509 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34510 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34511 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34512 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
34513 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
34514 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
34515 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
34516 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34517 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34518 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34519 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34520 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
34521 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
34522 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34523 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
34524 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
34525 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34526 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
34527 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34528 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
34529 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
34530 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
34531 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
34532 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34533 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34534 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
34535 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34536 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34537 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34538 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
34539 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
34540 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34541 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
34542 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34543 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34544 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
34545 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
34546 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
34547 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34548 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34549 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34550 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34551 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
34552 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
34553 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34554 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34555 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34556 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34557 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34558 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
34559 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34560 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34561 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34562 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
34563 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34564 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34565 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34566 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34567 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34568 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34569 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34570 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34571 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34572 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34573 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
34574 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34575 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34576 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
34577 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
34578 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34579 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
34580 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
34581 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
34582 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
34583 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
34584 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
34585 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
34586 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
34587 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
34588 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
34589 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
34590 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
34591 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
34592 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
34593 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
34594 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
34595 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
34596 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34597 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
34598 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
34599 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
34600 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
34601 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
34602 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
34603 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
34604 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34605 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34606 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34607 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34608 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34609 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34610 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34611 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34612 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
34613 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
34614 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34615 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
34616 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
34617 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
34618 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
34619 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
34620 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
34621 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
34622 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
34623 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
34624 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34625 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
34626 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
34627 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
34628 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34629 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34630 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
34631 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
34632 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
34633 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34634 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34635 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
34636 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34637 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34638 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34639 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34640 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34641 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
34642 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34643 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34644 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34645 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34646 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
34647 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
34648 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34649 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
34650 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34651 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34652 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34653 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34654 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34655 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
34656 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34657 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34658 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
34659 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
34660 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
34661 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
34662 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
34663 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
34664 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
34665 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
34666 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
34667 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
34668 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
34669 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
34670 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
34671 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34672 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34673 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34674 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34675 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34676 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34677 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34678 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34679 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34680 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34681 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34682 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
34683 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
34684 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
34685 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34686 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
34687 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
34688 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34689 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
34690 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
34691 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
34692 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
34693 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34694 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34695 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34696 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
34697 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
34698 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34699 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
34700 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
34701 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
34702 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
34703 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
34704 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
34705 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
34706 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
34707 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
34708 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34709 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
34710 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34711 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34712 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
34713 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
34714 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
34715 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
34716 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
34717 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
34718 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
34719 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
34720 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34721 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34722 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34723 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34724 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34725 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34726 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34727 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34728 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34729 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
34730 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
34731 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
34732 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34733 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
34734 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34735 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34736 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34737 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
34738 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
34739 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
34740 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
34741 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
34742 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
34743 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34744 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34745 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34746 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34747 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34748 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
34749 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
34750 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
34751 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34752 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34753 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34754 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34755 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34756 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34757 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34758 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34759 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34760 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34761 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34762 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34763 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34764 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34765 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34766 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34767 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34768 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34769 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34770 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34771 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34772 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34773 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34774 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34775 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34776 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34777 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34778 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34779 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34780 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34781 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34782 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34783 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34784 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34785 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34786 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34787 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34788 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34789 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34790 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34791 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34792 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34793 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34794 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34795 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34796 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34797 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34798 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34799 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
34800 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34801 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
34802 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
34803 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
34804 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34805 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34806 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34807 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34808 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34809 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34810 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
34811 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
34812 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
34813 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
34814 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
34815 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34816 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34817 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34818 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34819 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
34820 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
34821 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
34822 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
34823 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34824 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34825 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34826 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34827 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34828 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34829 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34830 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34831 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
34832 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
34833 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
34834 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
34835 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
34836 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
34837 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
34838 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
34839 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
34840 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
34841 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
34842 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
34843 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34844 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34845 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
34846 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34847 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
34848 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34849 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
34850 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34851 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
34852 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
34853 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34854 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34855 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
34856 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
34857 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34858 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34859 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34860 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
34861 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34862 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
34863 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34864 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34865 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
34866 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
34867 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
34868 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
34869 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
34870 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
34871 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
34872 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34873 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34874 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34875 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34876 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34877 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34878 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34879 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
34880 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34881 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34882 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34883 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
34884 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
34885 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
34886 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
34887 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
34888 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
34889 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
34890 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34891 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
34892 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
34893 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
34894 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34895 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34896 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
34897 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
34898 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
34899 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34900 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
34901 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
34902 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34903 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
34904 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
34905 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34906 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
34907 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
34908 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34909 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34910 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
34911 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
34912 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34913 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
34914 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34915 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34916 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
34917 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
34918 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
34919 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34920 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
34921 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
34922 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34923 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
34924 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
34925 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
34926 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
34927 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
34928 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34929 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
34930 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
34931 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
34932 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34933 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
34934 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
34935 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
34936 { (char *)"GraphicsPath_MoveToPoint", (PyCFunction
) _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34937 { (char *)"GraphicsPath_AddLineToPoint", (PyCFunction
) _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34938 { (char *)"GraphicsPath_AddCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34939 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
34940 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
34941 { (char *)"GraphicsPath_AddArc", (PyCFunction
) _wrap_GraphicsPath_AddArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34942 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34943 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34944 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34945 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34946 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
34947 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
34948 { (char *)"GraphicsContext_Create", (PyCFunction
) _wrap_GraphicsContext_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34949 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
34950 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
34951 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
34952 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34953 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34954 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34955 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34956 { (char *)"GraphicsContext_SetPen", (PyCFunction
) _wrap_GraphicsContext_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34957 { (char *)"GraphicsContext_SetBrush", (PyCFunction
) _wrap_GraphicsContext_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34958 { (char *)"GraphicsContext_SetLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34959 { (char *)"GraphicsContext_SetRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34960 { (char *)"GraphicsContext_SetFont", (PyCFunction
) _wrap_GraphicsContext_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34961 { (char *)"GraphicsContext_SetTextColor", (PyCFunction
) _wrap_GraphicsContext_SetTextColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34962 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34963 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34964 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34965 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34966 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34967 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34968 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34969 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34970 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34971 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34972 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34973 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34974 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34975 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34976 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34977 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34978 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
34979 { (char *)"new_GCDC", (PyCFunction
) _wrap_new_GCDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34980 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
34981 { (char *)"GCDC_GetGraphicContext", (PyCFunction
)_wrap_GCDC_GetGraphicContext
, METH_O
, NULL
},
34982 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
34983 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
34984 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
34985 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
34986 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
34987 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
34988 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
34989 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
34990 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
34991 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
34992 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
34993 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
34994 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34995 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
34996 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34997 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34998 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34999 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35000 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35001 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35002 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35003 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
35004 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35005 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
35006 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35007 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
35008 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
35009 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
35010 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
35011 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
35012 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
35013 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35014 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35015 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35016 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35017 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35018 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
35019 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
35020 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
35021 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
35022 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
35023 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
35024 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35025 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35026 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35027 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
35028 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35029 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35030 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35031 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
35032 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35033 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35034 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35035 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
35036 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
35037 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
35038 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35039 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35040 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35041 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35042 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
35043 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
35044 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
35045 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
35046 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
35047 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
35048 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
35049 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
35050 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
35051 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
35052 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
35053 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
35054 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35055 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35056 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35057 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35058 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35059 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35060 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35061 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35062 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
35063 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
35064 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35065 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
35066 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
35067 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
35068 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
35069 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
35070 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
35071 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
35072 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
35073 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
35074 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
35075 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
35076 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
35077 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
35078 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
35079 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
35080 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
35081 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
35082 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
35083 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
35084 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
35085 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
35086 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
35087 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
35088 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
35089 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35090 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
35091 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35092 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
35093 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
35094 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
35095 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
35096 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35097 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35098 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35099 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35100 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35101 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35102 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35103 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35104 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35105 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35106 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35107 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35108 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
35109 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
35110 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
35111 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35112 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
35113 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
35114 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
35115 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
35116 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
35117 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
35118 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
35119 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
35120 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35121 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35122 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35123 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35124 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35125 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35126 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35127 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35128 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35129 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35130 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35131 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35132 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35133 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35134 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35135 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35136 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35137 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35138 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35139 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35140 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35141 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35142 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35143 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35144 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35145 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35146 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35147 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35148 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35149 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35150 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35151 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35152 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35153 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35154 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35155 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35156 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35157 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35158 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35159 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35160 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35161 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35162 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35163 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35164 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35165 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35166 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35167 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35168 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35169 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35170 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35171 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35172 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
35173 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35174 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35175 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35176 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35177 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35178 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35179 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35180 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35181 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35182 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
35183 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
35184 { NULL
, NULL
, 0, NULL
}
35188 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35190 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
35191 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
35193 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
35194 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
35196 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
35197 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35199 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
35200 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
35202 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
35203 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
35205 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
35206 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
35208 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
35209 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
35211 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
35212 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
35214 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
35215 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
35217 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
35218 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
35220 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
35221 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
35223 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
35224 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
35226 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
35227 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
35229 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
35230 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
35232 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
35233 return (void *)((wxDC
*) ((wxGCDC
*) x
));
35235 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
35236 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
35238 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
35239 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
35241 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
35242 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
35244 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
35245 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
35247 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
35248 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
35250 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
35251 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
35253 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
35254 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35256 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
35257 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
35259 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
35260 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
35262 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
35263 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
35265 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
35266 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
35268 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
35269 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
35271 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
35272 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
35274 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
35275 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
35277 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
35278 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35280 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
35281 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
35283 static void *_p_wxPenTo_p_wxObject(void *x
) {
35284 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
35286 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
35287 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
35289 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
35290 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
35292 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
35293 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
35295 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
35296 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
35298 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
35299 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
35301 static void *_p_wxIconTo_p_wxObject(void *x
) {
35302 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
35304 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
35305 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35307 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
35308 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
35310 static void *_p_wxSizerTo_p_wxObject(void *x
) {
35311 return (void *)((wxObject
*) ((wxSizer
*) x
));
35313 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
35314 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35316 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
35317 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35319 static void *_p_wxEventTo_p_wxObject(void *x
) {
35320 return (void *)((wxObject
*) ((wxEvent
*) x
));
35322 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
35323 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35325 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
35326 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
35328 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
35329 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
35331 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
35332 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
35334 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
35335 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
35337 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
35338 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
35340 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
35341 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
35343 static void *_p_wxDCTo_p_wxObject(void *x
) {
35344 return (void *)((wxObject
*) ((wxDC
*) x
));
35346 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
35347 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35349 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
35350 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35352 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
35353 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35355 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
35356 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35358 static void *_p_wxControlTo_p_wxObject(void *x
) {
35359 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
35361 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
35362 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
35364 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
35365 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
35367 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
35368 return (void *)((wxObject
*) ((wxFSFile
*) x
));
35370 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
35371 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
35373 static void *_p_wxRegionTo_p_wxObject(void *x
) {
35374 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
35376 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
35377 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
35379 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
35380 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
35382 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
35383 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
35385 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
35386 return (void *)((wxObject
*) ((wxEffects
*) x
));
35388 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
35389 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
35391 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
35392 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35394 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
35395 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
35397 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
35398 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
35400 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
35401 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
35403 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
35404 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
35406 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
35407 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
35409 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
35410 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35412 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
35413 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35415 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
35416 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
35418 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
35419 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
35421 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
35422 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
35424 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
35425 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
35427 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
35428 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
35430 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
35431 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
35433 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
35434 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
35436 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
35437 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
35439 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
35440 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
35442 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
35443 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
35445 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
35446 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
35448 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
35449 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
35451 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
35452 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
35454 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
35455 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
35457 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
35458 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
35460 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
35461 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
35463 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
35464 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
35466 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
35467 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
35469 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
35470 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
35472 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
35473 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
35475 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
35476 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35478 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
35479 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
35481 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
35482 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
35484 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
35485 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
35487 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
35488 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35490 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
35491 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
35493 static void *_p_wxImageTo_p_wxObject(void *x
) {
35494 return (void *)((wxObject
*) ((wxImage
*) x
));
35496 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
35497 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
35499 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
35500 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
35502 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
35503 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
35505 static void *_p_wxImageListTo_p_wxObject(void *x
) {
35506 return (void *)((wxObject
*) ((wxImageList
*) x
));
35508 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
35509 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
35511 static void *_p_wxCursorTo_p_wxObject(void *x
) {
35512 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
35514 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
35515 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
35517 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
35518 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
35520 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
35521 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35523 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
35524 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
35526 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
35527 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
35529 static void *_p_wxWindowTo_p_wxObject(void *x
) {
35530 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
35532 static void *_p_wxMenuTo_p_wxObject(void *x
) {
35533 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
35535 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
35536 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
35538 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
35539 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
35541 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
35542 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
35544 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
35545 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
35547 static void *_p_wxMaskTo_p_wxObject(void *x
) {
35548 return (void *)((wxObject
*) ((wxMask
*) x
));
35550 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
35551 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35553 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
35554 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
35556 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
35557 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
35559 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
35560 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
35562 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
35563 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
35565 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
35566 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
35568 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
35569 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35571 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
35572 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
35574 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
35575 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
35577 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
35578 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
35580 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
35581 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35583 static void *_p_wxFontTo_p_wxObject(void *x
) {
35584 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
35586 static void *_p_wxBrushTo_p_wxObject(void *x
) {
35587 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
35589 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
35590 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
35592 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
35593 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
35595 static void *_p_wxColourTo_p_wxObject(void *x
) {
35596 return (void *)((wxObject
*) ((wxColour
*) x
));
35598 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
35599 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
35601 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
35602 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
35604 static void *_p_wxControlTo_p_wxWindow(void *x
) {
35605 return (void *)((wxWindow
*) ((wxControl
*) x
));
35607 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
35608 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
35610 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
35611 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
35613 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
35614 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
35616 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
35617 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
35619 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
35620 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
35621 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
35622 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};
35623 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
35624 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
35625 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
35626 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
35627 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
35628 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
35629 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
35630 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
35631 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
35632 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
35633 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
35634 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
35635 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
35636 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
35637 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
35638 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
35639 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
35640 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
35641 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
35642 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
35643 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
35644 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
35645 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
35646 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
35647 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
35648 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
35649 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
35650 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
35651 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
35652 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
35653 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
35654 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
35655 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
35656 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
35657 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
35658 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
35659 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
35660 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
35661 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
35662 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
35663 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
35664 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
35665 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
35666 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
35667 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
35668 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
35669 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
35670 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
35671 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
35672 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
35673 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
35674 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
35675 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
35676 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
35677 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
35678 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
35679 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
35680 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
35681 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
35682 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
35683 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
35684 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
35685 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
35686 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
35687 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
35688 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
35689 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
35690 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
35691 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
35692 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
35693 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
35694 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
35695 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
35696 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
35697 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
35698 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
35699 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
35700 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
35701 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
35702 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
35703 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
35704 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
35705 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
35706 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
35707 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
35708 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
35709 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
35710 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
35711 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
35712 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
35713 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
35714 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
35715 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
35716 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
35717 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
35718 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
35719 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
35720 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
35721 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
35722 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
35723 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
35724 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
35725 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
35726 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
35727 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
35728 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
35729 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
35730 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
35731 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
35732 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
35733 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
35734 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
35735 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
35736 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
35737 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
35738 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
35739 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
35740 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
35741 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
35742 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
35743 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
35744 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
35745 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
35746 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
35747 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
35748 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
35749 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
35750 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
35751 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
35752 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
35753 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
35754 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
35755 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
35756 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
35757 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
35758 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
35759 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
35760 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
35761 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
35762 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
35763 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
35764 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
35765 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
35766 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
35767 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
35768 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
35769 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
35770 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
35771 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
35772 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
35773 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
35774 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
35776 static swig_type_info
*swig_type_initial
[] = {
35780 &_swigt__p_form_ops_t
,
35782 &_swigt__p_unsigned_char
,
35783 &_swigt__p_unsigned_int
,
35784 &_swigt__p_unsigned_long
,
35785 &_swigt__p_wxANIHandler
,
35786 &_swigt__p_wxAcceleratorTable
,
35787 &_swigt__p_wxActivateEvent
,
35788 &_swigt__p_wxAlphaPixelData
,
35789 &_swigt__p_wxAlphaPixelData_Accessor
,
35790 &_swigt__p_wxBMPHandler
,
35791 &_swigt__p_wxBitmap
,
35792 &_swigt__p_wxBoxSizer
,
35793 &_swigt__p_wxBrush
,
35794 &_swigt__p_wxBrushList
,
35795 &_swigt__p_wxBufferedDC
,
35796 &_swigt__p_wxBufferedPaintDC
,
35797 &_swigt__p_wxCURHandler
,
35799 &_swigt__p_wxChildFocusEvent
,
35800 &_swigt__p_wxClientDC
,
35801 &_swigt__p_wxClipboardTextEvent
,
35802 &_swigt__p_wxCloseEvent
,
35803 &_swigt__p_wxColor
,
35804 &_swigt__p_wxColour
,
35805 &_swigt__p_wxColourDatabase
,
35806 &_swigt__p_wxCommandEvent
,
35807 &_swigt__p_wxContextMenuEvent
,
35808 &_swigt__p_wxControl
,
35809 &_swigt__p_wxControlWithItems
,
35810 &_swigt__p_wxCursor
,
35812 &_swigt__p_wxDCOverlay
,
35814 &_swigt__p_wxDateEvent
,
35815 &_swigt__p_wxDisplayChangedEvent
,
35816 &_swigt__p_wxDropFilesEvent
,
35817 &_swigt__p_wxDuplexMode
,
35818 &_swigt__p_wxEffects
,
35819 &_swigt__p_wxEncodingConverter
,
35820 &_swigt__p_wxEraseEvent
,
35821 &_swigt__p_wxEvent
,
35822 &_swigt__p_wxEvtHandler
,
35823 &_swigt__p_wxFSFile
,
35824 &_swigt__p_wxFileSystem
,
35825 &_swigt__p_wxFlexGridSizer
,
35826 &_swigt__p_wxFocusEvent
,
35828 &_swigt__p_wxFontList
,
35829 &_swigt__p_wxFontMapper
,
35830 &_swigt__p_wxGBSizerItem
,
35832 &_swigt__p_wxGDIObjListBase
,
35833 &_swigt__p_wxGDIObject
,
35834 &_swigt__p_wxGIFHandler
,
35835 &_swigt__p_wxGraphicsContext
,
35836 &_swigt__p_wxGraphicsPath
,
35837 &_swigt__p_wxGridBagSizer
,
35838 &_swigt__p_wxGridSizer
,
35839 &_swigt__p_wxHeaderButtonParams
,
35840 &_swigt__p_wxICOHandler
,
35842 &_swigt__p_wxIconBundle
,
35843 &_swigt__p_wxIconLocation
,
35844 &_swigt__p_wxIconizeEvent
,
35845 &_swigt__p_wxIdleEvent
,
35846 &_swigt__p_wxImage
,
35847 &_swigt__p_wxImageHandler
,
35848 &_swigt__p_wxImageList
,
35849 &_swigt__p_wxIndividualLayoutConstraint
,
35850 &_swigt__p_wxInitDialogEvent
,
35851 &_swigt__p_wxJPEGHandler
,
35852 &_swigt__p_wxKeyEvent
,
35853 &_swigt__p_wxLanguageInfo
,
35854 &_swigt__p_wxLayoutConstraints
,
35855 &_swigt__p_wxLocale
,
35857 &_swigt__p_wxMaximizeEvent
,
35858 &_swigt__p_wxMemoryDC
,
35860 &_swigt__p_wxMenuBar
,
35861 &_swigt__p_wxMenuEvent
,
35862 &_swigt__p_wxMenuItem
,
35863 &_swigt__p_wxMetaFile
,
35864 &_swigt__p_wxMetaFileDC
,
35865 &_swigt__p_wxMirrorDC
,
35866 &_swigt__p_wxMouseCaptureChangedEvent
,
35867 &_swigt__p_wxMouseCaptureLostEvent
,
35868 &_swigt__p_wxMouseEvent
,
35869 &_swigt__p_wxMoveEvent
,
35870 &_swigt__p_wxNativeEncodingInfo
,
35871 &_swigt__p_wxNativeFontInfo
,
35872 &_swigt__p_wxNativePixelData
,
35873 &_swigt__p_wxNativePixelData_Accessor
,
35874 &_swigt__p_wxNavigationKeyEvent
,
35875 &_swigt__p_wxNcPaintEvent
,
35876 &_swigt__p_wxNotifyEvent
,
35877 &_swigt__p_wxObject
,
35878 &_swigt__p_wxOverlay
,
35879 &_swigt__p_wxPCXHandler
,
35880 &_swigt__p_wxPNGHandler
,
35881 &_swigt__p_wxPNMHandler
,
35882 &_swigt__p_wxPaintDC
,
35883 &_swigt__p_wxPaintEvent
,
35884 &_swigt__p_wxPalette
,
35885 &_swigt__p_wxPaletteChangedEvent
,
35886 &_swigt__p_wxPaperSize
,
35888 &_swigt__p_wxPenList
,
35889 &_swigt__p_wxPixelDataBase
,
35890 &_swigt__p_wxPoint
,
35891 &_swigt__p_wxPoint2D
,
35892 &_swigt__p_wxPostScriptDC
,
35893 &_swigt__p_wxPrintData
,
35894 &_swigt__p_wxPrinterDC
,
35895 &_swigt__p_wxPseudoDC
,
35896 &_swigt__p_wxPyApp
,
35897 &_swigt__p_wxPyCommandEvent
,
35898 &_swigt__p_wxPyEvent
,
35899 &_swigt__p_wxPyFontEnumerator
,
35900 &_swigt__p_wxPyImageHandler
,
35901 &_swigt__p_wxPyLocale
,
35902 &_swigt__p_wxPySizer
,
35903 &_swigt__p_wxPyValidator
,
35904 &_swigt__p_wxQueryNewPaletteEvent
,
35906 &_swigt__p_wxRegion
,
35907 &_swigt__p_wxRegionIterator
,
35908 &_swigt__p_wxRendererNative
,
35909 &_swigt__p_wxRendererVersion
,
35910 &_swigt__p_wxScreenDC
,
35911 &_swigt__p_wxScrollEvent
,
35912 &_swigt__p_wxScrollWinEvent
,
35913 &_swigt__p_wxSetCursorEvent
,
35914 &_swigt__p_wxShowEvent
,
35916 &_swigt__p_wxSizeEvent
,
35917 &_swigt__p_wxSizer
,
35918 &_swigt__p_wxSizerItem
,
35919 &_swigt__p_wxSplitterRenderParams
,
35920 &_swigt__p_wxStaticBoxSizer
,
35921 &_swigt__p_wxStdDialogButtonSizer
,
35922 &_swigt__p_wxStockGDI
,
35923 &_swigt__p_wxString
,
35924 &_swigt__p_wxSysColourChangedEvent
,
35925 &_swigt__p_wxTIFFHandler
,
35926 &_swigt__p_wxUpdateUIEvent
,
35927 &_swigt__p_wxValidator
,
35928 &_swigt__p_wxWindow
,
35929 &_swigt__p_wxWindowCreateEvent
,
35930 &_swigt__p_wxWindowDC
,
35931 &_swigt__p_wxWindowDestroyEvent
,
35932 &_swigt__p_wxXPMHandler
,
35935 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
35936 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
35937 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
35938 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
35939 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
35940 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
35941 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
35942 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
35943 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
35944 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
35945 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
35946 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
35947 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
35948 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}};
35949 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
35950 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
35951 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}};
35952 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
35953 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
35954 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
35955 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
35956 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxScreenDC
, _p_wxScreenDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxMirrorDC
, _p_wxMirrorDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxWindowDC
, _p_wxWindowDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxDC
, 0, 0, 0}, {&_swigt__p_wxMetaFileDC
, _p_wxMetaFileDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxPostScriptDC
, _p_wxPostScriptDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxGCDC
, _p_wxGCDCTo_p_wxDC
, 0, 0},{0, 0, 0, 0}};
35957 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
35958 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
35959 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
35960 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
35961 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
35962 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
35963 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
35964 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
35965 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
35966 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}};
35967 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}};
35968 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
35969 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
35970 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
35971 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
35972 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
35973 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
35974 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
35975 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
35976 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
35977 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}};
35978 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
35979 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}};
35980 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
35981 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
35982 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
35983 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
35984 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
35985 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
35986 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
35987 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
35988 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
35989 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
35990 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
35991 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
35992 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
35993 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
35994 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
35995 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
35996 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
35997 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
35998 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
35999 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
36000 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
36001 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
36002 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
36003 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
36004 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
36005 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36006 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36007 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36008 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36009 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
36010 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
36011 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
36012 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
36013 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36014 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36015 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
36016 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
36017 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36018 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
36019 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36020 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
36021 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36022 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36023 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36024 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
36025 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36026 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
36027 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
36028 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
36029 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
36030 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
36031 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
36032 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
36033 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
36034 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
36035 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
36036 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
36037 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
36038 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
36039 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
36040 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
36041 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
36042 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
36043 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
36044 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36045 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36046 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36047 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
36048 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
36049 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
36050 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
36051 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
36052 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36053 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36054 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36055 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
36056 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
36057 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
36058 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
36059 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
36060 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
36061 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
36062 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
36063 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_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_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_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}};
36064 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
36065 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
36066 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
36067 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
36068 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
36069 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
36070 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}};
36071 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
36072 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
36073 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
36074 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
36075 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
36076 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
36077 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
36078 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
36079 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
36080 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
36081 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
36082 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
36083 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
36084 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
36085 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
36086 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
36087 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
36088 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
36089 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}};
36090 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}};
36092 static swig_cast_info
*swig_cast_initial
[] = {
36096 _swigc__p_form_ops_t
,
36098 _swigc__p_unsigned_char
,
36099 _swigc__p_unsigned_int
,
36100 _swigc__p_unsigned_long
,
36101 _swigc__p_wxANIHandler
,
36102 _swigc__p_wxAcceleratorTable
,
36103 _swigc__p_wxActivateEvent
,
36104 _swigc__p_wxAlphaPixelData
,
36105 _swigc__p_wxAlphaPixelData_Accessor
,
36106 _swigc__p_wxBMPHandler
,
36107 _swigc__p_wxBitmap
,
36108 _swigc__p_wxBoxSizer
,
36110 _swigc__p_wxBrushList
,
36111 _swigc__p_wxBufferedDC
,
36112 _swigc__p_wxBufferedPaintDC
,
36113 _swigc__p_wxCURHandler
,
36115 _swigc__p_wxChildFocusEvent
,
36116 _swigc__p_wxClientDC
,
36117 _swigc__p_wxClipboardTextEvent
,
36118 _swigc__p_wxCloseEvent
,
36120 _swigc__p_wxColour
,
36121 _swigc__p_wxColourDatabase
,
36122 _swigc__p_wxCommandEvent
,
36123 _swigc__p_wxContextMenuEvent
,
36124 _swigc__p_wxControl
,
36125 _swigc__p_wxControlWithItems
,
36126 _swigc__p_wxCursor
,
36128 _swigc__p_wxDCOverlay
,
36130 _swigc__p_wxDateEvent
,
36131 _swigc__p_wxDisplayChangedEvent
,
36132 _swigc__p_wxDropFilesEvent
,
36133 _swigc__p_wxDuplexMode
,
36134 _swigc__p_wxEffects
,
36135 _swigc__p_wxEncodingConverter
,
36136 _swigc__p_wxEraseEvent
,
36138 _swigc__p_wxEvtHandler
,
36139 _swigc__p_wxFSFile
,
36140 _swigc__p_wxFileSystem
,
36141 _swigc__p_wxFlexGridSizer
,
36142 _swigc__p_wxFocusEvent
,
36144 _swigc__p_wxFontList
,
36145 _swigc__p_wxFontMapper
,
36146 _swigc__p_wxGBSizerItem
,
36148 _swigc__p_wxGDIObjListBase
,
36149 _swigc__p_wxGDIObject
,
36150 _swigc__p_wxGIFHandler
,
36151 _swigc__p_wxGraphicsContext
,
36152 _swigc__p_wxGraphicsPath
,
36153 _swigc__p_wxGridBagSizer
,
36154 _swigc__p_wxGridSizer
,
36155 _swigc__p_wxHeaderButtonParams
,
36156 _swigc__p_wxICOHandler
,
36158 _swigc__p_wxIconBundle
,
36159 _swigc__p_wxIconLocation
,
36160 _swigc__p_wxIconizeEvent
,
36161 _swigc__p_wxIdleEvent
,
36163 _swigc__p_wxImageHandler
,
36164 _swigc__p_wxImageList
,
36165 _swigc__p_wxIndividualLayoutConstraint
,
36166 _swigc__p_wxInitDialogEvent
,
36167 _swigc__p_wxJPEGHandler
,
36168 _swigc__p_wxKeyEvent
,
36169 _swigc__p_wxLanguageInfo
,
36170 _swigc__p_wxLayoutConstraints
,
36171 _swigc__p_wxLocale
,
36173 _swigc__p_wxMaximizeEvent
,
36174 _swigc__p_wxMemoryDC
,
36176 _swigc__p_wxMenuBar
,
36177 _swigc__p_wxMenuEvent
,
36178 _swigc__p_wxMenuItem
,
36179 _swigc__p_wxMetaFile
,
36180 _swigc__p_wxMetaFileDC
,
36181 _swigc__p_wxMirrorDC
,
36182 _swigc__p_wxMouseCaptureChangedEvent
,
36183 _swigc__p_wxMouseCaptureLostEvent
,
36184 _swigc__p_wxMouseEvent
,
36185 _swigc__p_wxMoveEvent
,
36186 _swigc__p_wxNativeEncodingInfo
,
36187 _swigc__p_wxNativeFontInfo
,
36188 _swigc__p_wxNativePixelData
,
36189 _swigc__p_wxNativePixelData_Accessor
,
36190 _swigc__p_wxNavigationKeyEvent
,
36191 _swigc__p_wxNcPaintEvent
,
36192 _swigc__p_wxNotifyEvent
,
36193 _swigc__p_wxObject
,
36194 _swigc__p_wxOverlay
,
36195 _swigc__p_wxPCXHandler
,
36196 _swigc__p_wxPNGHandler
,
36197 _swigc__p_wxPNMHandler
,
36198 _swigc__p_wxPaintDC
,
36199 _swigc__p_wxPaintEvent
,
36200 _swigc__p_wxPalette
,
36201 _swigc__p_wxPaletteChangedEvent
,
36202 _swigc__p_wxPaperSize
,
36204 _swigc__p_wxPenList
,
36205 _swigc__p_wxPixelDataBase
,
36207 _swigc__p_wxPoint2D
,
36208 _swigc__p_wxPostScriptDC
,
36209 _swigc__p_wxPrintData
,
36210 _swigc__p_wxPrinterDC
,
36211 _swigc__p_wxPseudoDC
,
36213 _swigc__p_wxPyCommandEvent
,
36214 _swigc__p_wxPyEvent
,
36215 _swigc__p_wxPyFontEnumerator
,
36216 _swigc__p_wxPyImageHandler
,
36217 _swigc__p_wxPyLocale
,
36218 _swigc__p_wxPySizer
,
36219 _swigc__p_wxPyValidator
,
36220 _swigc__p_wxQueryNewPaletteEvent
,
36222 _swigc__p_wxRegion
,
36223 _swigc__p_wxRegionIterator
,
36224 _swigc__p_wxRendererNative
,
36225 _swigc__p_wxRendererVersion
,
36226 _swigc__p_wxScreenDC
,
36227 _swigc__p_wxScrollEvent
,
36228 _swigc__p_wxScrollWinEvent
,
36229 _swigc__p_wxSetCursorEvent
,
36230 _swigc__p_wxShowEvent
,
36232 _swigc__p_wxSizeEvent
,
36234 _swigc__p_wxSizerItem
,
36235 _swigc__p_wxSplitterRenderParams
,
36236 _swigc__p_wxStaticBoxSizer
,
36237 _swigc__p_wxStdDialogButtonSizer
,
36238 _swigc__p_wxStockGDI
,
36239 _swigc__p_wxString
,
36240 _swigc__p_wxSysColourChangedEvent
,
36241 _swigc__p_wxTIFFHandler
,
36242 _swigc__p_wxUpdateUIEvent
,
36243 _swigc__p_wxValidator
,
36244 _swigc__p_wxWindow
,
36245 _swigc__p_wxWindowCreateEvent
,
36246 _swigc__p_wxWindowDC
,
36247 _swigc__p_wxWindowDestroyEvent
,
36248 _swigc__p_wxXPMHandler
,
36252 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36254 static swig_const_info swig_const_table
[] = {
36255 {0, 0, 0, 0.0, 0, 0}};
36260 /* -----------------------------------------------------------------------------
36261 * Type initialization:
36262 * This problem is tough by the requirement that no dynamic
36263 * memory is used. Also, since swig_type_info structures store pointers to
36264 * swig_cast_info structures and swig_cast_info structures store pointers back
36265 * to swig_type_info structures, we need some lookup code at initialization.
36266 * The idea is that swig generates all the structures that are needed.
36267 * The runtime then collects these partially filled structures.
36268 * The SWIG_InitializeModule function takes these initial arrays out of
36269 * swig_module, and does all the lookup, filling in the swig_module.types
36270 * array with the correct data and linking the correct swig_cast_info
36271 * structures together.
36273 * The generated swig_type_info structures are assigned staticly to an initial
36274 * array. We just loop though that array, and handle each type individually.
36275 * First we lookup if this type has been already loaded, and if so, use the
36276 * loaded structure instead of the generated one. Then we have to fill in the
36277 * cast linked list. The cast data is initially stored in something like a
36278 * two-dimensional array. Each row corresponds to a type (there are the same
36279 * number of rows as there are in the swig_type_initial array). Each entry in
36280 * a column is one of the swig_cast_info structures for that type.
36281 * The cast_initial array is actually an array of arrays, because each row has
36282 * a variable number of columns. So to actually build the cast linked list,
36283 * we find the array of casts associated with the type, and loop through it
36284 * adding the casts to the list. The one last trick we need to do is making
36285 * sure the type pointer in the swig_cast_info struct is correct.
36287 * First off, we lookup the cast->type name to see if it is already loaded.
36288 * There are three cases to handle:
36289 * 1) If the cast->type has already been loaded AND the type we are adding
36290 * casting info to has not been loaded (it is in this module), THEN we
36291 * replace the cast->type pointer with the type pointer that has already
36293 * 2) If BOTH types (the one we are adding casting info to, and the
36294 * cast->type) are loaded, THEN the cast info has already been loaded by
36295 * the previous module so we just ignore it.
36296 * 3) Finally, if cast->type has not already been loaded, then we add that
36297 * swig_cast_info to the linked list (because the cast->type) pointer will
36299 * ----------------------------------------------------------------------------- */
36309 #define SWIGRUNTIME_DEBUG
36313 SWIG_InitializeModule(void *clientdata
) {
36315 swig_module_info
*module_head
;
36316 static int init_run
= 0;
36318 clientdata
= clientdata
;
36320 if (init_run
) return;
36323 /* Initialize the swig_module */
36324 swig_module
.type_initial
= swig_type_initial
;
36325 swig_module
.cast_initial
= swig_cast_initial
;
36327 /* Try and load any already created modules */
36328 module_head
= SWIG_GetModule(clientdata
);
36330 swig_module
.next
= module_head
->next
;
36331 module_head
->next
= &swig_module
;
36333 /* This is the first module loaded */
36334 swig_module
.next
= &swig_module
;
36335 SWIG_SetModule(clientdata
, &swig_module
);
36338 /* Now work on filling in swig_module.types */
36339 #ifdef SWIGRUNTIME_DEBUG
36340 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
36342 for (i
= 0; i
< swig_module
.size
; ++i
) {
36343 swig_type_info
*type
= 0;
36344 swig_type_info
*ret
;
36345 swig_cast_info
*cast
;
36347 #ifdef SWIGRUNTIME_DEBUG
36348 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
36351 /* if there is another module already loaded */
36352 if (swig_module
.next
!= &swig_module
) {
36353 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
36356 /* Overwrite clientdata field */
36357 #ifdef SWIGRUNTIME_DEBUG
36358 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
36360 if (swig_module
.type_initial
[i
]->clientdata
) {
36361 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
36362 #ifdef SWIGRUNTIME_DEBUG
36363 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
36367 type
= swig_module
.type_initial
[i
];
36370 /* Insert casting types */
36371 cast
= swig_module
.cast_initial
[i
];
36372 while (cast
->type
) {
36373 /* Don't need to add information already in the list */
36375 #ifdef SWIGRUNTIME_DEBUG
36376 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
36378 if (swig_module
.next
!= &swig_module
) {
36379 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
36380 #ifdef SWIGRUNTIME_DEBUG
36381 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
36385 if (type
== swig_module
.type_initial
[i
]) {
36386 #ifdef SWIGRUNTIME_DEBUG
36387 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
36392 /* Check for casting already in the list */
36393 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
36394 #ifdef SWIGRUNTIME_DEBUG
36395 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
36397 if (!ocast
) ret
= 0;
36402 #ifdef SWIGRUNTIME_DEBUG
36403 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
36406 type
->cast
->prev
= cast
;
36407 cast
->next
= type
->cast
;
36413 /* Set entry in modules->types array equal to the type */
36414 swig_module
.types
[i
] = type
;
36416 swig_module
.types
[i
] = 0;
36418 #ifdef SWIGRUNTIME_DEBUG
36419 printf("**** SWIG_InitializeModule: Cast List ******\n");
36420 for (i
= 0; i
< swig_module
.size
; ++i
) {
36422 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
36423 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
36424 while (cast
->type
) {
36425 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
36429 printf("---- Total casts: %d\n",j
);
36431 printf("**** SWIG_InitializeModule: Cast List ******\n");
36435 /* This function will propagate the clientdata field of type to
36436 * any new swig_type_info structures that have been added into the list
36437 * of equivalent types. It is like calling
36438 * SWIG_TypeClientData(type, clientdata) a second time.
36441 SWIG_PropagateClientData(void) {
36443 swig_cast_info
*equiv
;
36444 static int init_run
= 0;
36446 if (init_run
) return;
36449 for (i
= 0; i
< swig_module
.size
; i
++) {
36450 if (swig_module
.types
[i
]->clientdata
) {
36451 equiv
= swig_module
.types
[i
]->cast
;
36453 if (!equiv
->converter
) {
36454 if (equiv
->type
&& !equiv
->type
->clientdata
)
36455 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
36457 equiv
= equiv
->next
;
36477 /* Python-specific SWIG API */
36478 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36479 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36480 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36482 /* -----------------------------------------------------------------------------
36483 * global variable support code.
36484 * ----------------------------------------------------------------------------- */
36486 typedef struct swig_globalvar
{
36487 char *name
; /* Name of global variable */
36488 PyObject
*(*get_attr
)(void); /* Return the current value */
36489 int (*set_attr
)(PyObject
*); /* Set the value */
36490 struct swig_globalvar
*next
;
36493 typedef struct swig_varlinkobject
{
36495 swig_globalvar
*vars
;
36496 } swig_varlinkobject
;
36498 SWIGINTERN PyObject
*
36499 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
36500 return PyString_FromString("<Swig global variables>");
36503 SWIGINTERN PyObject
*
36504 swig_varlink_str(swig_varlinkobject
*v
) {
36505 PyObject
*str
= PyString_FromString("(");
36506 swig_globalvar
*var
;
36507 for (var
= v
->vars
; var
; var
=var
->next
) {
36508 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
36509 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
36511 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
36516 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
36517 PyObject
*str
= swig_varlink_str(v
);
36518 fprintf(fp
,"Swig global variables ");
36519 fprintf(fp
,"%s\n", PyString_AsString(str
));
36525 swig_varlink_dealloc(swig_varlinkobject
*v
) {
36526 swig_globalvar
*var
= v
->vars
;
36528 swig_globalvar
*n
= var
->next
;
36535 SWIGINTERN PyObject
*
36536 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
36537 PyObject
*res
= NULL
;
36538 swig_globalvar
*var
= v
->vars
;
36540 if (strcmp(var
->name
,n
) == 0) {
36541 res
= (*var
->get_attr
)();
36546 if (res
== NULL
&& !PyErr_Occurred()) {
36547 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36553 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
36555 swig_globalvar
*var
= v
->vars
;
36557 if (strcmp(var
->name
,n
) == 0) {
36558 res
= (*var
->set_attr
)(p
);
36563 if (res
== 1 && !PyErr_Occurred()) {
36564 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36569 SWIGINTERN PyTypeObject
*
36570 swig_varlink_type(void) {
36571 static char varlink__doc__
[] = "Swig var link object";
36572 static PyTypeObject varlink_type
;
36573 static int type_init
= 0;
36575 const PyTypeObject tmp
36577 PyObject_HEAD_INIT(NULL
)
36578 0, /* Number of items in variable part (ob_size) */
36579 (char *)"swigvarlink", /* Type name (tp_name) */
36580 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
36581 0, /* Itemsize (tp_itemsize) */
36582 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
36583 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
36584 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
36585 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
36586 0, /* tp_compare */
36587 (reprfunc
) swig_varlink_repr
, /* tp_repr */
36588 0, /* tp_as_number */
36589 0, /* tp_as_sequence */
36590 0, /* tp_as_mapping */
36593 (reprfunc
)swig_varlink_str
, /* tp_str */
36594 0, /* tp_getattro */
36595 0, /* tp_setattro */
36596 0, /* tp_as_buffer */
36598 varlink__doc__
, /* tp_doc */
36599 0, /* tp_traverse */
36601 0, /* tp_richcompare */
36602 0, /* tp_weaklistoffset */
36603 #if PY_VERSION_HEX >= 0x02020000
36604 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
36606 #if PY_VERSION_HEX >= 0x02030000
36609 #ifdef COUNT_ALLOCS
36610 0,0,0,0 /* tp_alloc -> tp_next */
36613 varlink_type
= tmp
;
36614 varlink_type
.ob_type
= &PyType_Type
;
36617 return &varlink_type
;
36620 /* Create a variable linking object for use later */
36621 SWIGINTERN PyObject
*
36622 SWIG_Python_newvarlink(void) {
36623 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
36627 return ((PyObject
*) result
);
36631 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
36632 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
36633 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
36635 size_t size
= strlen(name
)+1;
36636 gv
->name
= (char *)malloc(size
);
36638 strncpy(gv
->name
,name
,size
);
36639 gv
->get_attr
= get_attr
;
36640 gv
->set_attr
= set_attr
;
36641 gv
->next
= v
->vars
;
36647 SWIGINTERN PyObject
*
36649 static PyObject
*_SWIG_globals
= 0;
36650 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
36651 return _SWIG_globals
;
36654 /* -----------------------------------------------------------------------------
36655 * constants/methods manipulation
36656 * ----------------------------------------------------------------------------- */
36658 /* Install Constants */
36660 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
36663 for (i
= 0; constants
[i
].type
; ++i
) {
36664 switch(constants
[i
].type
) {
36665 case SWIG_PY_POINTER
:
36666 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
36668 case SWIG_PY_BINARY
:
36669 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
36676 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
36682 /* -----------------------------------------------------------------------------*/
36683 /* Fix SwigMethods to carry the callback ptrs when needed */
36684 /* -----------------------------------------------------------------------------*/
36687 SWIG_Python_FixMethods(PyMethodDef
*methods
,
36688 swig_const_info
*const_table
,
36689 swig_type_info
**types
,
36690 swig_type_info
**types_initial
) {
36692 for (i
= 0; methods
[i
].ml_name
; ++i
) {
36693 const char *c
= methods
[i
].ml_doc
;
36694 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
36696 swig_const_info
*ci
= 0;
36697 const char *name
= c
+ 10;
36698 for (j
= 0; const_table
[j
].type
; ++j
) {
36699 if (strncmp(const_table
[j
].name
, name
,
36700 strlen(const_table
[j
].name
)) == 0) {
36701 ci
= &(const_table
[j
]);
36706 size_t shift
= (ci
->ptype
) - types
;
36707 swig_type_info
*ty
= types_initial
[shift
];
36708 size_t ldoc
= (c
- methods
[i
].ml_doc
);
36709 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
36710 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
36713 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
36715 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
36717 strncpy(buff
, "swig_ptr: ", 10);
36719 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
36720 methods
[i
].ml_doc
= ndoc
;
36732 /* -----------------------------------------------------------------------------*
36733 * Partial Init method
36734 * -----------------------------------------------------------------------------*/
36739 SWIGEXPORT
void SWIG_init(void) {
36742 /* Fix SwigMethods to carry the callback ptrs when needed */
36743 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
36745 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
36746 d
= PyModule_GetDict(m
);
36748 SWIG_InitializeModule(0);
36749 SWIG_InstallConstants(d
,swig_const_table
);
36752 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
36753 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
36754 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
36755 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
36756 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
36757 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
36758 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
36759 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
36760 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
36761 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
36762 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
36763 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
36764 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
36765 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
36766 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
36767 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
36768 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
36769 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
36770 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
36771 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
36772 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
36773 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
36774 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
36775 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
36776 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
36777 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
36778 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
36779 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
36780 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
36781 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
36782 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
36783 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
36784 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
36785 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
36786 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
36787 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
36788 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
36789 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
36790 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
36791 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
36792 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
36793 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
36794 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
36795 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
36796 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
36797 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
36798 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
36799 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
36800 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
36801 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
36802 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
36803 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
36804 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
36805 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
36806 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
36807 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
36808 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
36809 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
36810 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
36811 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
36812 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
36813 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
36814 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
36815 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
36816 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
36817 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
36818 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
36819 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
36820 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
36821 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
36822 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
36823 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
36824 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
36825 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
36826 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
36827 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
36828 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
36829 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
36830 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
36831 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
36832 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
36833 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
36834 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
36835 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
36836 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
36837 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
36838 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
36839 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
36840 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
36841 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
36842 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
36843 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
36844 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
36845 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
36846 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
36847 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
36848 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
36849 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
36850 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
36851 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
36852 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
36853 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
36854 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
36855 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
36856 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
36857 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
36858 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
36859 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
36860 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
36861 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
36862 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
36863 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
36864 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
36865 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
36866 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
36867 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
36868 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
36869 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
36870 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
36871 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
36872 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
36873 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
36874 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
36875 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
36876 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
36877 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
36878 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
36879 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
36880 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
36881 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
36882 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
36883 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
36885 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
36887 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
36888 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
36889 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
36890 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
36891 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
36892 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
36893 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
36894 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
36895 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
36896 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
36897 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
36898 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
36899 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
36900 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
36901 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
36902 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
36903 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
36904 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
36905 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
36906 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
36907 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
36908 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
36909 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
36910 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
36911 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
36912 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
36913 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
36914 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
36915 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
36916 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
36917 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
36918 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
36919 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
36920 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
36921 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
36922 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
36923 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
36924 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
36925 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
36926 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
36927 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
36928 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
36929 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
36930 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
36931 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
36932 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
36933 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
36934 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
36935 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
36936 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
36937 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
36938 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
36939 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
36940 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
36941 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
36942 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
36943 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
36944 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
36945 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
36946 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
36947 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
36948 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
36949 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
36950 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
36951 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
36952 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
36953 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
36954 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
36955 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
36956 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
36957 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
36958 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
36959 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
36960 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
36961 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
36962 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
36963 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
36964 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
36965 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
36966 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
36967 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
36968 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
36969 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
36970 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
36971 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
36972 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
36973 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
36974 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
36975 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
36976 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
36977 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
36978 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
36979 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
36980 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
36981 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
36982 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
36983 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
36984 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
36985 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
36986 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
36987 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
36988 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
36989 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
36990 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
36991 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
36992 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
36993 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
36994 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
36995 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
36996 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
36997 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
36998 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
36999 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
37000 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
37001 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
37002 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
37003 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
37004 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
37005 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
37006 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
37007 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
37008 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
37009 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
37010 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
37011 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
37012 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
37013 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
37014 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
37015 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
37016 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
37017 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
37018 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
37019 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
37020 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
37021 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
37022 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
37023 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
37024 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
37025 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
37026 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
37027 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
37028 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
37029 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
37030 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
37031 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
37032 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
37033 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
37034 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
37035 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
37036 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
37037 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
37038 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
37039 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
37040 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
37041 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
37042 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
37043 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
37044 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
37045 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
37046 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
37047 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
37048 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
37049 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
37050 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
37051 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
37052 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
37053 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
37054 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
37055 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
37056 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
37057 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
37058 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
37059 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
37060 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
37061 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
37062 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
37063 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
37064 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
37065 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
37066 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
37067 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
37068 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
37069 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
37070 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
37071 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
37072 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
37073 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
37074 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
37075 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
37076 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
37077 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
37078 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
37079 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
37080 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
37081 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
37082 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
37083 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
37084 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
37085 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
37086 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
37087 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
37088 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
37089 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
37090 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
37091 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
37092 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
37093 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
37094 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
37095 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
37096 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
37097 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
37098 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
37099 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
37100 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
37101 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
37102 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
37103 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
37104 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
37105 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
37106 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
37107 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
37108 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
37109 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
37110 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
37111 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
37112 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
37113 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
37114 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
37115 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
37116 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
37117 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
37118 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
37119 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
37120 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
37121 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
37122 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
37123 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
37124 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
37125 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
37126 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
37127 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
37128 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
37129 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
37130 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
37131 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
37132 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
37133 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
37134 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
37135 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
37136 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
37137 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
37138 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
37139 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
37140 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
37141 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
37142 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
37143 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
37144 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
37145 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
37146 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
37147 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
37148 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
37149 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
37150 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
37151 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
37152 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
37153 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
37154 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
37155 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
37156 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
37157 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
37158 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
37159 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
37160 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
37161 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
37162 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
37163 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
37164 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
37165 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
37166 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
37167 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
37168 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
37169 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
37170 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
37171 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
37172 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
37173 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
37174 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
37175 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
37176 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
37177 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
37178 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
37179 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
37180 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
37181 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
37182 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
37183 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
37184 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
37185 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
37186 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
37187 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
37188 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
37189 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
37190 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
37191 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
37192 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
37193 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
37194 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
37195 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
37196 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
37197 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
37198 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
37199 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
37200 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
37201 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
37202 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
37203 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
37204 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
37205 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
37207 // Work around a chicken/egg problem in drawlist.cpp
37208 wxPyDrawList_SetAPIPtr();