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_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxAlphaPixelData swig_types[12]
2479 #define SWIGTYPE_p_wxAlphaPixelData_Accessor swig_types[13]
2480 #define SWIGTYPE_p_wxAutoBufferedPaintDC swig_types[14]
2481 #define SWIGTYPE_p_wxBMPHandler swig_types[15]
2482 #define SWIGTYPE_p_wxBitmap swig_types[16]
2483 #define SWIGTYPE_p_wxBoxSizer swig_types[17]
2484 #define SWIGTYPE_p_wxBrush swig_types[18]
2485 #define SWIGTYPE_p_wxBrushList swig_types[19]
2486 #define SWIGTYPE_p_wxBufferedDC swig_types[20]
2487 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[21]
2488 #define SWIGTYPE_p_wxCURHandler swig_types[22]
2489 #define SWIGTYPE_p_wxChar swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxClientDC swig_types[25]
2492 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[26]
2493 #define SWIGTYPE_p_wxCloseEvent swig_types[27]
2494 #define SWIGTYPE_p_wxColor swig_types[28]
2495 #define SWIGTYPE_p_wxColour swig_types[29]
2496 #define SWIGTYPE_p_wxColourDatabase swig_types[30]
2497 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
2498 #define SWIGTYPE_p_wxContextMenuEvent swig_types[32]
2499 #define SWIGTYPE_p_wxControl swig_types[33]
2500 #define SWIGTYPE_p_wxControlWithItems swig_types[34]
2501 #define SWIGTYPE_p_wxCursor swig_types[35]
2502 #define SWIGTYPE_p_wxDC swig_types[36]
2503 #define SWIGTYPE_p_wxDCOverlay swig_types[37]
2504 #define SWIGTYPE_p_wxDash swig_types[38]
2505 #define SWIGTYPE_p_wxDateEvent swig_types[39]
2506 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[40]
2507 #define SWIGTYPE_p_wxDropFilesEvent swig_types[41]
2508 #define SWIGTYPE_p_wxDuplexMode swig_types[42]
2509 #define SWIGTYPE_p_wxEffects swig_types[43]
2510 #define SWIGTYPE_p_wxEncodingConverter swig_types[44]
2511 #define SWIGTYPE_p_wxEraseEvent swig_types[45]
2512 #define SWIGTYPE_p_wxEvent swig_types[46]
2513 #define SWIGTYPE_p_wxEvtHandler swig_types[47]
2514 #define SWIGTYPE_p_wxFSFile swig_types[48]
2515 #define SWIGTYPE_p_wxFileSystem swig_types[49]
2516 #define SWIGTYPE_p_wxFlexGridSizer swig_types[50]
2517 #define SWIGTYPE_p_wxFocusEvent swig_types[51]
2518 #define SWIGTYPE_p_wxFont swig_types[52]
2519 #define SWIGTYPE_p_wxFontList swig_types[53]
2520 #define SWIGTYPE_p_wxFontMapper swig_types[54]
2521 #define SWIGTYPE_p_wxGBSizerItem swig_types[55]
2522 #define SWIGTYPE_p_wxGCDC swig_types[56]
2523 #define SWIGTYPE_p_wxGDIObjListBase swig_types[57]
2524 #define SWIGTYPE_p_wxGDIObject swig_types[58]
2525 #define SWIGTYPE_p_wxGIFHandler swig_types[59]
2526 #define SWIGTYPE_p_wxGraphicsContext swig_types[60]
2527 #define SWIGTYPE_p_wxGraphicsPath swig_types[61]
2528 #define SWIGTYPE_p_wxGridBagSizer swig_types[62]
2529 #define SWIGTYPE_p_wxGridSizer swig_types[63]
2530 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[64]
2531 #define SWIGTYPE_p_wxICOHandler swig_types[65]
2532 #define SWIGTYPE_p_wxIcon swig_types[66]
2533 #define SWIGTYPE_p_wxIconBundle swig_types[67]
2534 #define SWIGTYPE_p_wxIconLocation swig_types[68]
2535 #define SWIGTYPE_p_wxIconizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxIdleEvent swig_types[70]
2537 #define SWIGTYPE_p_wxImage swig_types[71]
2538 #define SWIGTYPE_p_wxImageHandler swig_types[72]
2539 #define SWIGTYPE_p_wxImageList swig_types[73]
2540 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[74]
2541 #define SWIGTYPE_p_wxInitDialogEvent swig_types[75]
2542 #define SWIGTYPE_p_wxJPEGHandler swig_types[76]
2543 #define SWIGTYPE_p_wxKeyEvent swig_types[77]
2544 #define SWIGTYPE_p_wxLanguageInfo swig_types[78]
2545 #define SWIGTYPE_p_wxLayoutConstraints swig_types[79]
2546 #define SWIGTYPE_p_wxLocale swig_types[80]
2547 #define SWIGTYPE_p_wxMask swig_types[81]
2548 #define SWIGTYPE_p_wxMaximizeEvent swig_types[82]
2549 #define SWIGTYPE_p_wxMemoryDC swig_types[83]
2550 #define SWIGTYPE_p_wxMenu swig_types[84]
2551 #define SWIGTYPE_p_wxMenuBar swig_types[85]
2552 #define SWIGTYPE_p_wxMenuEvent swig_types[86]
2553 #define SWIGTYPE_p_wxMenuItem swig_types[87]
2554 #define SWIGTYPE_p_wxMetaFile swig_types[88]
2555 #define SWIGTYPE_p_wxMetaFileDC swig_types[89]
2556 #define SWIGTYPE_p_wxMirrorDC swig_types[90]
2557 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[91]
2558 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMouseEvent swig_types[93]
2560 #define SWIGTYPE_p_wxMoveEvent swig_types[94]
2561 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[95]
2562 #define SWIGTYPE_p_wxNativeFontInfo swig_types[96]
2563 #define SWIGTYPE_p_wxNativePixelData swig_types[97]
2564 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[98]
2565 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[99]
2566 #define SWIGTYPE_p_wxNcPaintEvent swig_types[100]
2567 #define SWIGTYPE_p_wxNotifyEvent swig_types[101]
2568 #define SWIGTYPE_p_wxObject swig_types[102]
2569 #define SWIGTYPE_p_wxOverlay swig_types[103]
2570 #define SWIGTYPE_p_wxPCXHandler swig_types[104]
2571 #define SWIGTYPE_p_wxPNGHandler swig_types[105]
2572 #define SWIGTYPE_p_wxPNMHandler swig_types[106]
2573 #define SWIGTYPE_p_wxPaintDC swig_types[107]
2574 #define SWIGTYPE_p_wxPaintEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPalette swig_types[109]
2576 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[110]
2577 #define SWIGTYPE_p_wxPaperSize swig_types[111]
2578 #define SWIGTYPE_p_wxPen swig_types[112]
2579 #define SWIGTYPE_p_wxPenList swig_types[113]
2580 #define SWIGTYPE_p_wxPixelDataBase swig_types[114]
2581 #define SWIGTYPE_p_wxPoint swig_types[115]
2582 #define SWIGTYPE_p_wxPoint2D swig_types[116]
2583 #define SWIGTYPE_p_wxPostScriptDC swig_types[117]
2584 #define SWIGTYPE_p_wxPrintData swig_types[118]
2585 #define SWIGTYPE_p_wxPrinterDC swig_types[119]
2586 #define SWIGTYPE_p_wxPseudoDC swig_types[120]
2587 #define SWIGTYPE_p_wxPyApp swig_types[121]
2588 #define SWIGTYPE_p_wxPyCommandEvent swig_types[122]
2589 #define SWIGTYPE_p_wxPyEvent swig_types[123]
2590 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[124]
2591 #define SWIGTYPE_p_wxPyImageHandler swig_types[125]
2592 #define SWIGTYPE_p_wxPyLocale swig_types[126]
2593 #define SWIGTYPE_p_wxPySizer swig_types[127]
2594 #define SWIGTYPE_p_wxPyValidator swig_types[128]
2595 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[129]
2596 #define SWIGTYPE_p_wxRect swig_types[130]
2597 #define SWIGTYPE_p_wxRegion swig_types[131]
2598 #define SWIGTYPE_p_wxRegionIterator swig_types[132]
2599 #define SWIGTYPE_p_wxRendererNative swig_types[133]
2600 #define SWIGTYPE_p_wxRendererVersion swig_types[134]
2601 #define SWIGTYPE_p_wxScreenDC swig_types[135]
2602 #define SWIGTYPE_p_wxScrollEvent swig_types[136]
2603 #define SWIGTYPE_p_wxScrollWinEvent swig_types[137]
2604 #define SWIGTYPE_p_wxSetCursorEvent swig_types[138]
2605 #define SWIGTYPE_p_wxShowEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSize swig_types[140]
2607 #define SWIGTYPE_p_wxSizeEvent swig_types[141]
2608 #define SWIGTYPE_p_wxSizer swig_types[142]
2609 #define SWIGTYPE_p_wxSizerItem swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[144]
2611 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[145]
2612 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[146]
2613 #define SWIGTYPE_p_wxStockGDI swig_types[147]
2614 #define SWIGTYPE_p_wxString swig_types[148]
2615 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[149]
2616 #define SWIGTYPE_p_wxTIFFHandler swig_types[150]
2617 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[151]
2618 #define SWIGTYPE_p_wxValidator swig_types[152]
2619 #define SWIGTYPE_p_wxWindow swig_types[153]
2620 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[154]
2621 #define SWIGTYPE_p_wxWindowDC swig_types[155]
2622 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[156]
2623 #define SWIGTYPE_p_wxXPMHandler swig_types[157]
2624 static swig_type_info
*swig_types
[159];
2625 static swig_module_info swig_module
= {swig_types
, 158, 0, 0, 0, 0};
2626 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2627 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2629 /* -------- TYPES TABLE (END) -------- */
2631 #if (PY_VERSION_HEX <= 0x02000000)
2632 # if !defined(SWIG_PYTHON_CLASSIC)
2633 # error "This python version requires to use swig with the '-classic' option"
2636 #if (PY_VERSION_HEX <= 0x02020000)
2637 # error "This python version requires to use swig with the '-nomodern' option"
2639 #if (PY_VERSION_HEX <= 0x02020000)
2640 # error "This python version requires to use swig with the '-nomodernargs' option"
2643 # error "This python version requires to use swig with the '-nofastunpack' option"
2646 /*-----------------------------------------------
2647 @(target):= _gdi_.so
2648 ------------------------------------------------*/
2649 #define SWIG_init init_gdi_
2651 #define SWIG_name "_gdi_"
2653 #define SWIGVERSION 0x010329
2656 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2657 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2660 #include <stdexcept>
2664 class PyObject_ptr
{
2669 PyObject_ptr() :_obj(0)
2673 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2678 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2680 if (initial_ref
) Py_XINCREF(_obj
);
2683 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2685 Py_XINCREF(item
._obj
);
2696 operator PyObject
*() const
2701 PyObject
*operator->() const
2710 struct PyObject_var
: PyObject_ptr
{
2711 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2713 PyObject_var
& operator = (PyObject
* obj
)
2723 #include "wx/wxPython/wxPython.h"
2724 #include "wx/wxPython/pyclasses.h"
2727 static const wxString
wxPyEmptyString(wxEmptyString
);
2729 #define SWIG_From_long PyInt_FromLong
2732 SWIGINTERNINLINE PyObject
*
2733 SWIG_From_int (int value
)
2735 return SWIG_From_long (value
);
2741 # define LLONG_MIN LONG_LONG_MIN
2744 # define LLONG_MAX LONG_LONG_MAX
2747 # define ULLONG_MAX ULONG_LONG_MAX
2752 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2754 if (PyNumber_Check(obj
)) {
2755 if (val
) *val
= PyInt_AsLong(obj
);
2758 return SWIG_TypeError
;
2763 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2766 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2767 return SWIG_TypeError
;
2770 *val
= (unsigned long)v
;
2776 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2779 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2780 if (SWIG_IsOK(res
)) {
2781 if ((v
> UCHAR_MAX
)) {
2782 return SWIG_OverflowError
;
2784 if (val
) *val
= static_cast< unsigned char >(v
);
2791 SWIGINTERNINLINE PyObject
*
2792 SWIG_From_unsigned_SS_long (unsigned long value
)
2794 return (value
> LONG_MAX
) ?
2795 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2799 SWIGINTERNINLINE PyObject
*
2800 SWIG_From_unsigned_SS_char (unsigned char value
)
2802 return SWIG_From_unsigned_SS_long (value
);
2805 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2806 wxColour temp
, *obj
= &temp
;
2807 if ( other
== Py_None
) return false;
2808 if ( ! wxColour_helper(other
, &obj
) ) {
2812 return self
->operator==(*obj
);
2814 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2815 wxColour temp
, *obj
= &temp
;
2816 if ( other
== Py_None
) return true;
2817 if ( ! wxColour_helper(other
, &obj
)) {
2821 return self
->operator!=(*obj
);
2825 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2827 if (obj
== Py_True
) {
2828 if (val
) *val
= true;
2830 } else if (obj
== Py_False
) {
2831 if (val
) *val
= false;
2835 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2836 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2841 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2842 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2846 int alpha
= wxALPHA_OPAQUE
;
2849 green
= self
->Green();
2850 blue
= self
->Blue();
2851 alpha
= self
->Alpha();
2853 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2854 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2855 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2857 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2860 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2861 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2865 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2868 int res
= SWIG_AsVal_long (obj
, &v
);
2869 if (SWIG_IsOK(res
)) {
2870 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2871 return SWIG_OverflowError
;
2873 if (val
) *val
= static_cast< int >(v
);
2879 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2881 int count
= self
->GetDashes(&dashes
);
2882 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2883 PyObject
* retval
= PyList_New(0);
2884 for (int x
=0; x
<count
; x
++) {
2885 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2886 PyList_Append(retval
, pyint
);
2889 wxPyEndBlockThreads(blocked
);
2892 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2893 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2894 int size
= PyList_Size(pyDashes
);
2895 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2897 // black magic warning! The array of wxDashes needs to exist as
2898 // long as the pen does because wxPen does not copy the array. So
2899 // stick a copy in a Python string object and attach it to _self,
2900 // and then call SetDashes with a pointer to that array. Then
2901 // when the Python pen object is destroyed the array will be
2903 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2904 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2906 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2908 Py_DECREF(strDashes
);
2909 wxPyEndBlockThreads(blocked
);
2911 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2912 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2914 SWIGINTERNINLINE PyObject
*
2915 SWIG_From_short (short value
)
2917 return SWIG_From_long (value
);
2922 SWIG_AsVal_short (PyObject
* obj
, short *val
)
2925 int res
= SWIG_AsVal_long (obj
, &v
);
2926 if (SWIG_IsOK(res
)) {
2927 if ((v
< SHRT_MIN
|| v
> SHRT_MAX
)) {
2928 return SWIG_OverflowError
;
2930 if (val
) *val
= static_cast< short >(v
);
2937 #include <wx/rawbmp.h>
2940 #include <wx/image.h>
2942 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2943 char** cArray
= NULL
;
2946 if (!PyList_Check(listOfStrings
)) {
2947 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2950 count
= PyList_Size(listOfStrings
);
2951 cArray
= new char*[count
];
2953 for(int x
=0; x
<count
; x
++) {
2954 // TODO: Need some validation and error checking here
2955 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2961 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2962 char** cArray
= NULL
;
2965 cArray
= ConvertListOfStrings(listOfStrings
);
2968 bmp
= new wxBitmap(cArray
);
2972 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2975 PyString_AsStringAndSize(bits
, &buf
, &length
);
2976 return new wxBitmap(buf
, width
, height
, depth
);
2978 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2979 wxSize
size(self
->GetWidth(), self
->GetHeight());
2982 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2983 wxMask
*mask
= new wxMask(*self
, colour
);
2984 self
->SetMask(mask
);
2986 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2987 self
->SetWidth(size
.x
);
2988 self
->SetHeight(size
.y
);
2990 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2991 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2993 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2994 // appears to me that the other platforms are already doing it, so I'll just
2995 // automatically do it for wxMSW here.
2997 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2998 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
3000 #define wxPy_premultiply(p, a) (p)
3001 #define wxPy_unpremultiply(p, a) (p)
3005 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3006 buffer data
, int DATASIZE
,
3007 buffer alpha
, int ALPHASIZE
)
3009 if (DATASIZE
!= width
*height
*3) {
3010 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3014 if (ALPHASIZE
!= width
*height
) {
3015 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3019 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3020 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3022 // raise an exception...
3023 wxPyErr_SetString(PyExc_RuntimeError
,
3024 "Failed to gain raw access to bitmap data.");
3029 wxAlphaPixelData::Iterator
p(pixData
);
3030 for (int y
=0; y
<height
; y
++) {
3031 wxAlphaPixelData::Iterator rowStart
= p
;
3032 for (int x
=0; x
<width
; x
++) {
3033 byte a
= *(alpha
++);
3034 p
.Red() = wxPy_premultiply(*(data
++), a
);
3035 p
.Green() = wxPy_premultiply(*(data
++), a
);
3036 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3041 p
.OffsetY(pixData
, 1);
3046 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3048 if (DATASIZE
!= width
*height
*3) {
3049 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3053 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3054 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3056 // raise an exception...
3057 wxPyErr_SetString(PyExc_RuntimeError
,
3058 "Failed to gain raw access to bitmap data.");
3062 wxNativePixelData::Iterator
p(pixData
);
3063 for (int y
=0; y
<height
; y
++) {
3064 wxNativePixelData::Iterator rowStart
= p
;
3065 for (int x
=0; x
<width
; x
++) {
3066 p
.Red() = *(data
++);
3067 p
.Green() = *(data
++);
3068 p
.Blue() = *(data
++);
3072 p
.OffsetY(pixData
, 1);
3078 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3080 if (DATASIZE
!= width
*height
*4) {
3081 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3085 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3086 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3088 // raise an exception...
3089 wxPyErr_SetString(PyExc_RuntimeError
,
3090 "Failed to gain raw access to bitmap data.");
3095 wxAlphaPixelData::Iterator
p(pixData
);
3096 for (int y
=0; y
<height
; y
++) {
3097 wxAlphaPixelData::Iterator rowStart
= p
;
3098 for (int x
=0; x
<width
; x
++) {
3100 p
.Red() = wxPy_premultiply(*(data
++), a
);
3101 p
.Green() = wxPy_premultiply(*(data
++), a
);
3102 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3103 p
.Alpha() = a
; data
++;
3107 p
.OffsetY(pixData
, 1);
3113 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3115 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3116 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3117 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3119 self
->Green() = green
;
3120 self
->Blue() = blue
;
3122 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3123 PyObject
* rv
= PyTuple_New(3);
3124 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3125 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3126 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3130 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3132 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3133 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3134 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3135 self
->Red() = wxPy_premultiply(red
, alpha
);
3136 self
->Green() = wxPy_premultiply(green
, alpha
);
3137 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3138 self
->Alpha() = alpha
;
3140 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3141 PyObject
* rv
= PyTuple_New(4);
3142 int red
= self
->Red();
3143 int green
= self
->Green();
3144 int blue
= self
->Blue();
3145 int alpha
= self
->Alpha();
3147 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3148 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3149 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3150 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3153 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3154 if ( !colour
.IsOk() )
3155 return new wxMask(bitmap
, *wxBLACK
);
3157 return new wxMask(bitmap
, colour
);
3160 #include <wx/iconbndl.h>
3162 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3163 wxIcon
* icon
= new wxIcon();
3164 icon
->CopyFromBitmap(bmp
);
3167 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3168 char** cArray
= NULL
;
3171 cArray
= ConvertListOfStrings(listOfStrings
);
3174 icon
= new wxIcon(cArray
);
3178 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3182 return new wxIconLocation(*filename
);
3185 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3192 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3199 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3201 wxImage
img(cursorName
, type
);
3202 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3203 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3204 return new wxCursor(img
);
3206 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3211 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3214 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3215 return self
->operator bool();
3218 #include <wx/fontutil.h>
3219 #include <wx/fontmap.h>
3220 #include <wx/fontenum.h>
3222 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3223 return self
->ToString();
3226 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3227 static wxNativeEncodingInfo info
;
3228 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3235 SWIGINTERNINLINE PyObject
*
3236 SWIG_From_size_t (size_t value
)
3238 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3242 SWIGINTERNINLINE
int
3243 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3246 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3247 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3251 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3252 wxFontEncoding alt_enc
;
3253 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3254 return PyInt_FromLong(alt_enc
);
3260 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3261 wxNativeFontInfo nfi
;
3262 nfi
.FromString(info
);
3263 return new wxFont(nfi
);
3265 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3266 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3268 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3269 return wxFontBase::New(pixelSize
, family
,
3270 style
, weight
, underlined
,
3273 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3274 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3276 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3277 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3279 class wxPyFontEnumerator
: public wxFontEnumerator
{
3281 wxPyFontEnumerator() {}
3282 ~wxPyFontEnumerator() {}
3284 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3285 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3290 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3291 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3294 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3296 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3297 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3298 ret
= wxArrayString2PyList_helper(arr
);
3299 wxPyEndBlockThreads(blocked
);
3302 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3304 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3305 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3306 ret
= wxArrayString2PyList_helper(arr
);
3307 wxPyEndBlockThreads(blocked
);
3313 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3316 loc
= new wxLocale();
3318 loc
= new wxLocale(language
, flags
);
3319 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3320 // for the floating point conversions and such to work right.
3321 #if PY_VERSION_HEX < 0x02040000
3322 setlocale(LC_NUMERIC
, "C");
3326 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3327 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3328 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3329 // for the floating point conversions and such to work right.
3330 #if PY_VERSION_HEX < 0x02040000
3331 setlocale(LC_NUMERIC
, "C");
3335 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3336 bool rc
= self
->Init(language
, flags
);
3337 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3338 // for the floating point conversions and such to work right.
3339 #if PY_VERSION_HEX < 0x02040000
3340 setlocale(LC_NUMERIC
, "C");
3345 class wxPyLocale
: public wxLocale
3350 wxPyLocale(const wxChar
*szName
, // name (for messages)
3351 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3352 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3353 bool bLoadDefault
= true, // preload wxstd.mo?
3354 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3356 wxPyLocale(int language
, // wxLanguage id or custom language
3357 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3361 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3362 const wxChar
*szDomain
= NULL
) const;
3363 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3364 const wxChar
*szOrigString2
, size_t n
,
3365 const wxChar
*szDomain
= NULL
) const;
3367 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3368 const wxChar
*szDomain
= NULL
) const;
3369 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3370 const wxChar
*szOrigString2
, size_t n
,
3371 const wxChar
*szDomain
= NULL
) const;
3375 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3378 wxPyLocale::wxPyLocale() : wxLocale()
3382 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3383 const wxChar
*szShort
, // dir prefix (for msg files)
3384 const wxChar
*szLocale
, // locale (for setlocale)
3385 bool bLoadDefault
, // preload wxstd.mo?
3386 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3387 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3391 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3392 int flags
) : wxLocale(language
, flags
)
3396 wxPyLocale::~wxPyLocale()
3400 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3401 const wxChar
*szDomain
) const
3403 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3404 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3407 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3408 const wxChar
*szOrigString2
, size_t n
,
3409 const wxChar
*szDomain
) const
3411 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3412 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3415 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3416 const wxChar
*szDomain
) const
3419 static wxString str
;
3420 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.
3421 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3422 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3423 PyObject
* param1
= wx2PyString(szOrigString
);
3424 PyObject
* param2
= wx2PyString(szDomain
);
3425 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3429 str
= Py2wxString(ret
);
3433 wxPyEndBlockThreads(blocked
);
3434 return (found
? (wxChar
*)str
.c_str() : NULL
);
3437 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3438 const wxChar
*szOrigString2
, size_t n
,
3439 const wxChar
*szDomain
) const
3442 static wxString str
;
3443 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.
3444 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3445 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3446 PyObject
* param1
= wx2PyString(szOrigString
);
3447 PyObject
* param2
= wx2PyString(szOrigString2
);
3448 PyObject
* param4
= wx2PyString(szDomain
);
3449 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3454 str
= Py2wxString(ret
);
3458 wxPyEndBlockThreads(blocked
);
3459 return (found
? (wxChar
*)str
.c_str() : NULL
);
3462 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3465 loc
= new wxPyLocale();
3467 loc
= new wxPyLocale(language
, flags
);
3468 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3469 // for the floating point conversions and such to work right.
3470 #if PY_VERSION_HEX < 0x02040000
3471 setlocale(LC_NUMERIC
, "C");
3476 #include "wx/wxPython/pydrawxxx.h"
3478 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3480 self
->GetPixel(x
, y
, &col
);
3483 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3485 self
->GetPixel(pt
, &col
);
3490 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3492 if (PyNumber_Check(obj
)) {
3493 if (val
) *val
= PyFloat_AsDouble(obj
);
3496 return SWIG_TypeError
;
3499 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3501 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3504 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3506 self
->GetClippingBox(rect
);
3509 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3511 self
->GetPartialTextExtents(text
, widths
);
3515 #define SWIG_From_double PyFloat_FromDouble
3517 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3518 self
->SetLogicalOrigin(point
.x
, point
.y
);
3520 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3521 self
->SetDeviceOrigin(point
.x
, point
.y
);
3523 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3524 self
->CalcBoundingBox(point
.x
, point
.y
);
3526 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3527 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3529 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3530 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3532 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3533 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3535 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3536 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3538 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3539 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3541 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3542 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3545 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3553 #include <wx/dcbuffer.h>
3556 #include <wx/dcps.h>
3559 #include <wx/metafile.h>
3562 #include <wx/graphics.h>
3565 #if !wxUSE_GRAPHICS_CONTEXT
3566 // C++ stub classes for platforms that don't have wxGraphicsContext yet.
3568 class wxGraphicsPath
3572 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3573 PyErr_SetString(PyExc_NotImplementedError
,
3574 "wxGraphicsPath is not available on this platform.");
3575 wxPyEndBlockThreads(blocked
);
3577 virtual ~wxGraphicsPath() {}
3579 void MoveToPoint( wxDouble
, wxDouble
) {}
3580 void AddLineToPoint( wxDouble
, wxDouble
) {}
3581 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3582 void CloseSubpath() {}
3583 void GetCurrentPoint( wxDouble
&, wxDouble
&) {}
3584 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3586 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3587 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3588 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3589 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3591 wxPoint2DDouble
GetCurrentPoint() { return wxPoint2DDouble(0,0); }
3592 void MoveToPoint( const wxPoint2DDouble
& ) {}
3593 void AddLineToPoint( const wxPoint2DDouble
&) {}
3594 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3595 void AddArc( const wxPoint2DDouble
&, wxDouble
, wxDouble
, wxDouble
, bool) {}
3599 class wxGraphicsContext
3602 wxGraphicsContext() {
3603 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3604 PyErr_SetString(PyExc_NotImplementedError
,
3605 "wxGraphicsContext is not available on this platform.");
3606 wxPyEndBlockThreads(blocked
);
3608 virtual ~wxGraphicsContext() {}
3610 static wxGraphicsContext
* Create( const wxWindowDC
&) {
3611 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3612 PyErr_SetString(PyExc_NotImplementedError
,
3613 "wxGraphicsPath is not available on this platform.");
3614 wxPyEndBlockThreads(blocked
);
3618 static wxGraphicsContext
* CreateFromNative( void * ) {
3619 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3620 PyErr_SetString(PyExc_NotImplementedError
,
3621 "wxGraphicsContext is not available on this platform.");
3622 wxPyEndBlockThreads(blocked
);
3626 wxGraphicsPath
* CreatePath() { return NULL
; }
3629 void Clip( const wxRegion
& ) {}
3630 void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3632 void * GetNativeContext() { return NULL
; }
3633 void Translate( wxDouble
, wxDouble
) {}
3634 void Scale( wxDouble
, wxDouble
) {}
3635 void Rotate( wxDouble
) {}
3636 void SetPen( const wxPen
& ) {}
3637 void SetBrush( const wxBrush
& ) {}
3638 void SetLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3639 const wxColour
&, const wxColour
&) {}
3640 void SetRadialGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3641 const wxColour
&, const wxColour
&) {}
3642 void SetFont( const wxFont
& ) {}
3643 void SetTextColor( const wxColour
& ) {}
3644 void StrokePath( const wxGraphicsPath
* ) {}
3645 void FillPath( const wxGraphicsPath
*, int ) {}
3646 void DrawPath( const wxGraphicsPath
*, int ) {}
3647 void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3648 void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3649 void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3650 wxDouble
*, wxDouble
* ) const {}
3651 void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3652 void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3653 void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3654 void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3655 void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3656 void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3657 void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3658 void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3659 void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3660 void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3664 class wxGCDC
: public wxWindowDC
3667 wxGCDC(const wxWindowDC
&) {
3668 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3669 PyErr_SetString(PyExc_NotImplementedError
,
3670 "wxGCDC is not available on this platform.");
3671 wxPyEndBlockThreads(blocked
);
3675 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3676 PyErr_SetString(PyExc_NotImplementedError
,
3677 "wxGCDC is not available on this platform.");
3678 wxPyEndBlockThreads(blocked
);
3681 virtual ~wxGCDC() {}
3683 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3684 void SetGraphicsContext( wxGraphicsContext
* ) {}
3689 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3690 wxArrayDouble widths
;
3691 self
->GetPartialTextExtents(text
, widths
);
3694 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3695 size_t c1
, c2
, count
;
3696 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3697 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3699 if ( beginP
!= NULL
&& endP
!= NULL
)
3701 count
= wxMin(c1
, c2
);
3702 self
->StrokeLines(count
, beginP
, endP
);
3708 #include "wx/dcgraph.h"
3712 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3713 self
->AddColour(name
, wxColour(red
, green
, blue
));
3716 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3717 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3718 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3719 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3722 #include <wx/effects.h>
3725 #include "wx/renderer.h"
3728 SWIGINTERNINLINE PyObject
*
3729 SWIG_From_bool (bool value
)
3731 return PyBool_FromLong(value
? 1 : 0);
3735 #include "wx/wxPython/pseudodc.h"
3737 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3739 self
->GetIdBounds(id
, rect
);
3745 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3746 PyObject
*resultobj
= 0;
3747 wxGDIObject
*result
= 0 ;
3749 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3751 if (!wxPyCheckForApp()) SWIG_fail
;
3752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3753 result
= (wxGDIObject
*)new wxGDIObject();
3754 wxPyEndAllowThreads(__tstate
);
3755 if (PyErr_Occurred()) SWIG_fail
;
3757 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3764 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3765 PyObject
*resultobj
= 0;
3766 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3769 PyObject
*swig_obj
[1] ;
3771 if (!args
) SWIG_fail
;
3773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3774 if (!SWIG_IsOK(res1
)) {
3775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3777 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3782 wxPyEndAllowThreads(__tstate
);
3783 if (PyErr_Occurred()) SWIG_fail
;
3785 resultobj
= SWIG_Py_Void();
3792 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3793 PyObject
*resultobj
= 0;
3794 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3798 PyObject
*swig_obj
[1] ;
3800 if (!args
) SWIG_fail
;
3802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3803 if (!SWIG_IsOK(res1
)) {
3804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3806 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3809 result
= (bool)(arg1
)->IsNull();
3810 wxPyEndAllowThreads(__tstate
);
3811 if (PyErr_Occurred()) SWIG_fail
;
3814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3822 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3824 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3825 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3826 return SWIG_Py_Void();
3829 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3830 return SWIG_Python_InitShadowInstance(args
);
3833 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3834 PyObject
*resultobj
= 0;
3835 byte arg1
= (byte
) 0 ;
3836 byte arg2
= (byte
) 0 ;
3837 byte arg3
= (byte
) 0 ;
3838 byte arg4
= (byte
) wxALPHA_OPAQUE
;
3839 wxColour
*result
= 0 ;
3840 unsigned char val1
;
3842 unsigned char val2
;
3844 unsigned char val3
;
3846 unsigned char val4
;
3848 PyObject
* obj0
= 0 ;
3849 PyObject
* obj1
= 0 ;
3850 PyObject
* obj2
= 0 ;
3851 PyObject
* obj3
= 0 ;
3852 char * kwnames
[] = {
3853 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
3856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3858 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3859 if (!SWIG_IsOK(ecode1
)) {
3860 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3862 arg1
= static_cast< byte
>(val1
);
3865 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3866 if (!SWIG_IsOK(ecode2
)) {
3867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3869 arg2
= static_cast< byte
>(val2
);
3872 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3873 if (!SWIG_IsOK(ecode3
)) {
3874 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3876 arg3
= static_cast< byte
>(val3
);
3879 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3880 if (!SWIG_IsOK(ecode4
)) {
3881 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
3883 arg4
= static_cast< byte
>(val4
);
3886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3887 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
3888 wxPyEndAllowThreads(__tstate
);
3889 if (PyErr_Occurred()) SWIG_fail
;
3891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3898 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3899 PyObject
*resultobj
= 0;
3900 wxString
*arg1
= 0 ;
3901 wxColour
*result
= 0 ;
3902 bool temp1
= false ;
3903 PyObject
* obj0
= 0 ;
3904 char * kwnames
[] = {
3905 (char *) "colorName", NULL
3908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3910 arg1
= wxString_in_helper(obj0
);
3911 if (arg1
== NULL
) SWIG_fail
;
3915 if (!wxPyCheckForApp()) SWIG_fail
;
3916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3917 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3918 wxPyEndAllowThreads(__tstate
);
3919 if (PyErr_Occurred()) SWIG_fail
;
3921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3936 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3937 PyObject
*resultobj
= 0;
3938 unsigned long arg1
;
3939 wxColour
*result
= 0 ;
3940 unsigned long val1
;
3942 PyObject
* obj0
= 0 ;
3943 char * kwnames
[] = {
3944 (char *) "colRGB", NULL
3947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3948 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3949 if (!SWIG_IsOK(ecode1
)) {
3950 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3952 arg1
= static_cast< unsigned long >(val1
);
3954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3955 result
= (wxColour
*)new wxColour(arg1
);
3956 wxPyEndAllowThreads(__tstate
);
3957 if (PyErr_Occurred()) SWIG_fail
;
3959 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3966 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3967 PyObject
*resultobj
= 0;
3968 wxColour
*arg1
= (wxColour
*) 0 ;
3971 PyObject
*swig_obj
[1] ;
3973 if (!args
) SWIG_fail
;
3975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3976 if (!SWIG_IsOK(res1
)) {
3977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3979 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3984 wxPyEndAllowThreads(__tstate
);
3985 if (PyErr_Occurred()) SWIG_fail
;
3987 resultobj
= SWIG_Py_Void();
3994 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3995 PyObject
*resultobj
= 0;
3996 wxColour
*arg1
= (wxColour
*) 0 ;
4000 PyObject
*swig_obj
[1] ;
4002 if (!args
) SWIG_fail
;
4004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4005 if (!SWIG_IsOK(res1
)) {
4006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4008 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4011 result
= (byte
)(arg1
)->Red();
4012 wxPyEndAllowThreads(__tstate
);
4013 if (PyErr_Occurred()) SWIG_fail
;
4015 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4022 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4023 PyObject
*resultobj
= 0;
4024 wxColour
*arg1
= (wxColour
*) 0 ;
4028 PyObject
*swig_obj
[1] ;
4030 if (!args
) SWIG_fail
;
4032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4033 if (!SWIG_IsOK(res1
)) {
4034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4036 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4039 result
= (byte
)(arg1
)->Green();
4040 wxPyEndAllowThreads(__tstate
);
4041 if (PyErr_Occurred()) SWIG_fail
;
4043 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4050 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4051 PyObject
*resultobj
= 0;
4052 wxColour
*arg1
= (wxColour
*) 0 ;
4056 PyObject
*swig_obj
[1] ;
4058 if (!args
) SWIG_fail
;
4060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4061 if (!SWIG_IsOK(res1
)) {
4062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4064 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4067 result
= (byte
)(arg1
)->Blue();
4068 wxPyEndAllowThreads(__tstate
);
4069 if (PyErr_Occurred()) SWIG_fail
;
4071 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4078 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4079 PyObject
*resultobj
= 0;
4080 wxColour
*arg1
= (wxColour
*) 0 ;
4084 PyObject
*swig_obj
[1] ;
4086 if (!args
) SWIG_fail
;
4088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4089 if (!SWIG_IsOK(res1
)) {
4090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4092 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4095 result
= (byte
)(arg1
)->Alpha();
4096 wxPyEndAllowThreads(__tstate
);
4097 if (PyErr_Occurred()) SWIG_fail
;
4099 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4106 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4107 PyObject
*resultobj
= 0;
4108 wxColour
*arg1
= (wxColour
*) 0 ;
4112 PyObject
*swig_obj
[1] ;
4114 if (!args
) SWIG_fail
;
4116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4117 if (!SWIG_IsOK(res1
)) {
4118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4120 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4123 result
= (bool)(arg1
)->IsOk();
4124 wxPyEndAllowThreads(__tstate
);
4125 if (PyErr_Occurred()) SWIG_fail
;
4128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4136 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4137 PyObject
*resultobj
= 0;
4138 wxColour
*arg1
= (wxColour
*) 0 ;
4142 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4145 unsigned char val2
;
4147 unsigned char val3
;
4149 unsigned char val4
;
4151 unsigned char val5
;
4153 PyObject
* obj0
= 0 ;
4154 PyObject
* obj1
= 0 ;
4155 PyObject
* obj2
= 0 ;
4156 PyObject
* obj3
= 0 ;
4157 PyObject
* obj4
= 0 ;
4158 char * kwnames
[] = {
4159 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4164 if (!SWIG_IsOK(res1
)) {
4165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4167 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4168 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4169 if (!SWIG_IsOK(ecode2
)) {
4170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4172 arg2
= static_cast< byte
>(val2
);
4173 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4174 if (!SWIG_IsOK(ecode3
)) {
4175 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4177 arg3
= static_cast< byte
>(val3
);
4178 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4179 if (!SWIG_IsOK(ecode4
)) {
4180 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4182 arg4
= static_cast< byte
>(val4
);
4184 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4185 if (!SWIG_IsOK(ecode5
)) {
4186 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4188 arg5
= static_cast< byte
>(val5
);
4191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4192 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4193 wxPyEndAllowThreads(__tstate
);
4194 if (PyErr_Occurred()) SWIG_fail
;
4196 resultobj
= SWIG_Py_Void();
4203 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4204 PyObject
*resultobj
= 0;
4205 wxColour
*arg1
= (wxColour
*) 0 ;
4206 unsigned long arg2
;
4209 unsigned long val2
;
4211 PyObject
* obj0
= 0 ;
4212 PyObject
* obj1
= 0 ;
4213 char * kwnames
[] = {
4214 (char *) "self",(char *) "colRGB", NULL
4217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4219 if (!SWIG_IsOK(res1
)) {
4220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4222 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4223 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4224 if (!SWIG_IsOK(ecode2
)) {
4225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4227 arg2
= static_cast< unsigned long >(val2
);
4229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4231 wxPyEndAllowThreads(__tstate
);
4232 if (PyErr_Occurred()) SWIG_fail
;
4234 resultobj
= SWIG_Py_Void();
4241 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4242 PyObject
*resultobj
= 0;
4243 wxColour
*arg1
= (wxColour
*) 0 ;
4244 wxString
*arg2
= 0 ;
4247 bool temp2
= false ;
4248 PyObject
* obj0
= 0 ;
4249 PyObject
* obj1
= 0 ;
4250 char * kwnames
[] = {
4251 (char *) "self",(char *) "colourName", NULL
4254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4256 if (!SWIG_IsOK(res1
)) {
4257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4259 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4261 arg2
= wxString_in_helper(obj1
);
4262 if (arg2
== NULL
) SWIG_fail
;
4266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4267 (arg1
)->Set((wxString
const &)*arg2
);
4268 wxPyEndAllowThreads(__tstate
);
4269 if (PyErr_Occurred()) SWIG_fail
;
4271 resultobj
= SWIG_Py_Void();
4286 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4287 PyObject
*resultobj
= 0;
4288 wxColour
*arg1
= (wxColour
*) 0 ;
4289 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4295 PyObject
* obj0
= 0 ;
4296 PyObject
* obj1
= 0 ;
4297 char * kwnames
[] = {
4298 (char *) "self",(char *) "flags", NULL
4301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4303 if (!SWIG_IsOK(res1
)) {
4304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4306 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4308 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4309 if (!SWIG_IsOK(ecode2
)) {
4310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4312 arg2
= static_cast< long >(val2
);
4315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4316 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4317 wxPyEndAllowThreads(__tstate
);
4318 if (PyErr_Occurred()) SWIG_fail
;
4322 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4324 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4333 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4334 PyObject
*resultobj
= 0;
4335 wxColour
*arg1
= (wxColour
*) 0 ;
4339 PyObject
*swig_obj
[1] ;
4341 if (!args
) SWIG_fail
;
4343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4344 if (!SWIG_IsOK(res1
)) {
4345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4347 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4350 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4351 wxPyEndAllowThreads(__tstate
);
4352 if (PyErr_Occurred()) SWIG_fail
;
4354 resultobj
= SWIG_From_long(static_cast< long >(result
));
4361 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4362 PyObject
*resultobj
= 0;
4363 wxColour
*arg1
= (wxColour
*) 0 ;
4364 PyObject
*arg2
= (PyObject
*) 0 ;
4368 PyObject
* obj0
= 0 ;
4369 PyObject
* obj1
= 0 ;
4370 char * kwnames
[] = {
4371 (char *) "self",(char *) "other", NULL
4374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4376 if (!SWIG_IsOK(res1
)) {
4377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4379 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4382 result
= (bool)wxColour___eq__(arg1
,arg2
);
4383 if (PyErr_Occurred()) SWIG_fail
;
4386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4394 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4395 PyObject
*resultobj
= 0;
4396 wxColour
*arg1
= (wxColour
*) 0 ;
4397 PyObject
*arg2
= (PyObject
*) 0 ;
4401 PyObject
* obj0
= 0 ;
4402 PyObject
* obj1
= 0 ;
4403 char * kwnames
[] = {
4404 (char *) "self",(char *) "other", NULL
4407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4409 if (!SWIG_IsOK(res1
)) {
4410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4412 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4415 result
= (bool)wxColour___ne__(arg1
,arg2
);
4416 if (PyErr_Occurred()) SWIG_fail
;
4419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4427 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4428 PyObject
*resultobj
= 0;
4429 wxColour
*arg1
= (wxColour
*) 0 ;
4430 bool arg2
= (bool) false ;
4431 PyObject
*result
= 0 ;
4436 PyObject
* obj0
= 0 ;
4437 PyObject
* obj1
= 0 ;
4438 char * kwnames
[] = {
4439 (char *) "self",(char *) "includeAlpha", NULL
4442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4444 if (!SWIG_IsOK(res1
)) {
4445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4447 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4449 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4450 if (!SWIG_IsOK(ecode2
)) {
4451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4453 arg2
= static_cast< bool >(val2
);
4456 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4457 if (PyErr_Occurred()) SWIG_fail
;
4466 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4467 PyObject
*resultobj
= 0;
4468 wxColour
*arg1
= (wxColour
*) 0 ;
4469 unsigned long result
;
4472 PyObject
*swig_obj
[1] ;
4474 if (!args
) SWIG_fail
;
4476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4477 if (!SWIG_IsOK(res1
)) {
4478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4480 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4482 result
= (unsigned long)wxColour_GetRGB(arg1
);
4483 if (PyErr_Occurred()) SWIG_fail
;
4485 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4492 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4494 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4495 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4496 return SWIG_Py_Void();
4499 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4500 return SWIG_Python_InitShadowInstance(args
);
4503 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4504 PyObject
*resultobj
= 0;
4506 unsigned char *arg2
= (unsigned char *) 0 ;
4507 unsigned char *arg3
= (unsigned char *) 0 ;
4508 unsigned char *arg4
= (unsigned char *) 0 ;
4509 wxPalette
*result
= 0 ;
4518 PyObject
* obj0
= 0 ;
4519 PyObject
* obj1
= 0 ;
4520 PyObject
* obj2
= 0 ;
4521 PyObject
* obj3
= 0 ;
4522 char * kwnames
[] = {
4523 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4527 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4528 if (!SWIG_IsOK(ecode1
)) {
4529 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4531 arg1
= static_cast< int >(val1
);
4532 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4533 if (!SWIG_IsOK(res2
)) {
4534 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4536 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4537 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4538 if (!SWIG_IsOK(res3
)) {
4539 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4541 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4542 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4543 if (!SWIG_IsOK(res4
)) {
4544 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4546 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4548 if (!wxPyCheckForApp()) SWIG_fail
;
4549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4550 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4551 wxPyEndAllowThreads(__tstate
);
4552 if (PyErr_Occurred()) SWIG_fail
;
4554 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4561 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4562 PyObject
*resultobj
= 0;
4563 wxPalette
*arg1
= (wxPalette
*) 0 ;
4566 PyObject
*swig_obj
[1] ;
4568 if (!args
) SWIG_fail
;
4570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4571 if (!SWIG_IsOK(res1
)) {
4572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4574 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4579 wxPyEndAllowThreads(__tstate
);
4580 if (PyErr_Occurred()) SWIG_fail
;
4582 resultobj
= SWIG_Py_Void();
4589 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4590 PyObject
*resultobj
= 0;
4591 wxPalette
*arg1
= (wxPalette
*) 0 ;
4598 unsigned char val2
;
4600 unsigned char val3
;
4602 unsigned char val4
;
4604 PyObject
* obj0
= 0 ;
4605 PyObject
* obj1
= 0 ;
4606 PyObject
* obj2
= 0 ;
4607 PyObject
* obj3
= 0 ;
4608 char * kwnames
[] = {
4609 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4614 if (!SWIG_IsOK(res1
)) {
4615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4617 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4618 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4619 if (!SWIG_IsOK(ecode2
)) {
4620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4622 arg2
= static_cast< byte
>(val2
);
4623 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4624 if (!SWIG_IsOK(ecode3
)) {
4625 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4627 arg3
= static_cast< byte
>(val3
);
4628 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4629 if (!SWIG_IsOK(ecode4
)) {
4630 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4632 arg4
= static_cast< byte
>(val4
);
4634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4635 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4636 wxPyEndAllowThreads(__tstate
);
4637 if (PyErr_Occurred()) SWIG_fail
;
4639 resultobj
= SWIG_From_int(static_cast< int >(result
));
4646 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4647 PyObject
*resultobj
= 0;
4648 wxPalette
*arg1
= (wxPalette
*) 0 ;
4650 byte
*arg3
= (byte
*) 0 ;
4651 byte
*arg4
= (byte
*) 0 ;
4652 byte
*arg5
= (byte
*) 0 ;
4659 int res3
= SWIG_TMPOBJ
;
4661 int res4
= SWIG_TMPOBJ
;
4663 int res5
= SWIG_TMPOBJ
;
4664 PyObject
* obj0
= 0 ;
4665 PyObject
* obj1
= 0 ;
4666 char * kwnames
[] = {
4667 (char *) "self",(char *) "pixel", NULL
4673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4675 if (!SWIG_IsOK(res1
)) {
4676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4678 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4679 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4680 if (!SWIG_IsOK(ecode2
)) {
4681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4683 arg2
= static_cast< int >(val2
);
4685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4686 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4687 wxPyEndAllowThreads(__tstate
);
4688 if (PyErr_Occurred()) SWIG_fail
;
4691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4693 if (SWIG_IsTmpObj(res3
)) {
4694 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4696 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4697 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4699 if (SWIG_IsTmpObj(res4
)) {
4700 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4702 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4703 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4705 if (SWIG_IsTmpObj(res5
)) {
4706 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4708 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4709 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4717 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4718 PyObject
*resultobj
= 0;
4719 wxPalette
*arg1
= (wxPalette
*) 0 ;
4723 PyObject
*swig_obj
[1] ;
4725 if (!args
) SWIG_fail
;
4727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4728 if (!SWIG_IsOK(res1
)) {
4729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4731 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4734 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4735 wxPyEndAllowThreads(__tstate
);
4736 if (PyErr_Occurred()) SWIG_fail
;
4738 resultobj
= SWIG_From_int(static_cast< int >(result
));
4745 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4746 PyObject
*resultobj
= 0;
4747 wxPalette
*arg1
= (wxPalette
*) 0 ;
4751 PyObject
*swig_obj
[1] ;
4753 if (!args
) SWIG_fail
;
4755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4756 if (!SWIG_IsOK(res1
)) {
4757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
4759 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4762 result
= (bool)(arg1
)->IsOk();
4763 wxPyEndAllowThreads(__tstate
);
4764 if (PyErr_Occurred()) SWIG_fail
;
4767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4775 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4777 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4778 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4779 return SWIG_Py_Void();
4782 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4783 return SWIG_Python_InitShadowInstance(args
);
4786 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4787 PyObject
*resultobj
= 0;
4788 wxColour
*arg1
= 0 ;
4789 int arg2
= (int) 1 ;
4790 int arg3
= (int) wxSOLID
;
4797 PyObject
* obj0
= 0 ;
4798 PyObject
* obj1
= 0 ;
4799 PyObject
* obj2
= 0 ;
4800 char * kwnames
[] = {
4801 (char *) "colour",(char *) "width",(char *) "style", NULL
4804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4807 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4810 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4811 if (!SWIG_IsOK(ecode2
)) {
4812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4814 arg2
= static_cast< int >(val2
);
4817 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4818 if (!SWIG_IsOK(ecode3
)) {
4819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4821 arg3
= static_cast< int >(val3
);
4824 if (!wxPyCheckForApp()) SWIG_fail
;
4825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4826 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4827 wxPyEndAllowThreads(__tstate
);
4828 if (PyErr_Occurred()) SWIG_fail
;
4830 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4837 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4838 PyObject
*resultobj
= 0;
4839 wxPen
*arg1
= (wxPen
*) 0 ;
4842 PyObject
*swig_obj
[1] ;
4844 if (!args
) SWIG_fail
;
4846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4847 if (!SWIG_IsOK(res1
)) {
4848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4850 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4855 wxPyEndAllowThreads(__tstate
);
4856 if (PyErr_Occurred()) SWIG_fail
;
4858 resultobj
= SWIG_Py_Void();
4865 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4866 PyObject
*resultobj
= 0;
4867 wxPen
*arg1
= (wxPen
*) 0 ;
4871 PyObject
*swig_obj
[1] ;
4873 if (!args
) SWIG_fail
;
4875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4876 if (!SWIG_IsOK(res1
)) {
4877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4879 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4882 result
= (int)(arg1
)->GetCap();
4883 wxPyEndAllowThreads(__tstate
);
4884 if (PyErr_Occurred()) SWIG_fail
;
4886 resultobj
= SWIG_From_int(static_cast< int >(result
));
4893 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4894 PyObject
*resultobj
= 0;
4895 wxPen
*arg1
= (wxPen
*) 0 ;
4899 PyObject
*swig_obj
[1] ;
4901 if (!args
) SWIG_fail
;
4903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4904 if (!SWIG_IsOK(res1
)) {
4905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4907 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4910 result
= (arg1
)->GetColour();
4911 wxPyEndAllowThreads(__tstate
);
4912 if (PyErr_Occurred()) SWIG_fail
;
4914 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4921 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4922 PyObject
*resultobj
= 0;
4923 wxPen
*arg1
= (wxPen
*) 0 ;
4927 PyObject
*swig_obj
[1] ;
4929 if (!args
) SWIG_fail
;
4931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4932 if (!SWIG_IsOK(res1
)) {
4933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4935 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4938 result
= (int)(arg1
)->GetJoin();
4939 wxPyEndAllowThreads(__tstate
);
4940 if (PyErr_Occurred()) SWIG_fail
;
4942 resultobj
= SWIG_From_int(static_cast< int >(result
));
4949 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4950 PyObject
*resultobj
= 0;
4951 wxPen
*arg1
= (wxPen
*) 0 ;
4955 PyObject
*swig_obj
[1] ;
4957 if (!args
) SWIG_fail
;
4959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4960 if (!SWIG_IsOK(res1
)) {
4961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4963 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4966 result
= (int)(arg1
)->GetStyle();
4967 wxPyEndAllowThreads(__tstate
);
4968 if (PyErr_Occurred()) SWIG_fail
;
4970 resultobj
= SWIG_From_int(static_cast< int >(result
));
4977 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4978 PyObject
*resultobj
= 0;
4979 wxPen
*arg1
= (wxPen
*) 0 ;
4983 PyObject
*swig_obj
[1] ;
4985 if (!args
) SWIG_fail
;
4987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4988 if (!SWIG_IsOK(res1
)) {
4989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4991 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4994 result
= (int)(arg1
)->GetWidth();
4995 wxPyEndAllowThreads(__tstate
);
4996 if (PyErr_Occurred()) SWIG_fail
;
4998 resultobj
= SWIG_From_int(static_cast< int >(result
));
5005 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5006 PyObject
*resultobj
= 0;
5007 wxPen
*arg1
= (wxPen
*) 0 ;
5011 PyObject
*swig_obj
[1] ;
5013 if (!args
) SWIG_fail
;
5015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5016 if (!SWIG_IsOK(res1
)) {
5017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5019 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5022 result
= (bool)(arg1
)->IsOk();
5023 wxPyEndAllowThreads(__tstate
);
5024 if (PyErr_Occurred()) SWIG_fail
;
5027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5035 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5036 PyObject
*resultobj
= 0;
5037 wxPen
*arg1
= (wxPen
*) 0 ;
5043 PyObject
* obj0
= 0 ;
5044 PyObject
* obj1
= 0 ;
5045 char * kwnames
[] = {
5046 (char *) "self",(char *) "cap_style", NULL
5049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5051 if (!SWIG_IsOK(res1
)) {
5052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5054 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5055 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5056 if (!SWIG_IsOK(ecode2
)) {
5057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5059 arg2
= static_cast< int >(val2
);
5061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5062 (arg1
)->SetCap(arg2
);
5063 wxPyEndAllowThreads(__tstate
);
5064 if (PyErr_Occurred()) SWIG_fail
;
5066 resultobj
= SWIG_Py_Void();
5073 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5074 PyObject
*resultobj
= 0;
5075 wxPen
*arg1
= (wxPen
*) 0 ;
5076 wxColour
*arg2
= 0 ;
5080 PyObject
* obj0
= 0 ;
5081 PyObject
* obj1
= 0 ;
5082 char * kwnames
[] = {
5083 (char *) "self",(char *) "colour", NULL
5086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5088 if (!SWIG_IsOK(res1
)) {
5089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5091 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5094 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5098 (arg1
)->SetColour(*arg2
);
5099 wxPyEndAllowThreads(__tstate
);
5100 if (PyErr_Occurred()) SWIG_fail
;
5102 resultobj
= SWIG_Py_Void();
5109 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5110 PyObject
*resultobj
= 0;
5111 wxPen
*arg1
= (wxPen
*) 0 ;
5117 PyObject
* obj0
= 0 ;
5118 PyObject
* obj1
= 0 ;
5119 char * kwnames
[] = {
5120 (char *) "self",(char *) "join_style", NULL
5123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5125 if (!SWIG_IsOK(res1
)) {
5126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5128 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5129 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5130 if (!SWIG_IsOK(ecode2
)) {
5131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5133 arg2
= static_cast< int >(val2
);
5135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5136 (arg1
)->SetJoin(arg2
);
5137 wxPyEndAllowThreads(__tstate
);
5138 if (PyErr_Occurred()) SWIG_fail
;
5140 resultobj
= SWIG_Py_Void();
5147 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5148 PyObject
*resultobj
= 0;
5149 wxPen
*arg1
= (wxPen
*) 0 ;
5155 PyObject
* obj0
= 0 ;
5156 PyObject
* obj1
= 0 ;
5157 char * kwnames
[] = {
5158 (char *) "self",(char *) "style", NULL
5161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5163 if (!SWIG_IsOK(res1
)) {
5164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5166 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5168 if (!SWIG_IsOK(ecode2
)) {
5169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5171 arg2
= static_cast< int >(val2
);
5173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5174 (arg1
)->SetStyle(arg2
);
5175 wxPyEndAllowThreads(__tstate
);
5176 if (PyErr_Occurred()) SWIG_fail
;
5178 resultobj
= SWIG_Py_Void();
5185 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5186 PyObject
*resultobj
= 0;
5187 wxPen
*arg1
= (wxPen
*) 0 ;
5193 PyObject
* obj0
= 0 ;
5194 PyObject
* obj1
= 0 ;
5195 char * kwnames
[] = {
5196 (char *) "self",(char *) "width", NULL
5199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5201 if (!SWIG_IsOK(res1
)) {
5202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5204 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5205 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5206 if (!SWIG_IsOK(ecode2
)) {
5207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5209 arg2
= static_cast< int >(val2
);
5211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5212 (arg1
)->SetWidth(arg2
);
5213 wxPyEndAllowThreads(__tstate
);
5214 if (PyErr_Occurred()) SWIG_fail
;
5216 resultobj
= SWIG_Py_Void();
5223 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5224 PyObject
*resultobj
= 0;
5225 wxPen
*arg1
= (wxPen
*) 0 ;
5227 wxDash
*arg3
= (wxDash
*) 0 ;
5230 PyObject
* obj0
= 0 ;
5231 PyObject
* obj1
= 0 ;
5232 char * kwnames
[] = {
5233 (char *) "self",(char *) "dashes", NULL
5236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5238 if (!SWIG_IsOK(res1
)) {
5239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5241 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5243 arg2
= PyList_Size(obj1
);
5244 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5245 if (arg3
== NULL
) SWIG_fail
;
5248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5249 (arg1
)->SetDashes(arg2
,arg3
);
5250 wxPyEndAllowThreads(__tstate
);
5251 if (PyErr_Occurred()) SWIG_fail
;
5253 resultobj
= SWIG_Py_Void();
5255 if (arg3
) delete [] arg3
;
5260 if (arg3
) delete [] arg3
;
5266 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5267 PyObject
*resultobj
= 0;
5268 wxPen
*arg1
= (wxPen
*) 0 ;
5269 PyObject
*result
= 0 ;
5272 PyObject
*swig_obj
[1] ;
5274 if (!args
) SWIG_fail
;
5276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5277 if (!SWIG_IsOK(res1
)) {
5278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5280 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5283 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5284 wxPyEndAllowThreads(__tstate
);
5285 if (PyErr_Occurred()) SWIG_fail
;
5294 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5295 PyObject
*resultobj
= 0;
5296 wxPen
*arg1
= (wxPen
*) 0 ;
5297 PyObject
*arg2
= (PyObject
*) 0 ;
5298 PyObject
*arg3
= (PyObject
*) 0 ;
5301 PyObject
* obj0
= 0 ;
5302 PyObject
* obj1
= 0 ;
5303 PyObject
* obj2
= 0 ;
5304 char * kwnames
[] = {
5305 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5310 if (!SWIG_IsOK(res1
)) {
5311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5313 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5318 wxPen__SetDashes(arg1
,arg2
,arg3
);
5319 wxPyEndAllowThreads(__tstate
);
5320 if (PyErr_Occurred()) SWIG_fail
;
5322 resultobj
= SWIG_Py_Void();
5329 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5330 PyObject
*resultobj
= 0;
5331 wxPen
*arg1
= (wxPen
*) 0 ;
5332 wxPen
*arg2
= (wxPen
*) 0 ;
5338 PyObject
* obj0
= 0 ;
5339 PyObject
* obj1
= 0 ;
5340 char * kwnames
[] = {
5341 (char *) "self",(char *) "other", NULL
5344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5346 if (!SWIG_IsOK(res1
)) {
5347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5349 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5350 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5351 if (!SWIG_IsOK(res2
)) {
5352 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5354 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5357 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5358 wxPyEndAllowThreads(__tstate
);
5359 if (PyErr_Occurred()) SWIG_fail
;
5362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5370 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5371 PyObject
*resultobj
= 0;
5372 wxPen
*arg1
= (wxPen
*) 0 ;
5373 wxPen
*arg2
= (wxPen
*) 0 ;
5379 PyObject
* obj0
= 0 ;
5380 PyObject
* obj1
= 0 ;
5381 char * kwnames
[] = {
5382 (char *) "self",(char *) "other", NULL
5385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5387 if (!SWIG_IsOK(res1
)) {
5388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5390 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5391 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5392 if (!SWIG_IsOK(res2
)) {
5393 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5395 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5398 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5399 wxPyEndAllowThreads(__tstate
);
5400 if (PyErr_Occurred()) SWIG_fail
;
5403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5411 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5413 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5414 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5415 return SWIG_Py_Void();
5418 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5419 return SWIG_Python_InitShadowInstance(args
);
5422 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5423 PyObject
*resultobj
= 0;
5424 wxColour
*arg1
= 0 ;
5425 int arg2
= (int) wxSOLID
;
5426 wxBrush
*result
= 0 ;
5430 PyObject
* obj0
= 0 ;
5431 PyObject
* obj1
= 0 ;
5432 char * kwnames
[] = {
5433 (char *) "colour",(char *) "style", NULL
5436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5439 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5442 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5443 if (!SWIG_IsOK(ecode2
)) {
5444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5446 arg2
= static_cast< int >(val2
);
5449 if (!wxPyCheckForApp()) SWIG_fail
;
5450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5451 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5452 wxPyEndAllowThreads(__tstate
);
5453 if (PyErr_Occurred()) SWIG_fail
;
5455 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5462 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5463 PyObject
*resultobj
= 0;
5464 wxBitmap
*arg1
= 0 ;
5465 wxBrush
*result
= 0 ;
5468 PyObject
* obj0
= 0 ;
5469 char * kwnames
[] = {
5470 (char *) "stippleBitmap", NULL
5473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5474 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5475 if (!SWIG_IsOK(res1
)) {
5476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5479 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5481 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5483 if (!wxPyCheckForApp()) SWIG_fail
;
5484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5485 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5486 wxPyEndAllowThreads(__tstate
);
5487 if (PyErr_Occurred()) SWIG_fail
;
5489 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5496 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5497 PyObject
*resultobj
= 0;
5498 wxBrush
*arg1
= (wxBrush
*) 0 ;
5501 PyObject
*swig_obj
[1] ;
5503 if (!args
) SWIG_fail
;
5505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5506 if (!SWIG_IsOK(res1
)) {
5507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5509 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5514 wxPyEndAllowThreads(__tstate
);
5515 if (PyErr_Occurred()) SWIG_fail
;
5517 resultobj
= SWIG_Py_Void();
5524 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5525 PyObject
*resultobj
= 0;
5526 wxBrush
*arg1
= (wxBrush
*) 0 ;
5527 wxColour
*arg2
= 0 ;
5531 PyObject
* obj0
= 0 ;
5532 PyObject
* obj1
= 0 ;
5533 char * kwnames
[] = {
5534 (char *) "self",(char *) "col", NULL
5537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5539 if (!SWIG_IsOK(res1
)) {
5540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5542 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5545 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5549 (arg1
)->SetColour((wxColour
const &)*arg2
);
5550 wxPyEndAllowThreads(__tstate
);
5551 if (PyErr_Occurred()) SWIG_fail
;
5553 resultobj
= SWIG_Py_Void();
5560 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5561 PyObject
*resultobj
= 0;
5562 wxBrush
*arg1
= (wxBrush
*) 0 ;
5568 PyObject
* obj0
= 0 ;
5569 PyObject
* obj1
= 0 ;
5570 char * kwnames
[] = {
5571 (char *) "self",(char *) "style", NULL
5574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5576 if (!SWIG_IsOK(res1
)) {
5577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5579 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5580 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5581 if (!SWIG_IsOK(ecode2
)) {
5582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5584 arg2
= static_cast< int >(val2
);
5586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5587 (arg1
)->SetStyle(arg2
);
5588 wxPyEndAllowThreads(__tstate
);
5589 if (PyErr_Occurred()) SWIG_fail
;
5591 resultobj
= SWIG_Py_Void();
5598 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5599 PyObject
*resultobj
= 0;
5600 wxBrush
*arg1
= (wxBrush
*) 0 ;
5601 wxBitmap
*arg2
= 0 ;
5606 PyObject
* obj0
= 0 ;
5607 PyObject
* obj1
= 0 ;
5608 char * kwnames
[] = {
5609 (char *) "self",(char *) "stipple", NULL
5612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5614 if (!SWIG_IsOK(res1
)) {
5615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5617 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5618 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5619 if (!SWIG_IsOK(res2
)) {
5620 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5623 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5625 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5628 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5629 wxPyEndAllowThreads(__tstate
);
5630 if (PyErr_Occurred()) SWIG_fail
;
5632 resultobj
= SWIG_Py_Void();
5639 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5640 PyObject
*resultobj
= 0;
5641 wxBrush
*arg1
= (wxBrush
*) 0 ;
5645 PyObject
*swig_obj
[1] ;
5647 if (!args
) SWIG_fail
;
5649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5650 if (!SWIG_IsOK(res1
)) {
5651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5653 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5656 result
= ((wxBrush
const *)arg1
)->GetColour();
5657 wxPyEndAllowThreads(__tstate
);
5658 if (PyErr_Occurred()) SWIG_fail
;
5660 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5667 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5668 PyObject
*resultobj
= 0;
5669 wxBrush
*arg1
= (wxBrush
*) 0 ;
5673 PyObject
*swig_obj
[1] ;
5675 if (!args
) SWIG_fail
;
5677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5678 if (!SWIG_IsOK(res1
)) {
5679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5681 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5684 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5685 wxPyEndAllowThreads(__tstate
);
5686 if (PyErr_Occurred()) SWIG_fail
;
5688 resultobj
= SWIG_From_int(static_cast< int >(result
));
5695 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5696 PyObject
*resultobj
= 0;
5697 wxBrush
*arg1
= (wxBrush
*) 0 ;
5698 wxBitmap
*result
= 0 ;
5701 PyObject
*swig_obj
[1] ;
5703 if (!args
) SWIG_fail
;
5705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5706 if (!SWIG_IsOK(res1
)) {
5707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5709 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5712 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5713 wxPyEndAllowThreads(__tstate
);
5714 if (PyErr_Occurred()) SWIG_fail
;
5716 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5723 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5724 PyObject
*resultobj
= 0;
5725 wxBrush
*arg1
= (wxBrush
*) 0 ;
5729 PyObject
*swig_obj
[1] ;
5731 if (!args
) SWIG_fail
;
5733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5734 if (!SWIG_IsOK(res1
)) {
5735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5737 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5740 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5741 wxPyEndAllowThreads(__tstate
);
5742 if (PyErr_Occurred()) SWIG_fail
;
5745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5753 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5754 PyObject
*resultobj
= 0;
5755 wxBrush
*arg1
= (wxBrush
*) 0 ;
5759 PyObject
*swig_obj
[1] ;
5761 if (!args
) SWIG_fail
;
5763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5764 if (!SWIG_IsOK(res1
)) {
5765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
5767 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5770 result
= (bool)(arg1
)->IsOk();
5771 wxPyEndAllowThreads(__tstate
);
5772 if (PyErr_Occurred()) SWIG_fail
;
5775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5783 SWIGINTERN PyObject
*_wrap_Brush_MacGetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5784 PyObject
*resultobj
= 0;
5785 wxBrush
*arg1
= (wxBrush
*) 0 ;
5789 PyObject
*swig_obj
[1] ;
5791 if (!args
) SWIG_fail
;
5793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5794 if (!SWIG_IsOK(res1
)) {
5795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacGetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
5797 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5800 result
= (short)(arg1
)->MacGetTheme();
5801 wxPyEndAllowThreads(__tstate
);
5802 if (PyErr_Occurred()) SWIG_fail
;
5804 resultobj
= SWIG_From_short(static_cast< short >(result
));
5811 SWIGINTERN PyObject
*_wrap_Brush_MacSetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5812 PyObject
*resultobj
= 0;
5813 wxBrush
*arg1
= (wxBrush
*) 0 ;
5819 PyObject
* obj0
= 0 ;
5820 PyObject
* obj1
= 0 ;
5821 char * kwnames
[] = {
5822 (char *) "self",(char *) "macThemeBrush", NULL
5825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5827 if (!SWIG_IsOK(res1
)) {
5828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacSetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
5830 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5831 ecode2
= SWIG_AsVal_short(obj1
, &val2
);
5832 if (!SWIG_IsOK(ecode2
)) {
5833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_MacSetTheme" "', expected argument " "2"" of type '" "short""'");
5835 arg2
= static_cast< short >(val2
);
5837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5838 (arg1
)->MacSetTheme(arg2
);
5839 wxPyEndAllowThreads(__tstate
);
5840 if (PyErr_Occurred()) SWIG_fail
;
5842 resultobj
= SWIG_Py_Void();
5849 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5851 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5852 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5853 return SWIG_Py_Void();
5856 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5857 return SWIG_Python_InitShadowInstance(args
);
5860 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5861 PyObject
*resultobj
= 0;
5862 wxString
*arg1
= 0 ;
5863 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5864 wxBitmap
*result
= 0 ;
5865 bool temp1
= false ;
5868 PyObject
* obj0
= 0 ;
5869 PyObject
* obj1
= 0 ;
5870 char * kwnames
[] = {
5871 (char *) "name",(char *) "type", NULL
5874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5876 arg1
= wxString_in_helper(obj0
);
5877 if (arg1
== NULL
) SWIG_fail
;
5881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5882 if (!SWIG_IsOK(ecode2
)) {
5883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5885 arg2
= static_cast< wxBitmapType
>(val2
);
5888 if (!wxPyCheckForApp()) SWIG_fail
;
5889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5890 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5891 wxPyEndAllowThreads(__tstate
);
5892 if (PyErr_Occurred()) SWIG_fail
;
5894 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5909 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5910 PyObject
*resultobj
= 0;
5911 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5914 PyObject
*swig_obj
[1] ;
5916 if (!args
) SWIG_fail
;
5918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5919 if (!SWIG_IsOK(res1
)) {
5920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5922 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5926 if (PyErr_Occurred()) SWIG_fail
;
5928 resultobj
= SWIG_Py_Void();
5935 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5936 PyObject
*resultobj
= 0;
5939 int arg3
= (int) -1 ;
5940 wxBitmap
*result
= 0 ;
5947 PyObject
* obj0
= 0 ;
5948 PyObject
* obj1
= 0 ;
5949 PyObject
* obj2
= 0 ;
5950 char * kwnames
[] = {
5951 (char *) "width",(char *) "height",(char *) "depth", NULL
5954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5955 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5956 if (!SWIG_IsOK(ecode1
)) {
5957 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5959 arg1
= static_cast< int >(val1
);
5960 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5961 if (!SWIG_IsOK(ecode2
)) {
5962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5964 arg2
= static_cast< int >(val2
);
5966 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5967 if (!SWIG_IsOK(ecode3
)) {
5968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5970 arg3
= static_cast< int >(val3
);
5973 if (!wxPyCheckForApp()) SWIG_fail
;
5974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5975 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5976 wxPyEndAllowThreads(__tstate
);
5977 if (PyErr_Occurred()) SWIG_fail
;
5979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5986 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5987 PyObject
*resultobj
= 0;
5989 wxBitmap
*result
= 0 ;
5992 PyObject
* obj0
= 0 ;
5993 char * kwnames
[] = {
5994 (char *) "icon", NULL
5997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5998 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5999 if (!SWIG_IsOK(res1
)) {
6000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6003 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
6005 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
6007 if (!wxPyCheckForApp()) SWIG_fail
;
6008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6009 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
6010 wxPyEndAllowThreads(__tstate
);
6011 if (PyErr_Occurred()) SWIG_fail
;
6013 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6020 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6021 PyObject
*resultobj
= 0;
6023 int arg2
= (int) -1 ;
6024 wxBitmap
*result
= 0 ;
6029 PyObject
* obj0
= 0 ;
6030 PyObject
* obj1
= 0 ;
6031 char * kwnames
[] = {
6032 (char *) "image",(char *) "depth", NULL
6035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6036 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6037 if (!SWIG_IsOK(res1
)) {
6038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6041 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6043 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6045 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6046 if (!SWIG_IsOK(ecode2
)) {
6047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6049 arg2
= static_cast< int >(val2
);
6052 if (!wxPyCheckForApp()) SWIG_fail
;
6053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6054 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6055 wxPyEndAllowThreads(__tstate
);
6056 if (PyErr_Occurred()) SWIG_fail
;
6058 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6065 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6066 PyObject
*resultobj
= 0;
6067 PyObject
*arg1
= (PyObject
*) 0 ;
6068 wxBitmap
*result
= 0 ;
6069 PyObject
* obj0
= 0 ;
6070 char * kwnames
[] = {
6071 (char *) "listOfStrings", NULL
6074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6077 if (!wxPyCheckForApp()) SWIG_fail
;
6078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6079 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6080 wxPyEndAllowThreads(__tstate
);
6081 if (PyErr_Occurred()) SWIG_fail
;
6083 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6090 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6091 PyObject
*resultobj
= 0;
6092 PyObject
*arg1
= (PyObject
*) 0 ;
6095 int arg4
= (int) 1 ;
6096 wxBitmap
*result
= 0 ;
6103 PyObject
* obj0
= 0 ;
6104 PyObject
* obj1
= 0 ;
6105 PyObject
* obj2
= 0 ;
6106 PyObject
* obj3
= 0 ;
6107 char * kwnames
[] = {
6108 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6113 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6114 if (!SWIG_IsOK(ecode2
)) {
6115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6117 arg2
= static_cast< int >(val2
);
6118 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6119 if (!SWIG_IsOK(ecode3
)) {
6120 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6122 arg3
= static_cast< int >(val3
);
6124 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6125 if (!SWIG_IsOK(ecode4
)) {
6126 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6128 arg4
= static_cast< int >(val4
);
6131 if (!wxPyCheckForApp()) SWIG_fail
;
6132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6133 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6134 wxPyEndAllowThreads(__tstate
);
6135 if (PyErr_Occurred()) SWIG_fail
;
6137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6144 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6145 PyObject
*resultobj
= 0;
6146 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6150 PyObject
*swig_obj
[1] ;
6152 if (!args
) SWIG_fail
;
6154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6155 if (!SWIG_IsOK(res1
)) {
6156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6158 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6160 result
= (bool)(arg1
)->IsOk();
6161 if (PyErr_Occurred()) SWIG_fail
;
6164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6172 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6173 PyObject
*resultobj
= 0;
6174 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6178 PyObject
*swig_obj
[1] ;
6180 if (!args
) SWIG_fail
;
6182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6183 if (!SWIG_IsOK(res1
)) {
6184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6186 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6188 result
= (int)(arg1
)->GetWidth();
6189 if (PyErr_Occurred()) SWIG_fail
;
6191 resultobj
= SWIG_From_int(static_cast< int >(result
));
6198 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6199 PyObject
*resultobj
= 0;
6200 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6204 PyObject
*swig_obj
[1] ;
6206 if (!args
) SWIG_fail
;
6208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6209 if (!SWIG_IsOK(res1
)) {
6210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6212 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6214 result
= (int)(arg1
)->GetHeight();
6215 if (PyErr_Occurred()) SWIG_fail
;
6217 resultobj
= SWIG_From_int(static_cast< int >(result
));
6224 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6225 PyObject
*resultobj
= 0;
6226 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6230 PyObject
*swig_obj
[1] ;
6232 if (!args
) SWIG_fail
;
6234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6235 if (!SWIG_IsOK(res1
)) {
6236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6238 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6240 result
= (int)(arg1
)->GetDepth();
6241 if (PyErr_Occurred()) SWIG_fail
;
6243 resultobj
= SWIG_From_int(static_cast< int >(result
));
6250 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6251 PyObject
*resultobj
= 0;
6252 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6256 PyObject
*swig_obj
[1] ;
6258 if (!args
) SWIG_fail
;
6260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6261 if (!SWIG_IsOK(res1
)) {
6262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6264 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6266 result
= wxBitmap_GetSize(arg1
);
6267 if (PyErr_Occurred()) SWIG_fail
;
6269 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6276 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6277 PyObject
*resultobj
= 0;
6278 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6279 SwigValueWrapper
<wxImage
> result
;
6282 PyObject
*swig_obj
[1] ;
6284 if (!args
) SWIG_fail
;
6286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6287 if (!SWIG_IsOK(res1
)) {
6288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6290 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6292 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6293 if (PyErr_Occurred()) SWIG_fail
;
6295 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6302 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6303 PyObject
*resultobj
= 0;
6304 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6305 wxMask
*result
= 0 ;
6308 PyObject
*swig_obj
[1] ;
6310 if (!args
) SWIG_fail
;
6312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6313 if (!SWIG_IsOK(res1
)) {
6314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6316 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6318 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6319 if (PyErr_Occurred()) SWIG_fail
;
6321 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6328 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6329 PyObject
*resultobj
= 0;
6330 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6331 wxMask
*arg2
= (wxMask
*) 0 ;
6335 PyObject
* obj0
= 0 ;
6336 PyObject
* obj1
= 0 ;
6337 char * kwnames
[] = {
6338 (char *) "self",(char *) "mask", NULL
6341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6343 if (!SWIG_IsOK(res1
)) {
6344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6346 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6347 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6348 if (!SWIG_IsOK(res2
)) {
6349 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6352 (arg1
)->SetMask(arg2
);
6353 if (PyErr_Occurred()) SWIG_fail
;
6355 resultobj
= SWIG_Py_Void();
6362 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6363 PyObject
*resultobj
= 0;
6364 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6365 wxColour
*arg2
= 0 ;
6369 PyObject
* obj0
= 0 ;
6370 PyObject
* obj1
= 0 ;
6371 char * kwnames
[] = {
6372 (char *) "self",(char *) "colour", NULL
6375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6377 if (!SWIG_IsOK(res1
)) {
6378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6380 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6383 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6386 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6387 if (PyErr_Occurred()) SWIG_fail
;
6389 resultobj
= SWIG_Py_Void();
6396 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6397 PyObject
*resultobj
= 0;
6398 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6400 SwigValueWrapper
<wxBitmap
> result
;
6404 PyObject
* obj0
= 0 ;
6405 PyObject
* obj1
= 0 ;
6406 char * kwnames
[] = {
6407 (char *) "self",(char *) "rect", NULL
6410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6412 if (!SWIG_IsOK(res1
)) {
6413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6415 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6418 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6421 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6422 if (PyErr_Occurred()) SWIG_fail
;
6424 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6431 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6432 PyObject
*resultobj
= 0;
6433 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6434 wxString
*arg2
= 0 ;
6436 wxPalette
*arg4
= (wxPalette
*) NULL
;
6440 bool temp2
= false ;
6445 PyObject
* obj0
= 0 ;
6446 PyObject
* obj1
= 0 ;
6447 PyObject
* obj2
= 0 ;
6448 PyObject
* obj3
= 0 ;
6449 char * kwnames
[] = {
6450 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6455 if (!SWIG_IsOK(res1
)) {
6456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6458 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6460 arg2
= wxString_in_helper(obj1
);
6461 if (arg2
== NULL
) SWIG_fail
;
6464 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6465 if (!SWIG_IsOK(ecode3
)) {
6466 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6468 arg3
= static_cast< wxBitmapType
>(val3
);
6470 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6471 if (!SWIG_IsOK(res4
)) {
6472 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6474 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6477 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6478 if (PyErr_Occurred()) SWIG_fail
;
6481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6497 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6498 PyObject
*resultobj
= 0;
6499 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6500 wxString
*arg2
= 0 ;
6505 bool temp2
= false ;
6508 PyObject
* obj0
= 0 ;
6509 PyObject
* obj1
= 0 ;
6510 PyObject
* obj2
= 0 ;
6511 char * kwnames
[] = {
6512 (char *) "self",(char *) "name",(char *) "type", NULL
6515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6517 if (!SWIG_IsOK(res1
)) {
6518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6520 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6522 arg2
= wxString_in_helper(obj1
);
6523 if (arg2
== NULL
) SWIG_fail
;
6526 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6527 if (!SWIG_IsOK(ecode3
)) {
6528 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6530 arg3
= static_cast< wxBitmapType
>(val3
);
6532 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6533 if (PyErr_Occurred()) SWIG_fail
;
6536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6552 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6553 PyObject
*resultobj
= 0;
6554 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6555 wxPalette
*result
= 0 ;
6558 PyObject
*swig_obj
[1] ;
6560 if (!args
) SWIG_fail
;
6562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6563 if (!SWIG_IsOK(res1
)) {
6564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6566 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6568 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6569 if (PyErr_Occurred()) SWIG_fail
;
6571 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6578 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6579 PyObject
*resultobj
= 0;
6580 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6587 PyObject
* obj0
= 0 ;
6588 PyObject
* obj1
= 0 ;
6589 char * kwnames
[] = {
6590 (char *) "self",(char *) "icon", NULL
6593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6595 if (!SWIG_IsOK(res1
)) {
6596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6598 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6599 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6600 if (!SWIG_IsOK(res2
)) {
6601 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6604 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6606 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6608 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6609 if (PyErr_Occurred()) SWIG_fail
;
6612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6620 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6621 PyObject
*resultobj
= 0;
6622 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6628 PyObject
* obj0
= 0 ;
6629 PyObject
* obj1
= 0 ;
6630 char * kwnames
[] = {
6631 (char *) "self",(char *) "height", NULL
6634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6636 if (!SWIG_IsOK(res1
)) {
6637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6639 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6640 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6641 if (!SWIG_IsOK(ecode2
)) {
6642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6644 arg2
= static_cast< int >(val2
);
6646 (arg1
)->SetHeight(arg2
);
6647 if (PyErr_Occurred()) SWIG_fail
;
6649 resultobj
= SWIG_Py_Void();
6656 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6657 PyObject
*resultobj
= 0;
6658 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6664 PyObject
* obj0
= 0 ;
6665 PyObject
* obj1
= 0 ;
6666 char * kwnames
[] = {
6667 (char *) "self",(char *) "width", NULL
6670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6672 if (!SWIG_IsOK(res1
)) {
6673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6675 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6676 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6677 if (!SWIG_IsOK(ecode2
)) {
6678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6680 arg2
= static_cast< int >(val2
);
6682 (arg1
)->SetWidth(arg2
);
6683 if (PyErr_Occurred()) SWIG_fail
;
6685 resultobj
= SWIG_Py_Void();
6692 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6693 PyObject
*resultobj
= 0;
6694 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6700 PyObject
* obj0
= 0 ;
6701 PyObject
* obj1
= 0 ;
6702 char * kwnames
[] = {
6703 (char *) "self",(char *) "depth", NULL
6706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6708 if (!SWIG_IsOK(res1
)) {
6709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6711 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6712 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6713 if (!SWIG_IsOK(ecode2
)) {
6714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6716 arg2
= static_cast< int >(val2
);
6718 (arg1
)->SetDepth(arg2
);
6719 if (PyErr_Occurred()) SWIG_fail
;
6721 resultobj
= SWIG_Py_Void();
6728 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6729 PyObject
*resultobj
= 0;
6730 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6735 PyObject
* obj0
= 0 ;
6736 PyObject
* obj1
= 0 ;
6737 char * kwnames
[] = {
6738 (char *) "self",(char *) "size", NULL
6741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6743 if (!SWIG_IsOK(res1
)) {
6744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6746 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6749 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6752 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6753 if (PyErr_Occurred()) SWIG_fail
;
6755 resultobj
= SWIG_Py_Void();
6762 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6763 PyObject
*resultobj
= 0;
6764 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6765 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6771 PyObject
* obj0
= 0 ;
6772 PyObject
* obj1
= 0 ;
6773 char * kwnames
[] = {
6774 (char *) "self",(char *) "other", NULL
6777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6779 if (!SWIG_IsOK(res1
)) {
6780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6782 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6783 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6784 if (!SWIG_IsOK(res2
)) {
6785 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6787 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6789 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6790 if (PyErr_Occurred()) SWIG_fail
;
6793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6801 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6802 PyObject
*resultobj
= 0;
6803 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6804 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6810 PyObject
* obj0
= 0 ;
6811 PyObject
* obj1
= 0 ;
6812 char * kwnames
[] = {
6813 (char *) "self",(char *) "other", NULL
6816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6818 if (!SWIG_IsOK(res1
)) {
6819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6821 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6822 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6823 if (!SWIG_IsOK(res2
)) {
6824 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6826 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6828 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6829 if (PyErr_Occurred()) SWIG_fail
;
6832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6840 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6842 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6843 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6844 return SWIG_Py_Void();
6847 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6848 return SWIG_Python_InitShadowInstance(args
);
6851 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6852 PyObject
*resultobj
= 0;
6859 wxBitmap
*result
= 0 ;
6866 PyObject
* obj0
= 0 ;
6867 PyObject
* obj1
= 0 ;
6868 PyObject
* obj2
= 0 ;
6869 PyObject
* obj3
= 0 ;
6870 char * kwnames
[] = {
6871 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
6874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6875 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6876 if (!SWIG_IsOK(ecode1
)) {
6877 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
6879 arg1
= static_cast< int >(val1
);
6880 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6881 if (!SWIG_IsOK(ecode2
)) {
6882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
6884 arg2
= static_cast< int >(val2
);
6886 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6890 if (obj3
!= Py_None
) {
6891 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
6896 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
6897 if (PyErr_Occurred()) SWIG_fail
;
6899 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6906 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6907 PyObject
*resultobj
= 0;
6912 wxBitmap
*result
= 0 ;
6918 PyObject
* obj0
= 0 ;
6919 PyObject
* obj1
= 0 ;
6920 PyObject
* obj2
= 0 ;
6921 char * kwnames
[] = {
6922 (char *) "width",(char *) "height",(char *) "data", NULL
6925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6926 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6927 if (!SWIG_IsOK(ecode1
)) {
6928 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
6930 arg1
= static_cast< int >(val1
);
6931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6932 if (!SWIG_IsOK(ecode2
)) {
6933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
6935 arg2
= static_cast< int >(val2
);
6937 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6941 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
6942 if (PyErr_Occurred()) SWIG_fail
;
6944 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6951 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6952 PyObject
*resultobj
= 0;
6957 wxBitmap
*result
= 0 ;
6963 PyObject
* obj0
= 0 ;
6964 PyObject
* obj1
= 0 ;
6965 PyObject
* obj2
= 0 ;
6966 char * kwnames
[] = {
6967 (char *) "width",(char *) "height",(char *) "data", NULL
6970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6971 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6972 if (!SWIG_IsOK(ecode1
)) {
6973 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
6975 arg1
= static_cast< int >(val1
);
6976 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6977 if (!SWIG_IsOK(ecode2
)) {
6978 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
6980 arg2
= static_cast< int >(val2
);
6982 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6986 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
6987 if (PyErr_Occurred()) SWIG_fail
;
6989 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6996 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6997 PyObject
*resultobj
= 0;
6998 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7002 PyObject
*swig_obj
[1] ;
7004 if (!args
) SWIG_fail
;
7006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7007 if (!SWIG_IsOK(res1
)) {
7008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7010 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7012 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
7013 if (PyErr_Occurred()) SWIG_fail
;
7015 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7022 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7023 PyObject
*resultobj
= 0;
7024 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7028 PyObject
*swig_obj
[1] ;
7030 if (!args
) SWIG_fail
;
7032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7033 if (!SWIG_IsOK(res1
)) {
7034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7036 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7038 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7039 if (PyErr_Occurred()) SWIG_fail
;
7041 resultobj
= SWIG_From_int(static_cast< int >(result
));
7048 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7049 PyObject
*resultobj
= 0;
7050 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7054 PyObject
*swig_obj
[1] ;
7056 if (!args
) SWIG_fail
;
7058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7059 if (!SWIG_IsOK(res1
)) {
7060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7062 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7064 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7065 if (PyErr_Occurred()) SWIG_fail
;
7067 resultobj
= SWIG_From_int(static_cast< int >(result
));
7074 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7075 PyObject
*resultobj
= 0;
7076 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7080 PyObject
*swig_obj
[1] ;
7082 if (!args
) SWIG_fail
;
7084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7085 if (!SWIG_IsOK(res1
)) {
7086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7088 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7090 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7091 if (PyErr_Occurred()) SWIG_fail
;
7093 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7100 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7101 PyObject
*resultobj
= 0;
7102 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7106 PyObject
*swig_obj
[1] ;
7108 if (!args
) SWIG_fail
;
7110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7111 if (!SWIG_IsOK(res1
)) {
7112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7114 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7116 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7117 if (PyErr_Occurred()) SWIG_fail
;
7119 resultobj
= SWIG_From_int(static_cast< int >(result
));
7126 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7128 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7129 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7130 return SWIG_Py_Void();
7133 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7134 PyObject
*resultobj
= 0;
7135 wxBitmap
*arg1
= 0 ;
7136 wxNativePixelData
*result
= 0 ;
7140 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7142 if (!SWIG_IsOK(res1
)) {
7143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7146 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7148 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7150 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7151 if (PyErr_Occurred()) SWIG_fail
;
7153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7160 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7161 PyObject
*resultobj
= 0;
7162 wxBitmap
*arg1
= 0 ;
7164 wxNativePixelData
*result
= 0 ;
7169 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7171 if (!SWIG_IsOK(res1
)) {
7172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7175 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7177 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7180 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7183 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7184 if (PyErr_Occurred()) SWIG_fail
;
7186 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7193 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7194 PyObject
*resultobj
= 0;
7195 wxBitmap
*arg1
= 0 ;
7198 wxNativePixelData
*result
= 0 ;
7204 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7206 if (!SWIG_IsOK(res1
)) {
7207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7210 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7212 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7215 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7219 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7222 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7223 if (PyErr_Occurred()) SWIG_fail
;
7225 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7232 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7236 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7239 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7242 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7245 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7249 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7254 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7255 PyObject
*resultobj
= 0;
7256 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7259 PyObject
*swig_obj
[1] ;
7261 if (!args
) SWIG_fail
;
7263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7264 if (!SWIG_IsOK(res1
)) {
7265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7267 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7271 if (PyErr_Occurred()) SWIG_fail
;
7273 resultobj
= SWIG_Py_Void();
7280 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7281 PyObject
*resultobj
= 0;
7282 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7283 wxNativePixelData_Accessor result
;
7286 PyObject
*swig_obj
[1] ;
7288 if (!args
) SWIG_fail
;
7290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7291 if (!SWIG_IsOK(res1
)) {
7292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7294 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7296 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7297 if (PyErr_Occurred()) SWIG_fail
;
7299 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7306 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7307 PyObject
*resultobj
= 0;
7308 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7311 PyObject
*swig_obj
[1] ;
7313 if (!args
) SWIG_fail
;
7315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7316 if (!SWIG_IsOK(res1
)) {
7317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7319 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7322 if (PyErr_Occurred()) SWIG_fail
;
7324 resultobj
= SWIG_Py_Void();
7331 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7332 PyObject
*resultobj
= 0;
7333 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7337 PyObject
*swig_obj
[1] ;
7339 if (!args
) SWIG_fail
;
7341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7342 if (!SWIG_IsOK(res1
)) {
7343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7345 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7347 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7348 if (PyErr_Occurred()) SWIG_fail
;
7351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7359 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7361 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7362 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7363 return SWIG_Py_Void();
7366 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7367 return SWIG_Python_InitShadowInstance(args
);
7370 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7371 PyObject
*resultobj
= 0;
7372 wxNativePixelData
*arg1
= 0 ;
7373 wxNativePixelData_Accessor
*result
= 0 ;
7377 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7379 if (!SWIG_IsOK(res1
)) {
7380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7383 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7385 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7387 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7388 if (PyErr_Occurred()) SWIG_fail
;
7390 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7397 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7398 PyObject
*resultobj
= 0;
7399 wxBitmap
*arg1
= 0 ;
7400 wxNativePixelData
*arg2
= 0 ;
7401 wxNativePixelData_Accessor
*result
= 0 ;
7407 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7409 if (!SWIG_IsOK(res1
)) {
7410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7413 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7415 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7416 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7417 if (!SWIG_IsOK(res2
)) {
7418 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7421 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7423 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7425 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7426 if (PyErr_Occurred()) SWIG_fail
;
7428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7435 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7436 PyObject
*resultobj
= 0;
7437 wxNativePixelData_Accessor
*result
= 0 ;
7439 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7441 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7442 if (PyErr_Occurred()) SWIG_fail
;
7444 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7451 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7455 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7458 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7461 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7464 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7468 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7473 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7474 PyObject
*resultobj
= 0;
7475 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7478 PyObject
*swig_obj
[1] ;
7480 if (!args
) SWIG_fail
;
7482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7483 if (!SWIG_IsOK(res1
)) {
7484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7486 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7490 if (PyErr_Occurred()) SWIG_fail
;
7492 resultobj
= SWIG_Py_Void();
7499 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7500 PyObject
*resultobj
= 0;
7501 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7502 wxNativePixelData
*arg2
= 0 ;
7507 PyObject
* obj0
= 0 ;
7508 PyObject
* obj1
= 0 ;
7509 char * kwnames
[] = {
7510 (char *) "self",(char *) "data", NULL
7513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7515 if (!SWIG_IsOK(res1
)) {
7516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7518 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7519 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7520 if (!SWIG_IsOK(res2
)) {
7521 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7524 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7526 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7528 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7529 if (PyErr_Occurred()) SWIG_fail
;
7531 resultobj
= SWIG_Py_Void();
7538 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7539 PyObject
*resultobj
= 0;
7540 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7544 PyObject
*swig_obj
[1] ;
7546 if (!args
) SWIG_fail
;
7548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7549 if (!SWIG_IsOK(res1
)) {
7550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7552 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7554 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7555 if (PyErr_Occurred()) SWIG_fail
;
7558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7566 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7567 PyObject
*resultobj
= 0;
7568 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7571 PyObject
*swig_obj
[1] ;
7573 if (!args
) SWIG_fail
;
7575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7576 if (!SWIG_IsOK(res1
)) {
7577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7579 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7581 wxNativePixelData_Accessor_nextPixel(arg1
);
7582 if (PyErr_Occurred()) SWIG_fail
;
7584 resultobj
= SWIG_Py_Void();
7591 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7592 PyObject
*resultobj
= 0;
7593 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7594 wxNativePixelData
*arg2
= 0 ;
7605 PyObject
* obj0
= 0 ;
7606 PyObject
* obj1
= 0 ;
7607 PyObject
* obj2
= 0 ;
7608 PyObject
* obj3
= 0 ;
7609 char * kwnames
[] = {
7610 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7615 if (!SWIG_IsOK(res1
)) {
7616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7618 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7619 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7620 if (!SWIG_IsOK(res2
)) {
7621 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7624 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7626 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7627 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7628 if (!SWIG_IsOK(ecode3
)) {
7629 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7631 arg3
= static_cast< int >(val3
);
7632 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7633 if (!SWIG_IsOK(ecode4
)) {
7634 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7636 arg4
= static_cast< int >(val4
);
7638 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7639 if (PyErr_Occurred()) SWIG_fail
;
7641 resultobj
= SWIG_Py_Void();
7648 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7649 PyObject
*resultobj
= 0;
7650 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7651 wxNativePixelData
*arg2
= 0 ;
7659 PyObject
* obj0
= 0 ;
7660 PyObject
* obj1
= 0 ;
7661 PyObject
* obj2
= 0 ;
7662 char * kwnames
[] = {
7663 (char *) "self",(char *) "data",(char *) "x", NULL
7666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7668 if (!SWIG_IsOK(res1
)) {
7669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7671 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7672 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7673 if (!SWIG_IsOK(res2
)) {
7674 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7677 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7679 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7680 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7681 if (!SWIG_IsOK(ecode3
)) {
7682 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7684 arg3
= static_cast< int >(val3
);
7686 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7687 if (PyErr_Occurred()) SWIG_fail
;
7689 resultobj
= SWIG_Py_Void();
7696 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7697 PyObject
*resultobj
= 0;
7698 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7699 wxNativePixelData
*arg2
= 0 ;
7707 PyObject
* obj0
= 0 ;
7708 PyObject
* obj1
= 0 ;
7709 PyObject
* obj2
= 0 ;
7710 char * kwnames
[] = {
7711 (char *) "self",(char *) "data",(char *) "y", NULL
7714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7716 if (!SWIG_IsOK(res1
)) {
7717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7719 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7720 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7721 if (!SWIG_IsOK(res2
)) {
7722 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7725 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7727 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7728 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7729 if (!SWIG_IsOK(ecode3
)) {
7730 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
7732 arg3
= static_cast< int >(val3
);
7734 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
7735 if (PyErr_Occurred()) SWIG_fail
;
7737 resultobj
= SWIG_Py_Void();
7744 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7745 PyObject
*resultobj
= 0;
7746 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7747 wxNativePixelData
*arg2
= 0 ;
7758 PyObject
* obj0
= 0 ;
7759 PyObject
* obj1
= 0 ;
7760 PyObject
* obj2
= 0 ;
7761 PyObject
* obj3
= 0 ;
7762 char * kwnames
[] = {
7763 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7768 if (!SWIG_IsOK(res1
)) {
7769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7771 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7772 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7773 if (!SWIG_IsOK(res2
)) {
7774 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7777 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7779 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7780 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7781 if (!SWIG_IsOK(ecode3
)) {
7782 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
7784 arg3
= static_cast< int >(val3
);
7785 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7786 if (!SWIG_IsOK(ecode4
)) {
7787 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
7789 arg4
= static_cast< int >(val4
);
7791 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7792 if (PyErr_Occurred()) SWIG_fail
;
7794 resultobj
= SWIG_Py_Void();
7801 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7802 PyObject
*resultobj
= 0;
7803 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7809 unsigned char val2
;
7811 unsigned char val3
;
7813 unsigned char val4
;
7815 PyObject
* obj0
= 0 ;
7816 PyObject
* obj1
= 0 ;
7817 PyObject
* obj2
= 0 ;
7818 PyObject
* obj3
= 0 ;
7819 char * kwnames
[] = {
7820 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
7823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7825 if (!SWIG_IsOK(res1
)) {
7826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7828 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7829 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
7830 if (!SWIG_IsOK(ecode2
)) {
7831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
7833 arg2
= static_cast< byte
>(val2
);
7834 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
7835 if (!SWIG_IsOK(ecode3
)) {
7836 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
7838 arg3
= static_cast< byte
>(val3
);
7839 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
7840 if (!SWIG_IsOK(ecode4
)) {
7841 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
7843 arg4
= static_cast< byte
>(val4
);
7845 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
7846 if (PyErr_Occurred()) SWIG_fail
;
7848 resultobj
= SWIG_Py_Void();
7855 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7856 PyObject
*resultobj
= 0;
7857 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7858 PyObject
*result
= 0 ;
7861 PyObject
*swig_obj
[1] ;
7863 if (!args
) SWIG_fail
;
7865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7866 if (!SWIG_IsOK(res1
)) {
7867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7869 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7871 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
7872 if (PyErr_Occurred()) SWIG_fail
;
7881 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7883 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7884 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
7885 return SWIG_Py_Void();
7888 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7889 return SWIG_Python_InitShadowInstance(args
);
7892 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7893 PyObject
*resultobj
= 0;
7894 wxBitmap
*arg1
= 0 ;
7895 wxAlphaPixelData
*result
= 0 ;
7899 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7901 if (!SWIG_IsOK(res1
)) {
7902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7905 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7907 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7909 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
7910 if (PyErr_Occurred()) SWIG_fail
;
7912 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7919 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7920 PyObject
*resultobj
= 0;
7921 wxBitmap
*arg1
= 0 ;
7923 wxAlphaPixelData
*result
= 0 ;
7928 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7930 if (!SWIG_IsOK(res1
)) {
7931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7934 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7936 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7939 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7942 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
7943 if (PyErr_Occurred()) SWIG_fail
;
7945 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7952 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7953 PyObject
*resultobj
= 0;
7954 wxBitmap
*arg1
= 0 ;
7957 wxAlphaPixelData
*result
= 0 ;
7963 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7965 if (!SWIG_IsOK(res1
)) {
7966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7969 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7971 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7974 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7978 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7981 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7982 if (PyErr_Occurred()) SWIG_fail
;
7984 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7991 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
7995 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
7998 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
8001 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
8004 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
8008 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
8013 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8014 PyObject
*resultobj
= 0;
8015 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8018 PyObject
*swig_obj
[1] ;
8020 if (!args
) SWIG_fail
;
8022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8023 if (!SWIG_IsOK(res1
)) {
8024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8026 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8030 if (PyErr_Occurred()) SWIG_fail
;
8032 resultobj
= SWIG_Py_Void();
8039 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8040 PyObject
*resultobj
= 0;
8041 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8042 wxAlphaPixelData_Accessor result
;
8045 PyObject
*swig_obj
[1] ;
8047 if (!args
) SWIG_fail
;
8049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8050 if (!SWIG_IsOK(res1
)) {
8051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8053 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8055 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8056 if (PyErr_Occurred()) SWIG_fail
;
8058 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8065 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8066 PyObject
*resultobj
= 0;
8067 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8070 PyObject
*swig_obj
[1] ;
8072 if (!args
) SWIG_fail
;
8074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8075 if (!SWIG_IsOK(res1
)) {
8076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8078 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8081 if (PyErr_Occurred()) SWIG_fail
;
8083 resultobj
= SWIG_Py_Void();
8090 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8091 PyObject
*resultobj
= 0;
8092 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8096 PyObject
*swig_obj
[1] ;
8098 if (!args
) SWIG_fail
;
8100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8101 if (!SWIG_IsOK(res1
)) {
8102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8104 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8106 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8107 if (PyErr_Occurred()) SWIG_fail
;
8110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8118 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8120 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8121 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8122 return SWIG_Py_Void();
8125 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8126 return SWIG_Python_InitShadowInstance(args
);
8129 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8130 PyObject
*resultobj
= 0;
8131 wxAlphaPixelData
*arg1
= 0 ;
8132 wxAlphaPixelData_Accessor
*result
= 0 ;
8136 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8138 if (!SWIG_IsOK(res1
)) {
8139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8142 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8144 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8146 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8147 if (PyErr_Occurred()) SWIG_fail
;
8149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8156 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8157 PyObject
*resultobj
= 0;
8158 wxBitmap
*arg1
= 0 ;
8159 wxAlphaPixelData
*arg2
= 0 ;
8160 wxAlphaPixelData_Accessor
*result
= 0 ;
8166 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8168 if (!SWIG_IsOK(res1
)) {
8169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8172 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8174 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8175 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8176 if (!SWIG_IsOK(res2
)) {
8177 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8180 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8182 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8184 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8185 if (PyErr_Occurred()) SWIG_fail
;
8187 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8194 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8195 PyObject
*resultobj
= 0;
8196 wxAlphaPixelData_Accessor
*result
= 0 ;
8198 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8200 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8201 if (PyErr_Occurred()) SWIG_fail
;
8203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8210 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8214 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8217 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8220 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8223 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8227 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8232 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8233 PyObject
*resultobj
= 0;
8234 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8237 PyObject
*swig_obj
[1] ;
8239 if (!args
) SWIG_fail
;
8241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8242 if (!SWIG_IsOK(res1
)) {
8243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8245 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8249 if (PyErr_Occurred()) SWIG_fail
;
8251 resultobj
= SWIG_Py_Void();
8258 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8259 PyObject
*resultobj
= 0;
8260 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8261 wxAlphaPixelData
*arg2
= 0 ;
8266 PyObject
* obj0
= 0 ;
8267 PyObject
* obj1
= 0 ;
8268 char * kwnames
[] = {
8269 (char *) "self",(char *) "data", NULL
8272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8274 if (!SWIG_IsOK(res1
)) {
8275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8277 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8278 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8279 if (!SWIG_IsOK(res2
)) {
8280 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8283 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8285 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8287 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8288 if (PyErr_Occurred()) SWIG_fail
;
8290 resultobj
= SWIG_Py_Void();
8297 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8298 PyObject
*resultobj
= 0;
8299 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8303 PyObject
*swig_obj
[1] ;
8305 if (!args
) SWIG_fail
;
8307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8308 if (!SWIG_IsOK(res1
)) {
8309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8311 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8313 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8314 if (PyErr_Occurred()) SWIG_fail
;
8317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8325 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8326 PyObject
*resultobj
= 0;
8327 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8330 PyObject
*swig_obj
[1] ;
8332 if (!args
) SWIG_fail
;
8334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8335 if (!SWIG_IsOK(res1
)) {
8336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8338 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8340 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8341 if (PyErr_Occurred()) SWIG_fail
;
8343 resultobj
= SWIG_Py_Void();
8350 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8351 PyObject
*resultobj
= 0;
8352 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8353 wxAlphaPixelData
*arg2
= 0 ;
8364 PyObject
* obj0
= 0 ;
8365 PyObject
* obj1
= 0 ;
8366 PyObject
* obj2
= 0 ;
8367 PyObject
* obj3
= 0 ;
8368 char * kwnames
[] = {
8369 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8374 if (!SWIG_IsOK(res1
)) {
8375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8377 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8378 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8379 if (!SWIG_IsOK(res2
)) {
8380 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8383 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8385 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8386 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8387 if (!SWIG_IsOK(ecode3
)) {
8388 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8390 arg3
= static_cast< int >(val3
);
8391 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8392 if (!SWIG_IsOK(ecode4
)) {
8393 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8395 arg4
= static_cast< int >(val4
);
8397 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8398 if (PyErr_Occurred()) SWIG_fail
;
8400 resultobj
= SWIG_Py_Void();
8407 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8408 PyObject
*resultobj
= 0;
8409 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8410 wxAlphaPixelData
*arg2
= 0 ;
8418 PyObject
* obj0
= 0 ;
8419 PyObject
* obj1
= 0 ;
8420 PyObject
* obj2
= 0 ;
8421 char * kwnames
[] = {
8422 (char *) "self",(char *) "data",(char *) "x", NULL
8425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8427 if (!SWIG_IsOK(res1
)) {
8428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8430 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8431 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8432 if (!SWIG_IsOK(res2
)) {
8433 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8436 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8438 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8439 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8440 if (!SWIG_IsOK(ecode3
)) {
8441 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8443 arg3
= static_cast< int >(val3
);
8445 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8446 if (PyErr_Occurred()) SWIG_fail
;
8448 resultobj
= SWIG_Py_Void();
8455 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8456 PyObject
*resultobj
= 0;
8457 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8458 wxAlphaPixelData
*arg2
= 0 ;
8466 PyObject
* obj0
= 0 ;
8467 PyObject
* obj1
= 0 ;
8468 PyObject
* obj2
= 0 ;
8469 char * kwnames
[] = {
8470 (char *) "self",(char *) "data",(char *) "y", NULL
8473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8475 if (!SWIG_IsOK(res1
)) {
8476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8478 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8479 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8480 if (!SWIG_IsOK(res2
)) {
8481 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8484 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8486 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8487 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8488 if (!SWIG_IsOK(ecode3
)) {
8489 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8491 arg3
= static_cast< int >(val3
);
8493 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8494 if (PyErr_Occurred()) SWIG_fail
;
8496 resultobj
= SWIG_Py_Void();
8503 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8504 PyObject
*resultobj
= 0;
8505 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8506 wxAlphaPixelData
*arg2
= 0 ;
8517 PyObject
* obj0
= 0 ;
8518 PyObject
* obj1
= 0 ;
8519 PyObject
* obj2
= 0 ;
8520 PyObject
* obj3
= 0 ;
8521 char * kwnames
[] = {
8522 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8527 if (!SWIG_IsOK(res1
)) {
8528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8530 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8531 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8532 if (!SWIG_IsOK(res2
)) {
8533 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8536 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8538 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8539 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8540 if (!SWIG_IsOK(ecode3
)) {
8541 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8543 arg3
= static_cast< int >(val3
);
8544 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8545 if (!SWIG_IsOK(ecode4
)) {
8546 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8548 arg4
= static_cast< int >(val4
);
8550 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8551 if (PyErr_Occurred()) SWIG_fail
;
8553 resultobj
= SWIG_Py_Void();
8560 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8561 PyObject
*resultobj
= 0;
8562 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8569 unsigned char val2
;
8571 unsigned char val3
;
8573 unsigned char val4
;
8575 unsigned char val5
;
8577 PyObject
* obj0
= 0 ;
8578 PyObject
* obj1
= 0 ;
8579 PyObject
* obj2
= 0 ;
8580 PyObject
* obj3
= 0 ;
8581 PyObject
* obj4
= 0 ;
8582 char * kwnames
[] = {
8583 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8588 if (!SWIG_IsOK(res1
)) {
8589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8591 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8592 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8593 if (!SWIG_IsOK(ecode2
)) {
8594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8596 arg2
= static_cast< byte
>(val2
);
8597 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8598 if (!SWIG_IsOK(ecode3
)) {
8599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8601 arg3
= static_cast< byte
>(val3
);
8602 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8603 if (!SWIG_IsOK(ecode4
)) {
8604 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8606 arg4
= static_cast< byte
>(val4
);
8607 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8608 if (!SWIG_IsOK(ecode5
)) {
8609 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8611 arg5
= static_cast< byte
>(val5
);
8613 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8614 if (PyErr_Occurred()) SWIG_fail
;
8616 resultobj
= SWIG_Py_Void();
8623 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8624 PyObject
*resultobj
= 0;
8625 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8626 PyObject
*result
= 0 ;
8629 PyObject
*swig_obj
[1] ;
8631 if (!args
) SWIG_fail
;
8633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8634 if (!SWIG_IsOK(res1
)) {
8635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8637 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8639 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8640 if (PyErr_Occurred()) SWIG_fail
;
8649 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8651 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8652 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8653 return SWIG_Py_Void();
8656 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8657 return SWIG_Python_InitShadowInstance(args
);
8660 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8661 PyObject
*resultobj
= 0;
8662 wxBitmap
*arg1
= 0 ;
8663 wxColour
const &arg2_defvalue
= wxNullColour
;
8664 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8665 wxMask
*result
= 0 ;
8669 PyObject
* obj0
= 0 ;
8670 PyObject
* obj1
= 0 ;
8671 char * kwnames
[] = {
8672 (char *) "bitmap",(char *) "colour", NULL
8675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8676 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8677 if (!SWIG_IsOK(res1
)) {
8678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8681 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8683 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8687 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8691 if (!wxPyCheckForApp()) SWIG_fail
;
8692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8693 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8694 wxPyEndAllowThreads(__tstate
);
8695 if (PyErr_Occurred()) SWIG_fail
;
8697 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
8704 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8705 PyObject
*resultobj
= 0;
8706 wxMask
*arg1
= (wxMask
*) 0 ;
8709 PyObject
*swig_obj
[1] ;
8711 if (!args
) SWIG_fail
;
8713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
8714 if (!SWIG_IsOK(res1
)) {
8715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
8717 arg1
= reinterpret_cast< wxMask
* >(argp1
);
8721 if (PyErr_Occurred()) SWIG_fail
;
8723 resultobj
= SWIG_Py_Void();
8730 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8732 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8733 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
8734 return SWIG_Py_Void();
8737 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8738 return SWIG_Python_InitShadowInstance(args
);
8741 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8742 PyObject
*resultobj
= 0;
8743 wxString
*arg1
= 0 ;
8745 int arg3
= (int) -1 ;
8746 int arg4
= (int) -1 ;
8747 wxIcon
*result
= 0 ;
8748 bool temp1
= false ;
8755 PyObject
* obj0
= 0 ;
8756 PyObject
* obj1
= 0 ;
8757 PyObject
* obj2
= 0 ;
8758 PyObject
* obj3
= 0 ;
8759 char * kwnames
[] = {
8760 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
8763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8765 arg1
= wxString_in_helper(obj0
);
8766 if (arg1
== NULL
) SWIG_fail
;
8769 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8770 if (!SWIG_IsOK(ecode2
)) {
8771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
8773 arg2
= static_cast< wxBitmapType
>(val2
);
8775 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8776 if (!SWIG_IsOK(ecode3
)) {
8777 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
8779 arg3
= static_cast< int >(val3
);
8782 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8783 if (!SWIG_IsOK(ecode4
)) {
8784 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
8786 arg4
= static_cast< int >(val4
);
8789 if (!wxPyCheckForApp()) SWIG_fail
;
8790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8791 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
8792 wxPyEndAllowThreads(__tstate
);
8793 if (PyErr_Occurred()) SWIG_fail
;
8795 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
8810 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8811 PyObject
*resultobj
= 0;
8812 wxIcon
*arg1
= (wxIcon
*) 0 ;
8815 PyObject
*swig_obj
[1] ;
8817 if (!args
) SWIG_fail
;
8819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
8820 if (!SWIG_IsOK(res1
)) {
8821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
8823 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8828 wxPyEndAllowThreads(__tstate
);
8829 if (PyErr_Occurred()) SWIG_fail
;
8831 resultobj
= SWIG_Py_Void();
8838 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8839 PyObject
*resultobj
= 0;
8840 wxIcon
*result
= 0 ;
8842 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
8844 if (!wxPyCheckForApp()) SWIG_fail
;
8845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8846 result
= (wxIcon
*)new wxIcon();
8847 wxPyEndAllowThreads(__tstate
);
8848 if (PyErr_Occurred()) SWIG_fail
;
8850 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8857 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8858 PyObject
*resultobj
= 0;
8859 wxIconLocation
*arg1
= 0 ;
8860 wxIcon
*result
= 0 ;
8863 PyObject
* obj0
= 0 ;
8864 char * kwnames
[] = {
8865 (char *) "loc", NULL
8868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
8869 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
8870 if (!SWIG_IsOK(res1
)) {
8871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8874 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8876 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
8878 if (!wxPyCheckForApp()) SWIG_fail
;
8879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8880 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
8881 wxPyEndAllowThreads(__tstate
);
8882 if (PyErr_Occurred()) SWIG_fail
;
8884 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8891 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8892 PyObject
*resultobj
= 0;
8893 wxBitmap
*arg1
= 0 ;
8894 wxIcon
*result
= 0 ;
8897 PyObject
* obj0
= 0 ;
8898 char * kwnames
[] = {
8899 (char *) "bmp", NULL
8902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
8903 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8904 if (!SWIG_IsOK(res1
)) {
8905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8908 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8910 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8912 if (!wxPyCheckForApp()) SWIG_fail
;
8913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8914 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
8915 wxPyEndAllowThreads(__tstate
);
8916 if (PyErr_Occurred()) SWIG_fail
;
8918 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8925 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8926 PyObject
*resultobj
= 0;
8927 PyObject
*arg1
= (PyObject
*) 0 ;
8928 wxIcon
*result
= 0 ;
8929 PyObject
* obj0
= 0 ;
8930 char * kwnames
[] = {
8931 (char *) "listOfStrings", NULL
8934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
8937 if (!wxPyCheckForApp()) SWIG_fail
;
8938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8939 result
= (wxIcon
*)new_wxIcon(arg1
);
8940 wxPyEndAllowThreads(__tstate
);
8941 if (PyErr_Occurred()) SWIG_fail
;
8943 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8950 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8951 PyObject
*resultobj
= 0;
8952 wxIcon
*arg1
= (wxIcon
*) 0 ;
8956 PyObject
*swig_obj
[1] ;
8958 if (!args
) SWIG_fail
;
8960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8961 if (!SWIG_IsOK(res1
)) {
8962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
8964 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8967 result
= (bool)(arg1
)->IsOk();
8968 wxPyEndAllowThreads(__tstate
);
8969 if (PyErr_Occurred()) SWIG_fail
;
8972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8980 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8981 PyObject
*resultobj
= 0;
8982 wxIcon
*arg1
= (wxIcon
*) 0 ;
8986 PyObject
*swig_obj
[1] ;
8988 if (!args
) SWIG_fail
;
8990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8991 if (!SWIG_IsOK(res1
)) {
8992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
8994 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8997 result
= (int)(arg1
)->GetWidth();
8998 wxPyEndAllowThreads(__tstate
);
8999 if (PyErr_Occurred()) SWIG_fail
;
9001 resultobj
= SWIG_From_int(static_cast< int >(result
));
9008 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9009 PyObject
*resultobj
= 0;
9010 wxIcon
*arg1
= (wxIcon
*) 0 ;
9014 PyObject
*swig_obj
[1] ;
9016 if (!args
) SWIG_fail
;
9018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9019 if (!SWIG_IsOK(res1
)) {
9020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9022 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9025 result
= (int)(arg1
)->GetHeight();
9026 wxPyEndAllowThreads(__tstate
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9029 resultobj
= SWIG_From_int(static_cast< int >(result
));
9036 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9037 PyObject
*resultobj
= 0;
9038 wxIcon
*arg1
= (wxIcon
*) 0 ;
9042 PyObject
*swig_obj
[1] ;
9044 if (!args
) SWIG_fail
;
9046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9047 if (!SWIG_IsOK(res1
)) {
9048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9050 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9053 result
= (int)(arg1
)->GetDepth();
9054 wxPyEndAllowThreads(__tstate
);
9055 if (PyErr_Occurred()) SWIG_fail
;
9057 resultobj
= SWIG_From_int(static_cast< int >(result
));
9064 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9065 PyObject
*resultobj
= 0;
9066 wxIcon
*arg1
= (wxIcon
*) 0 ;
9072 PyObject
* obj0
= 0 ;
9073 PyObject
* obj1
= 0 ;
9074 char * kwnames
[] = {
9075 (char *) "self",(char *) "w", NULL
9078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9080 if (!SWIG_IsOK(res1
)) {
9081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9083 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9084 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9085 if (!SWIG_IsOK(ecode2
)) {
9086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9088 arg2
= static_cast< int >(val2
);
9090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9091 (arg1
)->SetWidth(arg2
);
9092 wxPyEndAllowThreads(__tstate
);
9093 if (PyErr_Occurred()) SWIG_fail
;
9095 resultobj
= SWIG_Py_Void();
9102 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9103 PyObject
*resultobj
= 0;
9104 wxIcon
*arg1
= (wxIcon
*) 0 ;
9110 PyObject
* obj0
= 0 ;
9111 PyObject
* obj1
= 0 ;
9112 char * kwnames
[] = {
9113 (char *) "self",(char *) "h", NULL
9116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9118 if (!SWIG_IsOK(res1
)) {
9119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9121 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9122 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9123 if (!SWIG_IsOK(ecode2
)) {
9124 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9126 arg2
= static_cast< int >(val2
);
9128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9129 (arg1
)->SetHeight(arg2
);
9130 wxPyEndAllowThreads(__tstate
);
9131 if (PyErr_Occurred()) SWIG_fail
;
9133 resultobj
= SWIG_Py_Void();
9140 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9141 PyObject
*resultobj
= 0;
9142 wxIcon
*arg1
= (wxIcon
*) 0 ;
9148 PyObject
* obj0
= 0 ;
9149 PyObject
* obj1
= 0 ;
9150 char * kwnames
[] = {
9151 (char *) "self",(char *) "d", NULL
9154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9156 if (!SWIG_IsOK(res1
)) {
9157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9159 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9160 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9161 if (!SWIG_IsOK(ecode2
)) {
9162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9164 arg2
= static_cast< int >(val2
);
9166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9167 (arg1
)->SetDepth(arg2
);
9168 wxPyEndAllowThreads(__tstate
);
9169 if (PyErr_Occurred()) SWIG_fail
;
9171 resultobj
= SWIG_Py_Void();
9178 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9179 PyObject
*resultobj
= 0;
9180 wxIcon
*arg1
= (wxIcon
*) 0 ;
9181 wxBitmap
*arg2
= 0 ;
9186 PyObject
* obj0
= 0 ;
9187 PyObject
* obj1
= 0 ;
9188 char * kwnames
[] = {
9189 (char *) "self",(char *) "bmp", NULL
9192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9194 if (!SWIG_IsOK(res1
)) {
9195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9197 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9198 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9199 if (!SWIG_IsOK(res2
)) {
9200 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9203 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9205 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9208 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9209 wxPyEndAllowThreads(__tstate
);
9210 if (PyErr_Occurred()) SWIG_fail
;
9212 resultobj
= SWIG_Py_Void();
9219 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9221 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9222 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9223 return SWIG_Py_Void();
9226 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9227 return SWIG_Python_InitShadowInstance(args
);
9230 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9231 PyObject
*resultobj
= 0;
9232 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9233 int arg2
= (int) 0 ;
9234 wxIconLocation
*result
= 0 ;
9235 bool temp1
= false ;
9238 PyObject
* obj0
= 0 ;
9239 PyObject
* obj1
= 0 ;
9240 char * kwnames
[] = {
9241 (char *) "filename",(char *) "num", NULL
9244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9247 arg1
= wxString_in_helper(obj0
);
9248 if (arg1
== NULL
) SWIG_fail
;
9253 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9254 if (!SWIG_IsOK(ecode2
)) {
9255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9257 arg2
= static_cast< int >(val2
);
9260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9261 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9262 wxPyEndAllowThreads(__tstate
);
9263 if (PyErr_Occurred()) SWIG_fail
;
9265 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9280 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9281 PyObject
*resultobj
= 0;
9282 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9285 PyObject
*swig_obj
[1] ;
9287 if (!args
) SWIG_fail
;
9289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9290 if (!SWIG_IsOK(res1
)) {
9291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9293 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9298 wxPyEndAllowThreads(__tstate
);
9299 if (PyErr_Occurred()) SWIG_fail
;
9301 resultobj
= SWIG_Py_Void();
9308 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9309 PyObject
*resultobj
= 0;
9310 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9314 PyObject
*swig_obj
[1] ;
9316 if (!args
) SWIG_fail
;
9318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9319 if (!SWIG_IsOK(res1
)) {
9320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9322 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9325 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9326 wxPyEndAllowThreads(__tstate
);
9327 if (PyErr_Occurred()) SWIG_fail
;
9330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9338 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9339 PyObject
*resultobj
= 0;
9340 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9341 wxString
*arg2
= 0 ;
9344 bool temp2
= false ;
9345 PyObject
* obj0
= 0 ;
9346 PyObject
* obj1
= 0 ;
9347 char * kwnames
[] = {
9348 (char *) "self",(char *) "filename", NULL
9351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9353 if (!SWIG_IsOK(res1
)) {
9354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9356 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9358 arg2
= wxString_in_helper(obj1
);
9359 if (arg2
== NULL
) SWIG_fail
;
9363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9364 (arg1
)->SetFileName((wxString
const &)*arg2
);
9365 wxPyEndAllowThreads(__tstate
);
9366 if (PyErr_Occurred()) SWIG_fail
;
9368 resultobj
= SWIG_Py_Void();
9383 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9384 PyObject
*resultobj
= 0;
9385 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9386 wxString
*result
= 0 ;
9389 PyObject
*swig_obj
[1] ;
9391 if (!args
) SWIG_fail
;
9393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9394 if (!SWIG_IsOK(res1
)) {
9395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9397 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9401 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9402 result
= (wxString
*) &_result_ref
;
9404 wxPyEndAllowThreads(__tstate
);
9405 if (PyErr_Occurred()) SWIG_fail
;
9409 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9411 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9420 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9421 PyObject
*resultobj
= 0;
9422 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9428 PyObject
* obj0
= 0 ;
9429 PyObject
* obj1
= 0 ;
9430 char * kwnames
[] = {
9431 (char *) "self",(char *) "num", NULL
9434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9436 if (!SWIG_IsOK(res1
)) {
9437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9439 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9441 if (!SWIG_IsOK(ecode2
)) {
9442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9444 arg2
= static_cast< int >(val2
);
9446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9447 wxIconLocation_SetIndex(arg1
,arg2
);
9448 wxPyEndAllowThreads(__tstate
);
9449 if (PyErr_Occurred()) SWIG_fail
;
9451 resultobj
= SWIG_Py_Void();
9458 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9459 PyObject
*resultobj
= 0;
9460 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9464 PyObject
*swig_obj
[1] ;
9466 if (!args
) SWIG_fail
;
9468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9469 if (!SWIG_IsOK(res1
)) {
9470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9472 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9475 result
= (int)wxIconLocation_GetIndex(arg1
);
9476 wxPyEndAllowThreads(__tstate
);
9477 if (PyErr_Occurred()) SWIG_fail
;
9479 resultobj
= SWIG_From_int(static_cast< int >(result
));
9486 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9488 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9489 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9490 return SWIG_Py_Void();
9493 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9494 return SWIG_Python_InitShadowInstance(args
);
9497 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9498 PyObject
*resultobj
= 0;
9499 wxIconBundle
*result
= 0 ;
9501 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9504 result
= (wxIconBundle
*)new wxIconBundle();
9505 wxPyEndAllowThreads(__tstate
);
9506 if (PyErr_Occurred()) SWIG_fail
;
9508 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9515 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9516 PyObject
*resultobj
= 0;
9517 wxString
*arg1
= 0 ;
9519 wxIconBundle
*result
= 0 ;
9520 bool temp1
= false ;
9523 PyObject
* obj0
= 0 ;
9524 PyObject
* obj1
= 0 ;
9525 char * kwnames
[] = {
9526 (char *) "file",(char *) "type", NULL
9529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9531 arg1
= wxString_in_helper(obj0
);
9532 if (arg1
== NULL
) SWIG_fail
;
9535 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9536 if (!SWIG_IsOK(ecode2
)) {
9537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9539 arg2
= static_cast< long >(val2
);
9541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9542 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9543 wxPyEndAllowThreads(__tstate
);
9544 if (PyErr_Occurred()) SWIG_fail
;
9546 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9561 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9562 PyObject
*resultobj
= 0;
9564 wxIconBundle
*result
= 0 ;
9567 PyObject
* obj0
= 0 ;
9568 char * kwnames
[] = {
9569 (char *) "icon", NULL
9572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9573 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9574 if (!SWIG_IsOK(res1
)) {
9575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9578 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9580 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9583 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9584 wxPyEndAllowThreads(__tstate
);
9585 if (PyErr_Occurred()) SWIG_fail
;
9587 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9594 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9595 PyObject
*resultobj
= 0;
9596 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9599 PyObject
*swig_obj
[1] ;
9601 if (!args
) SWIG_fail
;
9603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9604 if (!SWIG_IsOK(res1
)) {
9605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9607 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9612 wxPyEndAllowThreads(__tstate
);
9613 if (PyErr_Occurred()) SWIG_fail
;
9615 resultobj
= SWIG_Py_Void();
9622 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9623 PyObject
*resultobj
= 0;
9624 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9630 PyObject
* obj0
= 0 ;
9631 PyObject
* obj1
= 0 ;
9632 char * kwnames
[] = {
9633 (char *) "self",(char *) "icon", NULL
9636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9638 if (!SWIG_IsOK(res1
)) {
9639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9641 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9642 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9643 if (!SWIG_IsOK(res2
)) {
9644 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9647 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9649 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9652 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9653 wxPyEndAllowThreads(__tstate
);
9654 if (PyErr_Occurred()) SWIG_fail
;
9656 resultobj
= SWIG_Py_Void();
9663 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9664 PyObject
*resultobj
= 0;
9665 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9666 wxString
*arg2
= 0 ;
9670 bool temp2
= false ;
9673 PyObject
* obj0
= 0 ;
9674 PyObject
* obj1
= 0 ;
9675 PyObject
* obj2
= 0 ;
9676 char * kwnames
[] = {
9677 (char *) "self",(char *) "file",(char *) "type", NULL
9680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9682 if (!SWIG_IsOK(res1
)) {
9683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9685 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9687 arg2
= wxString_in_helper(obj1
);
9688 if (arg2
== NULL
) SWIG_fail
;
9691 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
9692 if (!SWIG_IsOK(ecode3
)) {
9693 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
9695 arg3
= static_cast< long >(val3
);
9697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9698 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
9699 wxPyEndAllowThreads(__tstate
);
9700 if (PyErr_Occurred()) SWIG_fail
;
9702 resultobj
= SWIG_Py_Void();
9717 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9718 PyObject
*resultobj
= 0;
9719 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9721 wxIcon
*result
= 0 ;
9725 PyObject
* obj0
= 0 ;
9726 PyObject
* obj1
= 0 ;
9727 char * kwnames
[] = {
9728 (char *) "self",(char *) "size", NULL
9731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9733 if (!SWIG_IsOK(res1
)) {
9734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
9736 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9739 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9744 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
9745 result
= (wxIcon
*) &_result_ref
;
9747 wxPyEndAllowThreads(__tstate
);
9748 if (PyErr_Occurred()) SWIG_fail
;
9751 wxIcon
* resultptr
= new wxIcon(*result
);
9752 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
9760 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9762 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9763 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
9764 return SWIG_Py_Void();
9767 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9768 return SWIG_Python_InitShadowInstance(args
);
9771 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9772 PyObject
*resultobj
= 0;
9773 wxString
*arg1
= 0 ;
9775 int arg3
= (int) 0 ;
9776 int arg4
= (int) 0 ;
9777 wxCursor
*result
= 0 ;
9778 bool temp1
= false ;
9785 PyObject
* obj0
= 0 ;
9786 PyObject
* obj1
= 0 ;
9787 PyObject
* obj2
= 0 ;
9788 PyObject
* obj3
= 0 ;
9789 char * kwnames
[] = {
9790 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
9793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9795 arg1
= wxString_in_helper(obj0
);
9796 if (arg1
== NULL
) SWIG_fail
;
9799 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9800 if (!SWIG_IsOK(ecode2
)) {
9801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
9803 arg2
= static_cast< long >(val2
);
9805 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9806 if (!SWIG_IsOK(ecode3
)) {
9807 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
9809 arg3
= static_cast< int >(val3
);
9812 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9813 if (!SWIG_IsOK(ecode4
)) {
9814 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
9816 arg4
= static_cast< int >(val4
);
9819 if (!wxPyCheckForApp()) SWIG_fail
;
9820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9821 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9822 wxPyEndAllowThreads(__tstate
);
9823 if (PyErr_Occurred()) SWIG_fail
;
9825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
9840 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9841 PyObject
*resultobj
= 0;
9842 wxCursor
*arg1
= (wxCursor
*) 0 ;
9845 PyObject
*swig_obj
[1] ;
9847 if (!args
) SWIG_fail
;
9849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
9850 if (!SWIG_IsOK(res1
)) {
9851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
9853 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9858 wxPyEndAllowThreads(__tstate
);
9859 if (PyErr_Occurred()) SWIG_fail
;
9861 resultobj
= SWIG_Py_Void();
9868 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9869 PyObject
*resultobj
= 0;
9871 wxCursor
*result
= 0 ;
9874 PyObject
* obj0
= 0 ;
9875 char * kwnames
[] = {
9879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
9880 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9881 if (!SWIG_IsOK(ecode1
)) {
9882 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
9884 arg1
= static_cast< int >(val1
);
9886 if (!wxPyCheckForApp()) SWIG_fail
;
9887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9888 result
= (wxCursor
*)new wxCursor(arg1
);
9889 wxPyEndAllowThreads(__tstate
);
9890 if (PyErr_Occurred()) SWIG_fail
;
9892 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
9899 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9900 PyObject
*resultobj
= 0;
9902 wxCursor
*result
= 0 ;
9905 PyObject
* obj0
= 0 ;
9906 char * kwnames
[] = {
9907 (char *) "image", NULL
9910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
9911 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
9912 if (!SWIG_IsOK(res1
)) {
9913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
9916 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
9918 arg1
= reinterpret_cast< wxImage
* >(argp1
);
9920 if (!wxPyCheckForApp()) SWIG_fail
;
9921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9922 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
9923 wxPyEndAllowThreads(__tstate
);
9924 if (PyErr_Occurred()) SWIG_fail
;
9926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
9933 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9934 PyObject
*resultobj
= 0;
9935 wxCursor
*arg1
= (wxCursor
*) 0 ;
9939 PyObject
*swig_obj
[1] ;
9941 if (!args
) SWIG_fail
;
9943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
9944 if (!SWIG_IsOK(res1
)) {
9945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
9947 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9950 result
= (bool)(arg1
)->IsOk();
9951 wxPyEndAllowThreads(__tstate
);
9952 if (PyErr_Occurred()) SWIG_fail
;
9955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9963 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9965 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9966 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
9967 return SWIG_Py_Void();
9970 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9971 return SWIG_Python_InitShadowInstance(args
);
9974 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9975 PyObject
*resultobj
= 0;
9976 int arg1
= (int) 0 ;
9977 int arg2
= (int) 0 ;
9978 int arg3
= (int) 0 ;
9979 int arg4
= (int) 0 ;
9980 wxRegion
*result
= 0 ;
9989 PyObject
* obj0
= 0 ;
9990 PyObject
* obj1
= 0 ;
9991 PyObject
* obj2
= 0 ;
9992 PyObject
* obj3
= 0 ;
9993 char * kwnames
[] = {
9994 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9999 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10000 if (!SWIG_IsOK(ecode1
)) {
10001 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10003 arg1
= static_cast< int >(val1
);
10006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10007 if (!SWIG_IsOK(ecode2
)) {
10008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10010 arg2
= static_cast< int >(val2
);
10013 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10014 if (!SWIG_IsOK(ecode3
)) {
10015 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10017 arg3
= static_cast< int >(val3
);
10020 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10021 if (!SWIG_IsOK(ecode4
)) {
10022 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10024 arg4
= static_cast< int >(val4
);
10027 if (!wxPyCheckForApp()) SWIG_fail
;
10028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10029 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10030 wxPyEndAllowThreads(__tstate
);
10031 if (PyErr_Occurred()) SWIG_fail
;
10033 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10040 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10041 PyObject
*resultobj
= 0;
10042 wxBitmap
*arg1
= 0 ;
10043 wxRegion
*result
= 0 ;
10046 PyObject
* obj0
= 0 ;
10047 char * kwnames
[] = {
10048 (char *) "bmp", NULL
10051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10052 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10053 if (!SWIG_IsOK(res1
)) {
10054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10057 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10059 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10061 if (!wxPyCheckForApp()) SWIG_fail
;
10062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10063 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10064 wxPyEndAllowThreads(__tstate
);
10065 if (PyErr_Occurred()) SWIG_fail
;
10067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10074 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10075 PyObject
*resultobj
= 0;
10076 wxBitmap
*arg1
= 0 ;
10077 wxColour
*arg2
= 0 ;
10078 int arg3
= (int) 0 ;
10079 wxRegion
*result
= 0 ;
10085 PyObject
* obj0
= 0 ;
10086 PyObject
* obj1
= 0 ;
10087 PyObject
* obj2
= 0 ;
10088 char * kwnames
[] = {
10089 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10093 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10094 if (!SWIG_IsOK(res1
)) {
10095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10098 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10100 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10103 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10106 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10107 if (!SWIG_IsOK(ecode3
)) {
10108 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10110 arg3
= static_cast< int >(val3
);
10113 if (!wxPyCheckForApp()) SWIG_fail
;
10114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10115 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10116 wxPyEndAllowThreads(__tstate
);
10117 if (PyErr_Occurred()) SWIG_fail
;
10119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10126 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10127 PyObject
*resultobj
= 0;
10129 wxPoint
*arg2
= (wxPoint
*) 0 ;
10130 int arg3
= (int) wxWINDING_RULE
;
10131 wxRegion
*result
= 0 ;
10134 PyObject
* obj0
= 0 ;
10135 PyObject
* obj1
= 0 ;
10136 char * kwnames
[] = {
10137 (char *) "points",(char *) "fillStyle", NULL
10140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10142 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10143 if (arg2
== NULL
) SWIG_fail
;
10146 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10147 if (!SWIG_IsOK(ecode3
)) {
10148 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10150 arg3
= static_cast< int >(val3
);
10153 if (!wxPyCheckForApp()) SWIG_fail
;
10154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10155 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10156 wxPyEndAllowThreads(__tstate
);
10157 if (PyErr_Occurred()) SWIG_fail
;
10159 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10161 if (arg2
) delete [] arg2
;
10166 if (arg2
) delete [] arg2
;
10172 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10173 PyObject
*resultobj
= 0;
10174 wxRegion
*arg1
= (wxRegion
*) 0 ;
10177 PyObject
*swig_obj
[1] ;
10179 if (!args
) SWIG_fail
;
10180 swig_obj
[0] = args
;
10181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10182 if (!SWIG_IsOK(res1
)) {
10183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10185 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10190 wxPyEndAllowThreads(__tstate
);
10191 if (PyErr_Occurred()) SWIG_fail
;
10193 resultobj
= SWIG_Py_Void();
10200 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10201 PyObject
*resultobj
= 0;
10202 wxRegion
*arg1
= (wxRegion
*) 0 ;
10205 PyObject
*swig_obj
[1] ;
10207 if (!args
) SWIG_fail
;
10208 swig_obj
[0] = args
;
10209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10210 if (!SWIG_IsOK(res1
)) {
10211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10213 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10217 wxPyEndAllowThreads(__tstate
);
10218 if (PyErr_Occurred()) SWIG_fail
;
10220 resultobj
= SWIG_Py_Void();
10227 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10228 PyObject
*resultobj
= 0;
10229 wxRegion
*arg1
= (wxRegion
*) 0 ;
10239 PyObject
* obj0
= 0 ;
10240 PyObject
* obj1
= 0 ;
10241 PyObject
* obj2
= 0 ;
10242 char * kwnames
[] = {
10243 (char *) "self",(char *) "x",(char *) "y", NULL
10246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10248 if (!SWIG_IsOK(res1
)) {
10249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10251 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10252 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10253 if (!SWIG_IsOK(ecode2
)) {
10254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10256 arg2
= static_cast< int >(val2
);
10257 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10258 if (!SWIG_IsOK(ecode3
)) {
10259 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10261 arg3
= static_cast< int >(val3
);
10263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10264 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10265 wxPyEndAllowThreads(__tstate
);
10266 if (PyErr_Occurred()) SWIG_fail
;
10269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10277 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10278 PyObject
*resultobj
= 0;
10279 wxRegion
*arg1
= (wxRegion
*) 0 ;
10282 wxRegionContain result
;
10289 PyObject
* obj0
= 0 ;
10290 PyObject
* obj1
= 0 ;
10291 PyObject
* obj2
= 0 ;
10292 char * kwnames
[] = {
10293 (char *) "self",(char *) "x",(char *) "y", NULL
10296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10298 if (!SWIG_IsOK(res1
)) {
10299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10301 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10303 if (!SWIG_IsOK(ecode2
)) {
10304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10306 arg2
= static_cast< int >(val2
);
10307 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10308 if (!SWIG_IsOK(ecode3
)) {
10309 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10311 arg3
= static_cast< int >(val3
);
10313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10314 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10315 wxPyEndAllowThreads(__tstate
);
10316 if (PyErr_Occurred()) SWIG_fail
;
10318 resultobj
= SWIG_From_int(static_cast< int >(result
));
10325 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10326 PyObject
*resultobj
= 0;
10327 wxRegion
*arg1
= (wxRegion
*) 0 ;
10328 wxPoint
*arg2
= 0 ;
10329 wxRegionContain result
;
10333 PyObject
* obj0
= 0 ;
10334 PyObject
* obj1
= 0 ;
10335 char * kwnames
[] = {
10336 (char *) "self",(char *) "pt", NULL
10339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10341 if (!SWIG_IsOK(res1
)) {
10342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10344 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10347 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10351 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10352 wxPyEndAllowThreads(__tstate
);
10353 if (PyErr_Occurred()) SWIG_fail
;
10355 resultobj
= SWIG_From_int(static_cast< int >(result
));
10362 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10363 PyObject
*resultobj
= 0;
10364 wxRegion
*arg1
= (wxRegion
*) 0 ;
10366 wxRegionContain result
;
10370 PyObject
* obj0
= 0 ;
10371 PyObject
* obj1
= 0 ;
10372 char * kwnames
[] = {
10373 (char *) "self",(char *) "rect", NULL
10376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10378 if (!SWIG_IsOK(res1
)) {
10379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10381 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10384 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10388 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10389 wxPyEndAllowThreads(__tstate
);
10390 if (PyErr_Occurred()) SWIG_fail
;
10392 resultobj
= SWIG_From_int(static_cast< int >(result
));
10399 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10400 PyObject
*resultobj
= 0;
10401 wxRegion
*arg1
= (wxRegion
*) 0 ;
10406 wxRegionContain result
;
10417 PyObject
* obj0
= 0 ;
10418 PyObject
* obj1
= 0 ;
10419 PyObject
* obj2
= 0 ;
10420 PyObject
* obj3
= 0 ;
10421 PyObject
* obj4
= 0 ;
10422 char * kwnames
[] = {
10423 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10428 if (!SWIG_IsOK(res1
)) {
10429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10431 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10432 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10433 if (!SWIG_IsOK(ecode2
)) {
10434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10436 arg2
= static_cast< int >(val2
);
10437 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10438 if (!SWIG_IsOK(ecode3
)) {
10439 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10441 arg3
= static_cast< int >(val3
);
10442 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10443 if (!SWIG_IsOK(ecode4
)) {
10444 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10446 arg4
= static_cast< int >(val4
);
10447 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10448 if (!SWIG_IsOK(ecode5
)) {
10449 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10451 arg5
= static_cast< int >(val5
);
10453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10454 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10455 wxPyEndAllowThreads(__tstate
);
10456 if (PyErr_Occurred()) SWIG_fail
;
10458 resultobj
= SWIG_From_int(static_cast< int >(result
));
10465 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10466 PyObject
*resultobj
= 0;
10467 wxRegion
*arg1
= (wxRegion
*) 0 ;
10471 PyObject
*swig_obj
[1] ;
10473 if (!args
) SWIG_fail
;
10474 swig_obj
[0] = args
;
10475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10476 if (!SWIG_IsOK(res1
)) {
10477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10479 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10482 result
= (arg1
)->GetBox();
10483 wxPyEndAllowThreads(__tstate
);
10484 if (PyErr_Occurred()) SWIG_fail
;
10486 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10493 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10494 PyObject
*resultobj
= 0;
10495 wxRegion
*arg1
= (wxRegion
*) 0 ;
10511 PyObject
* obj0
= 0 ;
10512 PyObject
* obj1
= 0 ;
10513 PyObject
* obj2
= 0 ;
10514 PyObject
* obj3
= 0 ;
10515 PyObject
* obj4
= 0 ;
10516 char * kwnames
[] = {
10517 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10522 if (!SWIG_IsOK(res1
)) {
10523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10525 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10526 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10527 if (!SWIG_IsOK(ecode2
)) {
10528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10530 arg2
= static_cast< int >(val2
);
10531 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10532 if (!SWIG_IsOK(ecode3
)) {
10533 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10535 arg3
= static_cast< int >(val3
);
10536 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10537 if (!SWIG_IsOK(ecode4
)) {
10538 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10540 arg4
= static_cast< int >(val4
);
10541 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10542 if (!SWIG_IsOK(ecode5
)) {
10543 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10545 arg5
= static_cast< int >(val5
);
10547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10548 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10549 wxPyEndAllowThreads(__tstate
);
10550 if (PyErr_Occurred()) SWIG_fail
;
10553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10561 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10562 PyObject
*resultobj
= 0;
10563 wxRegion
*arg1
= (wxRegion
*) 0 ;
10569 PyObject
* obj0
= 0 ;
10570 PyObject
* obj1
= 0 ;
10571 char * kwnames
[] = {
10572 (char *) "self",(char *) "rect", NULL
10575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10577 if (!SWIG_IsOK(res1
)) {
10578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10580 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10583 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10587 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10588 wxPyEndAllowThreads(__tstate
);
10589 if (PyErr_Occurred()) SWIG_fail
;
10592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10600 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10601 PyObject
*resultobj
= 0;
10602 wxRegion
*arg1
= (wxRegion
*) 0 ;
10603 wxRegion
*arg2
= 0 ;
10609 PyObject
* obj0
= 0 ;
10610 PyObject
* obj1
= 0 ;
10611 char * kwnames
[] = {
10612 (char *) "self",(char *) "region", NULL
10615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10617 if (!SWIG_IsOK(res1
)) {
10618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10620 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10621 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10622 if (!SWIG_IsOK(res2
)) {
10623 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10626 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10628 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10631 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10632 wxPyEndAllowThreads(__tstate
);
10633 if (PyErr_Occurred()) SWIG_fail
;
10636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10644 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10645 PyObject
*resultobj
= 0;
10646 wxRegion
*arg1
= (wxRegion
*) 0 ;
10650 PyObject
*swig_obj
[1] ;
10652 if (!args
) SWIG_fail
;
10653 swig_obj
[0] = args
;
10654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10655 if (!SWIG_IsOK(res1
)) {
10656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
10658 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10661 result
= (bool)(arg1
)->IsEmpty();
10662 wxPyEndAllowThreads(__tstate
);
10663 if (PyErr_Occurred()) SWIG_fail
;
10666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10674 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10675 PyObject
*resultobj
= 0;
10676 wxRegion
*arg1
= (wxRegion
*) 0 ;
10677 wxRegion
*arg2
= 0 ;
10683 PyObject
* obj0
= 0 ;
10684 PyObject
* obj1
= 0 ;
10685 char * kwnames
[] = {
10686 (char *) "self",(char *) "region", NULL
10689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10691 if (!SWIG_IsOK(res1
)) {
10692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
10694 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10695 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10696 if (!SWIG_IsOK(res2
)) {
10697 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
10700 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
10702 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10705 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
10706 wxPyEndAllowThreads(__tstate
);
10707 if (PyErr_Occurred()) SWIG_fail
;
10710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10718 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10719 PyObject
*resultobj
= 0;
10720 wxRegion
*arg1
= (wxRegion
*) 0 ;
10736 PyObject
* obj0
= 0 ;
10737 PyObject
* obj1
= 0 ;
10738 PyObject
* obj2
= 0 ;
10739 PyObject
* obj3
= 0 ;
10740 PyObject
* obj4
= 0 ;
10741 char * kwnames
[] = {
10742 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10747 if (!SWIG_IsOK(res1
)) {
10748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
10750 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10751 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10752 if (!SWIG_IsOK(ecode2
)) {
10753 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
10755 arg2
= static_cast< int >(val2
);
10756 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10757 if (!SWIG_IsOK(ecode3
)) {
10758 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
10760 arg3
= static_cast< int >(val3
);
10761 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10762 if (!SWIG_IsOK(ecode4
)) {
10763 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
10765 arg4
= static_cast< int >(val4
);
10766 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10767 if (!SWIG_IsOK(ecode5
)) {
10768 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
10770 arg5
= static_cast< int >(val5
);
10772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10773 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
10774 wxPyEndAllowThreads(__tstate
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10786 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10787 PyObject
*resultobj
= 0;
10788 wxRegion
*arg1
= (wxRegion
*) 0 ;
10794 PyObject
* obj0
= 0 ;
10795 PyObject
* obj1
= 0 ;
10796 char * kwnames
[] = {
10797 (char *) "self",(char *) "rect", NULL
10800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10802 if (!SWIG_IsOK(res1
)) {
10803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10805 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10808 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10812 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
10813 wxPyEndAllowThreads(__tstate
);
10814 if (PyErr_Occurred()) SWIG_fail
;
10817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10825 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10826 PyObject
*resultobj
= 0;
10827 wxRegion
*arg1
= (wxRegion
*) 0 ;
10828 wxRegion
*arg2
= 0 ;
10834 PyObject
* obj0
= 0 ;
10835 PyObject
* obj1
= 0 ;
10836 char * kwnames
[] = {
10837 (char *) "self",(char *) "region", NULL
10840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10842 if (!SWIG_IsOK(res1
)) {
10843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10845 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10846 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10847 if (!SWIG_IsOK(res2
)) {
10848 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10851 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10853 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10856 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
10857 wxPyEndAllowThreads(__tstate
);
10858 if (PyErr_Occurred()) SWIG_fail
;
10861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10869 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10870 PyObject
*resultobj
= 0;
10871 wxRegion
*arg1
= (wxRegion
*) 0 ;
10887 PyObject
* obj0
= 0 ;
10888 PyObject
* obj1
= 0 ;
10889 PyObject
* obj2
= 0 ;
10890 PyObject
* obj3
= 0 ;
10891 PyObject
* obj4
= 0 ;
10892 char * kwnames
[] = {
10893 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10898 if (!SWIG_IsOK(res1
)) {
10899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
10901 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10902 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10903 if (!SWIG_IsOK(ecode2
)) {
10904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
10906 arg2
= static_cast< int >(val2
);
10907 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10908 if (!SWIG_IsOK(ecode3
)) {
10909 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
10911 arg3
= static_cast< int >(val3
);
10912 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10913 if (!SWIG_IsOK(ecode4
)) {
10914 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
10916 arg4
= static_cast< int >(val4
);
10917 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10918 if (!SWIG_IsOK(ecode5
)) {
10919 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
10921 arg5
= static_cast< int >(val5
);
10923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10924 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
10925 wxPyEndAllowThreads(__tstate
);
10926 if (PyErr_Occurred()) SWIG_fail
;
10929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10937 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10938 PyObject
*resultobj
= 0;
10939 wxRegion
*arg1
= (wxRegion
*) 0 ;
10945 PyObject
* obj0
= 0 ;
10946 PyObject
* obj1
= 0 ;
10947 char * kwnames
[] = {
10948 (char *) "self",(char *) "rect", NULL
10951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10953 if (!SWIG_IsOK(res1
)) {
10954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10956 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10959 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10963 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
10964 wxPyEndAllowThreads(__tstate
);
10965 if (PyErr_Occurred()) SWIG_fail
;
10968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10976 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10977 PyObject
*resultobj
= 0;
10978 wxRegion
*arg1
= (wxRegion
*) 0 ;
10979 wxRegion
*arg2
= 0 ;
10985 PyObject
* obj0
= 0 ;
10986 PyObject
* obj1
= 0 ;
10987 char * kwnames
[] = {
10988 (char *) "self",(char *) "region", NULL
10991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10993 if (!SWIG_IsOK(res1
)) {
10994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10996 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10997 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10998 if (!SWIG_IsOK(res2
)) {
10999 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11002 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11004 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11007 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11008 wxPyEndAllowThreads(__tstate
);
11009 if (PyErr_Occurred()) SWIG_fail
;
11012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11020 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11021 PyObject
*resultobj
= 0;
11022 wxRegion
*arg1
= (wxRegion
*) 0 ;
11038 PyObject
* obj0
= 0 ;
11039 PyObject
* obj1
= 0 ;
11040 PyObject
* obj2
= 0 ;
11041 PyObject
* obj3
= 0 ;
11042 PyObject
* obj4
= 0 ;
11043 char * kwnames
[] = {
11044 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11049 if (!SWIG_IsOK(res1
)) {
11050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11052 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11053 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11054 if (!SWIG_IsOK(ecode2
)) {
11055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11057 arg2
= static_cast< int >(val2
);
11058 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11059 if (!SWIG_IsOK(ecode3
)) {
11060 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11062 arg3
= static_cast< int >(val3
);
11063 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11064 if (!SWIG_IsOK(ecode4
)) {
11065 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11067 arg4
= static_cast< int >(val4
);
11068 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11069 if (!SWIG_IsOK(ecode5
)) {
11070 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11072 arg5
= static_cast< int >(val5
);
11074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11075 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11076 wxPyEndAllowThreads(__tstate
);
11077 if (PyErr_Occurred()) SWIG_fail
;
11080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11088 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11089 PyObject
*resultobj
= 0;
11090 wxRegion
*arg1
= (wxRegion
*) 0 ;
11096 PyObject
* obj0
= 0 ;
11097 PyObject
* obj1
= 0 ;
11098 char * kwnames
[] = {
11099 (char *) "self",(char *) "rect", NULL
11102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11104 if (!SWIG_IsOK(res1
)) {
11105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11107 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11110 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11114 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11115 wxPyEndAllowThreads(__tstate
);
11116 if (PyErr_Occurred()) SWIG_fail
;
11119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11127 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11128 PyObject
*resultobj
= 0;
11129 wxRegion
*arg1
= (wxRegion
*) 0 ;
11130 wxRegion
*arg2
= 0 ;
11136 PyObject
* obj0
= 0 ;
11137 PyObject
* obj1
= 0 ;
11138 char * kwnames
[] = {
11139 (char *) "self",(char *) "region", NULL
11142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11144 if (!SWIG_IsOK(res1
)) {
11145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11147 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11148 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11149 if (!SWIG_IsOK(res2
)) {
11150 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11153 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11155 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11158 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11159 wxPyEndAllowThreads(__tstate
);
11160 if (PyErr_Occurred()) SWIG_fail
;
11163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11171 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11172 PyObject
*resultobj
= 0;
11173 wxRegion
*arg1
= (wxRegion
*) 0 ;
11174 SwigValueWrapper
<wxBitmap
> result
;
11177 PyObject
*swig_obj
[1] ;
11179 if (!args
) SWIG_fail
;
11180 swig_obj
[0] = args
;
11181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11182 if (!SWIG_IsOK(res1
)) {
11183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11185 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11188 result
= (arg1
)->ConvertToBitmap();
11189 wxPyEndAllowThreads(__tstate
);
11190 if (PyErr_Occurred()) SWIG_fail
;
11192 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11199 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11200 PyObject
*resultobj
= 0;
11201 wxRegion
*arg1
= (wxRegion
*) 0 ;
11202 wxBitmap
*arg2
= 0 ;
11208 PyObject
* obj0
= 0 ;
11209 PyObject
* obj1
= 0 ;
11210 char * kwnames
[] = {
11211 (char *) "self",(char *) "bmp", NULL
11214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11216 if (!SWIG_IsOK(res1
)) {
11217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11219 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11220 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11221 if (!SWIG_IsOK(res2
)) {
11222 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11225 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11227 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11230 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11231 wxPyEndAllowThreads(__tstate
);
11232 if (PyErr_Occurred()) SWIG_fail
;
11235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11243 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11244 PyObject
*resultobj
= 0;
11245 wxRegion
*arg1
= (wxRegion
*) 0 ;
11246 wxBitmap
*arg2
= 0 ;
11247 wxColour
*arg3
= 0 ;
11248 int arg4
= (int) 0 ;
11257 PyObject
* obj0
= 0 ;
11258 PyObject
* obj1
= 0 ;
11259 PyObject
* obj2
= 0 ;
11260 PyObject
* obj3
= 0 ;
11261 char * kwnames
[] = {
11262 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11267 if (!SWIG_IsOK(res1
)) {
11268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11270 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11271 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11272 if (!SWIG_IsOK(res2
)) {
11273 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11276 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11278 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11281 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11284 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11285 if (!SWIG_IsOK(ecode4
)) {
11286 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11288 arg4
= static_cast< int >(val4
);
11291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11292 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11293 wxPyEndAllowThreads(__tstate
);
11294 if (PyErr_Occurred()) SWIG_fail
;
11297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11305 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11307 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11308 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11309 return SWIG_Py_Void();
11312 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11313 return SWIG_Python_InitShadowInstance(args
);
11316 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11317 PyObject
*resultobj
= 0;
11318 wxRegion
*arg1
= 0 ;
11319 wxRegionIterator
*result
= 0 ;
11322 PyObject
* obj0
= 0 ;
11323 char * kwnames
[] = {
11324 (char *) "region", NULL
11327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11328 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11329 if (!SWIG_IsOK(res1
)) {
11330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11333 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11335 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11337 if (!wxPyCheckForApp()) SWIG_fail
;
11338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11339 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11340 wxPyEndAllowThreads(__tstate
);
11341 if (PyErr_Occurred()) SWIG_fail
;
11343 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11350 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11351 PyObject
*resultobj
= 0;
11352 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11355 PyObject
*swig_obj
[1] ;
11357 if (!args
) SWIG_fail
;
11358 swig_obj
[0] = args
;
11359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11360 if (!SWIG_IsOK(res1
)) {
11361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11363 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11368 wxPyEndAllowThreads(__tstate
);
11369 if (PyErr_Occurred()) SWIG_fail
;
11371 resultobj
= SWIG_Py_Void();
11378 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11379 PyObject
*resultobj
= 0;
11380 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11384 PyObject
*swig_obj
[1] ;
11386 if (!args
) SWIG_fail
;
11387 swig_obj
[0] = args
;
11388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11389 if (!SWIG_IsOK(res1
)) {
11390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11392 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11395 result
= (int)(arg1
)->GetX();
11396 wxPyEndAllowThreads(__tstate
);
11397 if (PyErr_Occurred()) SWIG_fail
;
11399 resultobj
= SWIG_From_int(static_cast< int >(result
));
11406 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11407 PyObject
*resultobj
= 0;
11408 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11412 PyObject
*swig_obj
[1] ;
11414 if (!args
) SWIG_fail
;
11415 swig_obj
[0] = args
;
11416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11417 if (!SWIG_IsOK(res1
)) {
11418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11420 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11423 result
= (int)(arg1
)->GetY();
11424 wxPyEndAllowThreads(__tstate
);
11425 if (PyErr_Occurred()) SWIG_fail
;
11427 resultobj
= SWIG_From_int(static_cast< int >(result
));
11434 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11435 PyObject
*resultobj
= 0;
11436 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11440 PyObject
*swig_obj
[1] ;
11442 if (!args
) SWIG_fail
;
11443 swig_obj
[0] = args
;
11444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11445 if (!SWIG_IsOK(res1
)) {
11446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11448 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11451 result
= (int)(arg1
)->GetW();
11452 wxPyEndAllowThreads(__tstate
);
11453 if (PyErr_Occurred()) SWIG_fail
;
11455 resultobj
= SWIG_From_int(static_cast< int >(result
));
11462 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11463 PyObject
*resultobj
= 0;
11464 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11468 PyObject
*swig_obj
[1] ;
11470 if (!args
) SWIG_fail
;
11471 swig_obj
[0] = args
;
11472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11473 if (!SWIG_IsOK(res1
)) {
11474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11476 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11479 result
= (int)(arg1
)->GetWidth();
11480 wxPyEndAllowThreads(__tstate
);
11481 if (PyErr_Occurred()) SWIG_fail
;
11483 resultobj
= SWIG_From_int(static_cast< int >(result
));
11490 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11491 PyObject
*resultobj
= 0;
11492 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11496 PyObject
*swig_obj
[1] ;
11498 if (!args
) SWIG_fail
;
11499 swig_obj
[0] = args
;
11500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11501 if (!SWIG_IsOK(res1
)) {
11502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11504 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11507 result
= (int)(arg1
)->GetH();
11508 wxPyEndAllowThreads(__tstate
);
11509 if (PyErr_Occurred()) SWIG_fail
;
11511 resultobj
= SWIG_From_int(static_cast< int >(result
));
11518 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11519 PyObject
*resultobj
= 0;
11520 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11524 PyObject
*swig_obj
[1] ;
11526 if (!args
) SWIG_fail
;
11527 swig_obj
[0] = args
;
11528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11529 if (!SWIG_IsOK(res1
)) {
11530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11532 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11535 result
= (int)(arg1
)->GetHeight();
11536 wxPyEndAllowThreads(__tstate
);
11537 if (PyErr_Occurred()) SWIG_fail
;
11539 resultobj
= SWIG_From_int(static_cast< int >(result
));
11546 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11547 PyObject
*resultobj
= 0;
11548 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11552 PyObject
*swig_obj
[1] ;
11554 if (!args
) SWIG_fail
;
11555 swig_obj
[0] = args
;
11556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11557 if (!SWIG_IsOK(res1
)) {
11558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11560 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11563 result
= (arg1
)->GetRect();
11564 wxPyEndAllowThreads(__tstate
);
11565 if (PyErr_Occurred()) SWIG_fail
;
11567 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11574 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11575 PyObject
*resultobj
= 0;
11576 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11580 PyObject
*swig_obj
[1] ;
11582 if (!args
) SWIG_fail
;
11583 swig_obj
[0] = args
;
11584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11585 if (!SWIG_IsOK(res1
)) {
11586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11588 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11591 result
= (bool)(arg1
)->HaveRects();
11592 wxPyEndAllowThreads(__tstate
);
11593 if (PyErr_Occurred()) SWIG_fail
;
11596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11604 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11605 PyObject
*resultobj
= 0;
11606 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11609 PyObject
*swig_obj
[1] ;
11611 if (!args
) SWIG_fail
;
11612 swig_obj
[0] = args
;
11613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11614 if (!SWIG_IsOK(res1
)) {
11615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11617 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11621 wxPyEndAllowThreads(__tstate
);
11622 if (PyErr_Occurred()) SWIG_fail
;
11624 resultobj
= SWIG_Py_Void();
11631 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11632 PyObject
*resultobj
= 0;
11633 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11636 PyObject
*swig_obj
[1] ;
11638 if (!args
) SWIG_fail
;
11639 swig_obj
[0] = args
;
11640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11641 if (!SWIG_IsOK(res1
)) {
11642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11644 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11647 wxRegionIterator_Next(arg1
);
11648 wxPyEndAllowThreads(__tstate
);
11649 if (PyErr_Occurred()) SWIG_fail
;
11651 resultobj
= SWIG_Py_Void();
11658 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11659 PyObject
*resultobj
= 0;
11660 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11664 PyObject
*swig_obj
[1] ;
11666 if (!args
) SWIG_fail
;
11667 swig_obj
[0] = args
;
11668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11669 if (!SWIG_IsOK(res1
)) {
11670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11672 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11675 result
= (bool)wxRegionIterator___nonzero__(arg1
);
11676 wxPyEndAllowThreads(__tstate
);
11677 if (PyErr_Occurred()) SWIG_fail
;
11680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11688 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11690 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11691 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
11692 return SWIG_Py_Void();
11695 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11696 return SWIG_Python_InitShadowInstance(args
);
11699 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11700 PyObject
*resultobj
= 0;
11701 wxNativeFontInfo
*result
= 0 ;
11703 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
11705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11706 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
11707 wxPyEndAllowThreads(__tstate
);
11708 if (PyErr_Occurred()) SWIG_fail
;
11710 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
11717 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11718 PyObject
*resultobj
= 0;
11719 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11722 PyObject
*swig_obj
[1] ;
11724 if (!args
) SWIG_fail
;
11725 swig_obj
[0] = args
;
11726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
11727 if (!SWIG_IsOK(res1
)) {
11728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11730 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11735 wxPyEndAllowThreads(__tstate
);
11736 if (PyErr_Occurred()) SWIG_fail
;
11738 resultobj
= SWIG_Py_Void();
11745 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11746 PyObject
*resultobj
= 0;
11747 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11750 PyObject
*swig_obj
[1] ;
11752 if (!args
) SWIG_fail
;
11753 swig_obj
[0] = args
;
11754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11755 if (!SWIG_IsOK(res1
)) {
11756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11758 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11762 wxPyEndAllowThreads(__tstate
);
11763 if (PyErr_Occurred()) SWIG_fail
;
11765 resultobj
= SWIG_Py_Void();
11772 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11773 PyObject
*resultobj
= 0;
11774 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11780 PyObject
* obj0
= 0 ;
11781 PyObject
* obj1
= 0 ;
11782 char * kwnames
[] = {
11783 (char *) "self",(char *) "font", NULL
11786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11788 if (!SWIG_IsOK(res1
)) {
11789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11791 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11792 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
11793 if (!SWIG_IsOK(res2
)) {
11794 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11797 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11799 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11802 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
11803 wxPyEndAllowThreads(__tstate
);
11804 if (PyErr_Occurred()) SWIG_fail
;
11806 resultobj
= SWIG_Py_Void();
11813 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11814 PyObject
*resultobj
= 0;
11815 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11819 PyObject
*swig_obj
[1] ;
11821 if (!args
) SWIG_fail
;
11822 swig_obj
[0] = args
;
11823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11824 if (!SWIG_IsOK(res1
)) {
11825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11827 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11830 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
11831 wxPyEndAllowThreads(__tstate
);
11832 if (PyErr_Occurred()) SWIG_fail
;
11834 resultobj
= SWIG_From_int(static_cast< int >(result
));
11841 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11842 PyObject
*resultobj
= 0;
11843 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11844 wxFontStyle result
;
11847 PyObject
*swig_obj
[1] ;
11849 if (!args
) SWIG_fail
;
11850 swig_obj
[0] = args
;
11851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11852 if (!SWIG_IsOK(res1
)) {
11853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11855 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11858 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
11859 wxPyEndAllowThreads(__tstate
);
11860 if (PyErr_Occurred()) SWIG_fail
;
11862 resultobj
= SWIG_From_int(static_cast< int >(result
));
11869 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11870 PyObject
*resultobj
= 0;
11871 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11872 wxFontWeight result
;
11875 PyObject
*swig_obj
[1] ;
11877 if (!args
) SWIG_fail
;
11878 swig_obj
[0] = args
;
11879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11880 if (!SWIG_IsOK(res1
)) {
11881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11883 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11886 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
11887 wxPyEndAllowThreads(__tstate
);
11888 if (PyErr_Occurred()) SWIG_fail
;
11890 resultobj
= SWIG_From_int(static_cast< int >(result
));
11897 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11898 PyObject
*resultobj
= 0;
11899 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11903 PyObject
*swig_obj
[1] ;
11905 if (!args
) SWIG_fail
;
11906 swig_obj
[0] = args
;
11907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11908 if (!SWIG_IsOK(res1
)) {
11909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11911 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11914 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
11915 wxPyEndAllowThreads(__tstate
);
11916 if (PyErr_Occurred()) SWIG_fail
;
11919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11927 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11928 PyObject
*resultobj
= 0;
11929 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11933 PyObject
*swig_obj
[1] ;
11935 if (!args
) SWIG_fail
;
11936 swig_obj
[0] = args
;
11937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11938 if (!SWIG_IsOK(res1
)) {
11939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11941 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11944 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
11945 wxPyEndAllowThreads(__tstate
);
11946 if (PyErr_Occurred()) SWIG_fail
;
11950 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11952 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11961 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11962 PyObject
*resultobj
= 0;
11963 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11964 wxFontFamily result
;
11967 PyObject
*swig_obj
[1] ;
11969 if (!args
) SWIG_fail
;
11970 swig_obj
[0] = args
;
11971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11972 if (!SWIG_IsOK(res1
)) {
11973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11975 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11978 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
11979 wxPyEndAllowThreads(__tstate
);
11980 if (PyErr_Occurred()) SWIG_fail
;
11982 resultobj
= SWIG_From_int(static_cast< int >(result
));
11989 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11990 PyObject
*resultobj
= 0;
11991 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11992 wxFontEncoding result
;
11995 PyObject
*swig_obj
[1] ;
11997 if (!args
) SWIG_fail
;
11998 swig_obj
[0] = args
;
11999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12000 if (!SWIG_IsOK(res1
)) {
12001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12003 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12006 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12007 wxPyEndAllowThreads(__tstate
);
12008 if (PyErr_Occurred()) SWIG_fail
;
12010 resultobj
= SWIG_From_int(static_cast< int >(result
));
12017 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12018 PyObject
*resultobj
= 0;
12019 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12025 PyObject
* obj0
= 0 ;
12026 PyObject
* obj1
= 0 ;
12027 char * kwnames
[] = {
12028 (char *) "self",(char *) "pointsize", NULL
12031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12033 if (!SWIG_IsOK(res1
)) {
12034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12036 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12037 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12038 if (!SWIG_IsOK(ecode2
)) {
12039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12041 arg2
= static_cast< int >(val2
);
12043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12044 (arg1
)->SetPointSize(arg2
);
12045 wxPyEndAllowThreads(__tstate
);
12046 if (PyErr_Occurred()) SWIG_fail
;
12048 resultobj
= SWIG_Py_Void();
12055 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12056 PyObject
*resultobj
= 0;
12057 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12063 PyObject
* obj0
= 0 ;
12064 PyObject
* obj1
= 0 ;
12065 char * kwnames
[] = {
12066 (char *) "self",(char *) "style", NULL
12069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12071 if (!SWIG_IsOK(res1
)) {
12072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12074 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12075 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12076 if (!SWIG_IsOK(ecode2
)) {
12077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12079 arg2
= static_cast< wxFontStyle
>(val2
);
12081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12082 (arg1
)->SetStyle(arg2
);
12083 wxPyEndAllowThreads(__tstate
);
12084 if (PyErr_Occurred()) SWIG_fail
;
12086 resultobj
= SWIG_Py_Void();
12093 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12094 PyObject
*resultobj
= 0;
12095 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12096 wxFontWeight arg2
;
12101 PyObject
* obj0
= 0 ;
12102 PyObject
* obj1
= 0 ;
12103 char * kwnames
[] = {
12104 (char *) "self",(char *) "weight", NULL
12107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12109 if (!SWIG_IsOK(res1
)) {
12110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12112 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12113 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12114 if (!SWIG_IsOK(ecode2
)) {
12115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12117 arg2
= static_cast< wxFontWeight
>(val2
);
12119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12120 (arg1
)->SetWeight(arg2
);
12121 wxPyEndAllowThreads(__tstate
);
12122 if (PyErr_Occurred()) SWIG_fail
;
12124 resultobj
= SWIG_Py_Void();
12131 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12132 PyObject
*resultobj
= 0;
12133 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12139 PyObject
* obj0
= 0 ;
12140 PyObject
* obj1
= 0 ;
12141 char * kwnames
[] = {
12142 (char *) "self",(char *) "underlined", NULL
12145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12147 if (!SWIG_IsOK(res1
)) {
12148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12150 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12151 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12152 if (!SWIG_IsOK(ecode2
)) {
12153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12155 arg2
= static_cast< bool >(val2
);
12157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12158 (arg1
)->SetUnderlined(arg2
);
12159 wxPyEndAllowThreads(__tstate
);
12160 if (PyErr_Occurred()) SWIG_fail
;
12162 resultobj
= SWIG_Py_Void();
12169 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12170 PyObject
*resultobj
= 0;
12171 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12176 PyObject
* obj0
= 0 ;
12177 PyObject
* obj1
= 0 ;
12178 char * kwnames
[] = {
12179 (char *) "self",(char *) "facename", NULL
12182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12184 if (!SWIG_IsOK(res1
)) {
12185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12187 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12189 wxString
* sptr
= wxString_in_helper(obj1
);
12190 if (sptr
== NULL
) SWIG_fail
;
12195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12196 result
= (bool)(arg1
)->SetFaceName(arg2
);
12197 wxPyEndAllowThreads(__tstate
);
12198 if (PyErr_Occurred()) SWIG_fail
;
12201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12209 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12210 PyObject
*resultobj
= 0;
12211 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12212 wxFontFamily arg2
;
12217 PyObject
* obj0
= 0 ;
12218 PyObject
* obj1
= 0 ;
12219 char * kwnames
[] = {
12220 (char *) "self",(char *) "family", NULL
12223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12225 if (!SWIG_IsOK(res1
)) {
12226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12228 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12229 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12230 if (!SWIG_IsOK(ecode2
)) {
12231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12233 arg2
= static_cast< wxFontFamily
>(val2
);
12235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12236 (arg1
)->SetFamily(arg2
);
12237 wxPyEndAllowThreads(__tstate
);
12238 if (PyErr_Occurred()) SWIG_fail
;
12240 resultobj
= SWIG_Py_Void();
12247 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12248 PyObject
*resultobj
= 0;
12249 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12250 wxFontEncoding arg2
;
12255 PyObject
* obj0
= 0 ;
12256 PyObject
* obj1
= 0 ;
12257 char * kwnames
[] = {
12258 (char *) "self",(char *) "encoding", NULL
12261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12263 if (!SWIG_IsOK(res1
)) {
12264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12266 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12267 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12268 if (!SWIG_IsOK(ecode2
)) {
12269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12271 arg2
= static_cast< wxFontEncoding
>(val2
);
12273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12274 (arg1
)->SetEncoding(arg2
);
12275 wxPyEndAllowThreads(__tstate
);
12276 if (PyErr_Occurred()) SWIG_fail
;
12278 resultobj
= SWIG_Py_Void();
12285 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12286 PyObject
*resultobj
= 0;
12287 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12288 wxString
*arg2
= 0 ;
12292 bool temp2
= false ;
12293 PyObject
* obj0
= 0 ;
12294 PyObject
* obj1
= 0 ;
12295 char * kwnames
[] = {
12296 (char *) "self",(char *) "s", NULL
12299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12301 if (!SWIG_IsOK(res1
)) {
12302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12304 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12306 arg2
= wxString_in_helper(obj1
);
12307 if (arg2
== NULL
) SWIG_fail
;
12311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12312 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12313 wxPyEndAllowThreads(__tstate
);
12314 if (PyErr_Occurred()) SWIG_fail
;
12317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12333 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12334 PyObject
*resultobj
= 0;
12335 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12339 PyObject
*swig_obj
[1] ;
12341 if (!args
) SWIG_fail
;
12342 swig_obj
[0] = args
;
12343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12344 if (!SWIG_IsOK(res1
)) {
12345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12347 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12350 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12351 wxPyEndAllowThreads(__tstate
);
12352 if (PyErr_Occurred()) SWIG_fail
;
12356 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12358 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12367 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12368 PyObject
*resultobj
= 0;
12369 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12373 PyObject
*swig_obj
[1] ;
12375 if (!args
) SWIG_fail
;
12376 swig_obj
[0] = args
;
12377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12378 if (!SWIG_IsOK(res1
)) {
12379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12381 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12384 result
= wxNativeFontInfo___str__(arg1
);
12385 wxPyEndAllowThreads(__tstate
);
12386 if (PyErr_Occurred()) SWIG_fail
;
12390 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12392 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12401 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12402 PyObject
*resultobj
= 0;
12403 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12404 wxString
*arg2
= 0 ;
12408 bool temp2
= false ;
12409 PyObject
* obj0
= 0 ;
12410 PyObject
* obj1
= 0 ;
12411 char * kwnames
[] = {
12412 (char *) "self",(char *) "s", NULL
12415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12417 if (!SWIG_IsOK(res1
)) {
12418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12420 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12422 arg2
= wxString_in_helper(obj1
);
12423 if (arg2
== NULL
) SWIG_fail
;
12427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12428 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12429 wxPyEndAllowThreads(__tstate
);
12430 if (PyErr_Occurred()) SWIG_fail
;
12433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12449 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12450 PyObject
*resultobj
= 0;
12451 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12455 PyObject
*swig_obj
[1] ;
12457 if (!args
) SWIG_fail
;
12458 swig_obj
[0] = args
;
12459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12460 if (!SWIG_IsOK(res1
)) {
12461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12463 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12466 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12467 wxPyEndAllowThreads(__tstate
);
12468 if (PyErr_Occurred()) SWIG_fail
;
12472 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12474 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12483 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12485 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12486 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12487 return SWIG_Py_Void();
12490 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12491 return SWIG_Python_InitShadowInstance(args
);
12494 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12495 PyObject
*resultobj
= 0;
12496 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12497 wxString
*arg2
= (wxString
*) 0 ;
12500 bool temp2
= false ;
12501 PyObject
*swig_obj
[2] ;
12503 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12505 if (!SWIG_IsOK(res1
)) {
12506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12508 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12510 arg2
= wxString_in_helper(swig_obj
[1]);
12511 if (arg2
== NULL
) SWIG_fail
;
12514 if (arg1
) (arg1
)->facename
= *arg2
;
12516 resultobj
= SWIG_Py_Void();
12531 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12532 PyObject
*resultobj
= 0;
12533 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12534 wxString
*result
= 0 ;
12537 PyObject
*swig_obj
[1] ;
12539 if (!args
) SWIG_fail
;
12540 swig_obj
[0] = args
;
12541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12542 if (!SWIG_IsOK(res1
)) {
12543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12545 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12546 result
= (wxString
*)& ((arg1
)->facename
);
12549 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12551 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12560 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12561 PyObject
*resultobj
= 0;
12562 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12563 wxFontEncoding arg2
;
12568 PyObject
*swig_obj
[2] ;
12570 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12572 if (!SWIG_IsOK(res1
)) {
12573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12575 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12576 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12577 if (!SWIG_IsOK(ecode2
)) {
12578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12580 arg2
= static_cast< wxFontEncoding
>(val2
);
12581 if (arg1
) (arg1
)->encoding
= arg2
;
12583 resultobj
= SWIG_Py_Void();
12590 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12591 PyObject
*resultobj
= 0;
12592 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12593 wxFontEncoding result
;
12596 PyObject
*swig_obj
[1] ;
12598 if (!args
) SWIG_fail
;
12599 swig_obj
[0] = args
;
12600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12601 if (!SWIG_IsOK(res1
)) {
12602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12604 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12605 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12606 resultobj
= SWIG_From_int(static_cast< int >(result
));
12613 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12614 PyObject
*resultobj
= 0;
12615 wxNativeEncodingInfo
*result
= 0 ;
12617 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12620 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12621 wxPyEndAllowThreads(__tstate
);
12622 if (PyErr_Occurred()) SWIG_fail
;
12624 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12631 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12632 PyObject
*resultobj
= 0;
12633 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12636 PyObject
*swig_obj
[1] ;
12638 if (!args
) SWIG_fail
;
12639 swig_obj
[0] = args
;
12640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12641 if (!SWIG_IsOK(res1
)) {
12642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12644 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12649 wxPyEndAllowThreads(__tstate
);
12650 if (PyErr_Occurred()) SWIG_fail
;
12652 resultobj
= SWIG_Py_Void();
12659 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12660 PyObject
*resultobj
= 0;
12661 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12662 wxString
*arg2
= 0 ;
12666 bool temp2
= false ;
12667 PyObject
* obj0
= 0 ;
12668 PyObject
* obj1
= 0 ;
12669 char * kwnames
[] = {
12670 (char *) "self",(char *) "s", NULL
12673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12675 if (!SWIG_IsOK(res1
)) {
12676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12678 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12680 arg2
= wxString_in_helper(obj1
);
12681 if (arg2
== NULL
) SWIG_fail
;
12685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12686 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12687 wxPyEndAllowThreads(__tstate
);
12688 if (PyErr_Occurred()) SWIG_fail
;
12691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12707 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12708 PyObject
*resultobj
= 0;
12709 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12713 PyObject
*swig_obj
[1] ;
12715 if (!args
) SWIG_fail
;
12716 swig_obj
[0] = args
;
12717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12718 if (!SWIG_IsOK(res1
)) {
12719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
12721 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12724 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
12725 wxPyEndAllowThreads(__tstate
);
12726 if (PyErr_Occurred()) SWIG_fail
;
12730 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12732 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12741 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12743 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12744 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
12745 return SWIG_Py_Void();
12748 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12749 return SWIG_Python_InitShadowInstance(args
);
12752 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12753 PyObject
*resultobj
= 0;
12754 wxFontEncoding arg1
;
12755 wxNativeEncodingInfo
*result
= 0 ;
12758 PyObject
* obj0
= 0 ;
12759 char * kwnames
[] = {
12760 (char *) "encoding", NULL
12763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12764 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12765 if (!SWIG_IsOK(ecode1
)) {
12766 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12768 arg1
= static_cast< wxFontEncoding
>(val1
);
12770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12771 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
12772 wxPyEndAllowThreads(__tstate
);
12773 if (PyErr_Occurred()) SWIG_fail
;
12775 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12782 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12783 PyObject
*resultobj
= 0;
12784 wxNativeEncodingInfo
*arg1
= 0 ;
12788 PyObject
* obj0
= 0 ;
12789 char * kwnames
[] = {
12790 (char *) "info", NULL
12793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12794 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
12795 if (!SWIG_IsOK(res1
)) {
12796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12799 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12801 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12804 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
12805 wxPyEndAllowThreads(__tstate
);
12806 if (PyErr_Occurred()) SWIG_fail
;
12809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12817 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12818 PyObject
*resultobj
= 0;
12819 wxFontMapper
*result
= 0 ;
12821 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
12823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12824 result
= (wxFontMapper
*)new wxFontMapper();
12825 wxPyEndAllowThreads(__tstate
);
12826 if (PyErr_Occurred()) SWIG_fail
;
12828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
12835 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12836 PyObject
*resultobj
= 0;
12837 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12840 PyObject
*swig_obj
[1] ;
12842 if (!args
) SWIG_fail
;
12843 swig_obj
[0] = args
;
12844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
12845 if (!SWIG_IsOK(res1
)) {
12846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12848 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12853 wxPyEndAllowThreads(__tstate
);
12854 if (PyErr_Occurred()) SWIG_fail
;
12856 resultobj
= SWIG_Py_Void();
12863 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12864 PyObject
*resultobj
= 0;
12865 wxFontMapper
*result
= 0 ;
12867 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
12869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12870 result
= (wxFontMapper
*)wxFontMapper::Get();
12871 wxPyEndAllowThreads(__tstate
);
12872 if (PyErr_Occurred()) SWIG_fail
;
12874 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12881 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12882 PyObject
*resultobj
= 0;
12883 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12884 wxFontMapper
*result
= 0 ;
12887 PyObject
* obj0
= 0 ;
12888 char * kwnames
[] = {
12889 (char *) "mapper", NULL
12892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
12893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12894 if (!SWIG_IsOK(res1
)) {
12895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12897 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12900 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
12901 wxPyEndAllowThreads(__tstate
);
12902 if (PyErr_Occurred()) SWIG_fail
;
12904 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12911 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12912 PyObject
*resultobj
= 0;
12913 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12914 wxString
*arg2
= 0 ;
12915 bool arg3
= (bool) true ;
12916 wxFontEncoding result
;
12919 bool temp2
= false ;
12922 PyObject
* obj0
= 0 ;
12923 PyObject
* obj1
= 0 ;
12924 PyObject
* obj2
= 0 ;
12925 char * kwnames
[] = {
12926 (char *) "self",(char *) "charset",(char *) "interactive", NULL
12929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12931 if (!SWIG_IsOK(res1
)) {
12932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12934 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12936 arg2
= wxString_in_helper(obj1
);
12937 if (arg2
== NULL
) SWIG_fail
;
12941 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12942 if (!SWIG_IsOK(ecode3
)) {
12943 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
12945 arg3
= static_cast< bool >(val3
);
12948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12949 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
12950 wxPyEndAllowThreads(__tstate
);
12951 if (PyErr_Occurred()) SWIG_fail
;
12953 resultobj
= SWIG_From_int(static_cast< int >(result
));
12968 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12969 PyObject
*resultobj
= 0;
12972 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
12974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12975 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
12976 wxPyEndAllowThreads(__tstate
);
12977 if (PyErr_Occurred()) SWIG_fail
;
12979 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
12986 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12987 PyObject
*resultobj
= 0;
12989 wxFontEncoding result
;
12992 PyObject
* obj0
= 0 ;
12993 char * kwnames
[] = {
12997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
12998 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
12999 if (!SWIG_IsOK(ecode1
)) {
13000 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13002 arg1
= static_cast< size_t >(val1
);
13004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13005 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13006 wxPyEndAllowThreads(__tstate
);
13007 if (PyErr_Occurred()) SWIG_fail
;
13009 resultobj
= SWIG_From_int(static_cast< int >(result
));
13016 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13017 PyObject
*resultobj
= 0;
13018 wxFontEncoding arg1
;
13022 PyObject
* obj0
= 0 ;
13023 char * kwnames
[] = {
13024 (char *) "encoding", NULL
13027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13028 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13029 if (!SWIG_IsOK(ecode1
)) {
13030 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13032 arg1
= static_cast< wxFontEncoding
>(val1
);
13034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13035 result
= wxFontMapper::GetEncodingName(arg1
);
13036 wxPyEndAllowThreads(__tstate
);
13037 if (PyErr_Occurred()) SWIG_fail
;
13041 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13043 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13052 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13053 PyObject
*resultobj
= 0;
13054 wxFontEncoding arg1
;
13058 PyObject
* obj0
= 0 ;
13059 char * kwnames
[] = {
13060 (char *) "encoding", NULL
13063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13064 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13065 if (!SWIG_IsOK(ecode1
)) {
13066 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13068 arg1
= static_cast< wxFontEncoding
>(val1
);
13070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13071 result
= wxFontMapper::GetEncodingDescription(arg1
);
13072 wxPyEndAllowThreads(__tstate
);
13073 if (PyErr_Occurred()) SWIG_fail
;
13077 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13079 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13088 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13089 PyObject
*resultobj
= 0;
13090 wxString
*arg1
= 0 ;
13091 wxFontEncoding result
;
13092 bool temp1
= false ;
13093 PyObject
* obj0
= 0 ;
13094 char * kwnames
[] = {
13095 (char *) "name", NULL
13098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13100 arg1
= wxString_in_helper(obj0
);
13101 if (arg1
== NULL
) SWIG_fail
;
13105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13106 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13107 wxPyEndAllowThreads(__tstate
);
13108 if (PyErr_Occurred()) SWIG_fail
;
13110 resultobj
= SWIG_From_int(static_cast< int >(result
));
13125 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13126 PyObject
*resultobj
= 0;
13127 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13128 wxString
*arg2
= 0 ;
13131 bool temp2
= false ;
13132 PyObject
* obj0
= 0 ;
13133 PyObject
* obj1
= 0 ;
13134 char * kwnames
[] = {
13135 (char *) "self",(char *) "prefix", NULL
13138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13140 if (!SWIG_IsOK(res1
)) {
13141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13143 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13145 arg2
= wxString_in_helper(obj1
);
13146 if (arg2
== NULL
) SWIG_fail
;
13150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13151 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13152 wxPyEndAllowThreads(__tstate
);
13153 if (PyErr_Occurred()) SWIG_fail
;
13155 resultobj
= SWIG_Py_Void();
13170 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13171 PyObject
*resultobj
= 0;
13174 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13177 result
= wxFontMapper::GetDefaultConfigPath();
13178 wxPyEndAllowThreads(__tstate
);
13179 if (PyErr_Occurred()) SWIG_fail
;
13183 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13185 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13194 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13195 PyObject
*resultobj
= 0;
13196 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13197 wxFontEncoding arg2
;
13198 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13199 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13200 bool arg4
= (bool) true ;
13201 PyObject
*result
= 0 ;
13206 bool temp3
= false ;
13209 PyObject
* obj0
= 0 ;
13210 PyObject
* obj1
= 0 ;
13211 PyObject
* obj2
= 0 ;
13212 PyObject
* obj3
= 0 ;
13213 char * kwnames
[] = {
13214 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13219 if (!SWIG_IsOK(res1
)) {
13220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13222 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13223 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13224 if (!SWIG_IsOK(ecode2
)) {
13225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13227 arg2
= static_cast< wxFontEncoding
>(val2
);
13230 arg3
= wxString_in_helper(obj2
);
13231 if (arg3
== NULL
) SWIG_fail
;
13236 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13237 if (!SWIG_IsOK(ecode4
)) {
13238 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13240 arg4
= static_cast< bool >(val4
);
13243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13244 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13245 wxPyEndAllowThreads(__tstate
);
13246 if (PyErr_Occurred()) SWIG_fail
;
13248 resultobj
= result
;
13263 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13264 PyObject
*resultobj
= 0;
13265 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13266 wxFontEncoding arg2
;
13267 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13268 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13274 bool temp3
= false ;
13275 PyObject
* obj0
= 0 ;
13276 PyObject
* obj1
= 0 ;
13277 PyObject
* obj2
= 0 ;
13278 char * kwnames
[] = {
13279 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13284 if (!SWIG_IsOK(res1
)) {
13285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13287 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13288 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13289 if (!SWIG_IsOK(ecode2
)) {
13290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13292 arg2
= static_cast< wxFontEncoding
>(val2
);
13295 arg3
= wxString_in_helper(obj2
);
13296 if (arg3
== NULL
) SWIG_fail
;
13301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13302 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13303 wxPyEndAllowThreads(__tstate
);
13304 if (PyErr_Occurred()) SWIG_fail
;
13307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13323 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13324 PyObject
*resultobj
= 0;
13325 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13326 wxWindow
*arg2
= (wxWindow
*) 0 ;
13331 PyObject
* obj0
= 0 ;
13332 PyObject
* obj1
= 0 ;
13333 char * kwnames
[] = {
13334 (char *) "self",(char *) "parent", NULL
13337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13339 if (!SWIG_IsOK(res1
)) {
13340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13342 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13343 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13344 if (!SWIG_IsOK(res2
)) {
13345 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13347 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13350 (arg1
)->SetDialogParent(arg2
);
13351 wxPyEndAllowThreads(__tstate
);
13352 if (PyErr_Occurred()) SWIG_fail
;
13354 resultobj
= SWIG_Py_Void();
13361 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13362 PyObject
*resultobj
= 0;
13363 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13364 wxString
*arg2
= 0 ;
13367 bool temp2
= false ;
13368 PyObject
* obj0
= 0 ;
13369 PyObject
* obj1
= 0 ;
13370 char * kwnames
[] = {
13371 (char *) "self",(char *) "title", NULL
13374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13376 if (!SWIG_IsOK(res1
)) {
13377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13379 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13381 arg2
= wxString_in_helper(obj1
);
13382 if (arg2
== NULL
) SWIG_fail
;
13386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13387 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13388 wxPyEndAllowThreads(__tstate
);
13389 if (PyErr_Occurred()) SWIG_fail
;
13391 resultobj
= SWIG_Py_Void();
13406 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13408 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13409 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13410 return SWIG_Py_Void();
13413 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13414 return SWIG_Python_InitShadowInstance(args
);
13417 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13418 PyObject
*resultobj
= 0;
13423 bool arg5
= (bool) false ;
13424 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13425 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13426 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13427 wxFont
*result
= 0 ;
13438 bool temp6
= false ;
13441 PyObject
* obj0
= 0 ;
13442 PyObject
* obj1
= 0 ;
13443 PyObject
* obj2
= 0 ;
13444 PyObject
* obj3
= 0 ;
13445 PyObject
* obj4
= 0 ;
13446 PyObject
* obj5
= 0 ;
13447 PyObject
* obj6
= 0 ;
13448 char * kwnames
[] = {
13449 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13453 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13454 if (!SWIG_IsOK(ecode1
)) {
13455 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13457 arg1
= static_cast< int >(val1
);
13458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13459 if (!SWIG_IsOK(ecode2
)) {
13460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13462 arg2
= static_cast< int >(val2
);
13463 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13464 if (!SWIG_IsOK(ecode3
)) {
13465 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13467 arg3
= static_cast< int >(val3
);
13468 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13469 if (!SWIG_IsOK(ecode4
)) {
13470 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13472 arg4
= static_cast< int >(val4
);
13474 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13475 if (!SWIG_IsOK(ecode5
)) {
13476 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13478 arg5
= static_cast< bool >(val5
);
13482 arg6
= wxString_in_helper(obj5
);
13483 if (arg6
== NULL
) SWIG_fail
;
13488 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13489 if (!SWIG_IsOK(ecode7
)) {
13490 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13492 arg7
= static_cast< wxFontEncoding
>(val7
);
13495 if (!wxPyCheckForApp()) SWIG_fail
;
13496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13497 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13498 wxPyEndAllowThreads(__tstate
);
13499 if (PyErr_Occurred()) SWIG_fail
;
13501 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13516 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13517 PyObject
*resultobj
= 0;
13518 wxFont
*arg1
= (wxFont
*) 0 ;
13521 PyObject
*swig_obj
[1] ;
13523 if (!args
) SWIG_fail
;
13524 swig_obj
[0] = args
;
13525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13526 if (!SWIG_IsOK(res1
)) {
13527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13529 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13534 wxPyEndAllowThreads(__tstate
);
13535 if (PyErr_Occurred()) SWIG_fail
;
13537 resultobj
= SWIG_Py_Void();
13544 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13545 PyObject
*resultobj
= 0;
13546 wxNativeFontInfo
*arg1
= 0 ;
13547 wxFont
*result
= 0 ;
13550 PyObject
* obj0
= 0 ;
13551 char * kwnames
[] = {
13552 (char *) "info", NULL
13555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13556 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13557 if (!SWIG_IsOK(res1
)) {
13558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13561 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13563 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13565 if (!wxPyCheckForApp()) SWIG_fail
;
13566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13567 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13568 wxPyEndAllowThreads(__tstate
);
13569 if (PyErr_Occurred()) SWIG_fail
;
13571 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13578 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13579 PyObject
*resultobj
= 0;
13580 wxString
*arg1
= 0 ;
13581 wxFont
*result
= 0 ;
13582 bool temp1
= false ;
13583 PyObject
* obj0
= 0 ;
13584 char * kwnames
[] = {
13585 (char *) "info", NULL
13588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13590 arg1
= wxString_in_helper(obj0
);
13591 if (arg1
== NULL
) SWIG_fail
;
13595 if (!wxPyCheckForApp()) SWIG_fail
;
13596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13597 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13598 wxPyEndAllowThreads(__tstate
);
13599 if (PyErr_Occurred()) SWIG_fail
;
13601 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13616 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13617 PyObject
*resultobj
= 0;
13619 wxFontFamily arg2
;
13620 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13621 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13622 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13623 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13624 wxFont
*result
= 0 ;
13631 bool temp4
= false ;
13634 PyObject
* obj0
= 0 ;
13635 PyObject
* obj1
= 0 ;
13636 PyObject
* obj2
= 0 ;
13637 PyObject
* obj3
= 0 ;
13638 PyObject
* obj4
= 0 ;
13639 char * kwnames
[] = {
13640 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13644 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13645 if (!SWIG_IsOK(ecode1
)) {
13646 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
13648 arg1
= static_cast< int >(val1
);
13649 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13650 if (!SWIG_IsOK(ecode2
)) {
13651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
13653 arg2
= static_cast< wxFontFamily
>(val2
);
13655 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13656 if (!SWIG_IsOK(ecode3
)) {
13657 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
13659 arg3
= static_cast< int >(val3
);
13663 arg4
= wxString_in_helper(obj3
);
13664 if (arg4
== NULL
) SWIG_fail
;
13669 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13670 if (!SWIG_IsOK(ecode5
)) {
13671 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13673 arg5
= static_cast< wxFontEncoding
>(val5
);
13676 if (!wxPyCheckForApp()) SWIG_fail
;
13677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13678 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13679 wxPyEndAllowThreads(__tstate
);
13680 if (PyErr_Occurred()) SWIG_fail
;
13682 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13697 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13698 PyObject
*resultobj
= 0;
13703 bool arg5
= (bool) false ;
13704 wxString
const &arg6_defvalue
= wxEmptyString
;
13705 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13706 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13707 wxFont
*result
= 0 ;
13717 bool temp6
= false ;
13720 PyObject
* obj0
= 0 ;
13721 PyObject
* obj1
= 0 ;
13722 PyObject
* obj2
= 0 ;
13723 PyObject
* obj3
= 0 ;
13724 PyObject
* obj4
= 0 ;
13725 PyObject
* obj5
= 0 ;
13726 PyObject
* obj6
= 0 ;
13727 char * kwnames
[] = {
13728 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
13731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13734 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13736 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13737 if (!SWIG_IsOK(ecode2
)) {
13738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
13740 arg2
= static_cast< int >(val2
);
13741 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13742 if (!SWIG_IsOK(ecode3
)) {
13743 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13745 arg3
= static_cast< int >(val3
);
13746 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13747 if (!SWIG_IsOK(ecode4
)) {
13748 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
13750 arg4
= static_cast< int >(val4
);
13752 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13753 if (!SWIG_IsOK(ecode5
)) {
13754 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
13756 arg5
= static_cast< bool >(val5
);
13760 arg6
= wxString_in_helper(obj5
);
13761 if (arg6
== NULL
) SWIG_fail
;
13766 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13767 if (!SWIG_IsOK(ecode7
)) {
13768 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13770 arg7
= static_cast< wxFontEncoding
>(val7
);
13773 if (!wxPyCheckForApp()) SWIG_fail
;
13774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13775 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13776 wxPyEndAllowThreads(__tstate
);
13777 if (PyErr_Occurred()) SWIG_fail
;
13779 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13794 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13795 PyObject
*resultobj
= 0;
13797 wxFontFamily arg2
;
13798 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13799 wxString
const &arg4_defvalue
= wxEmptyString
;
13800 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13801 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13802 wxFont
*result
= 0 ;
13808 bool temp4
= false ;
13811 PyObject
* obj0
= 0 ;
13812 PyObject
* obj1
= 0 ;
13813 PyObject
* obj2
= 0 ;
13814 PyObject
* obj3
= 0 ;
13815 PyObject
* obj4
= 0 ;
13816 char * kwnames
[] = {
13817 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13823 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13825 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13826 if (!SWIG_IsOK(ecode2
)) {
13827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
13829 arg2
= static_cast< wxFontFamily
>(val2
);
13831 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13832 if (!SWIG_IsOK(ecode3
)) {
13833 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13835 arg3
= static_cast< int >(val3
);
13839 arg4
= wxString_in_helper(obj3
);
13840 if (arg4
== NULL
) SWIG_fail
;
13845 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13846 if (!SWIG_IsOK(ecode5
)) {
13847 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13849 arg5
= static_cast< wxFontEncoding
>(val5
);
13852 if (!wxPyCheckForApp()) SWIG_fail
;
13853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13854 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13855 wxPyEndAllowThreads(__tstate
);
13856 if (PyErr_Occurred()) SWIG_fail
;
13858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13873 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13874 PyObject
*resultobj
= 0;
13875 wxFont
*arg1
= (wxFont
*) 0 ;
13879 PyObject
*swig_obj
[1] ;
13881 if (!args
) SWIG_fail
;
13882 swig_obj
[0] = args
;
13883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13884 if (!SWIG_IsOK(res1
)) {
13885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
13887 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13890 result
= (bool)((wxFont
const *)arg1
)->IsOk();
13891 wxPyEndAllowThreads(__tstate
);
13892 if (PyErr_Occurred()) SWIG_fail
;
13895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13903 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13904 PyObject
*resultobj
= 0;
13905 wxFont
*arg1
= (wxFont
*) 0 ;
13906 wxFont
*arg2
= (wxFont
*) 0 ;
13912 PyObject
* obj0
= 0 ;
13913 PyObject
* obj1
= 0 ;
13914 char * kwnames
[] = {
13915 (char *) "self",(char *) "other", NULL
13918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13920 if (!SWIG_IsOK(res1
)) {
13921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
13923 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13924 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
13925 if (!SWIG_IsOK(res2
)) {
13926 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
13928 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13931 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
13932 wxPyEndAllowThreads(__tstate
);
13933 if (PyErr_Occurred()) SWIG_fail
;
13936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13944 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13945 PyObject
*resultobj
= 0;
13946 wxFont
*arg1
= (wxFont
*) 0 ;
13947 wxFont
*arg2
= (wxFont
*) 0 ;
13953 PyObject
* obj0
= 0 ;
13954 PyObject
* obj1
= 0 ;
13955 char * kwnames
[] = {
13956 (char *) "self",(char *) "other", NULL
13959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13961 if (!SWIG_IsOK(res1
)) {
13962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
13964 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13965 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
13966 if (!SWIG_IsOK(res2
)) {
13967 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
13969 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13972 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
13973 wxPyEndAllowThreads(__tstate
);
13974 if (PyErr_Occurred()) SWIG_fail
;
13977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13985 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13986 PyObject
*resultobj
= 0;
13987 wxFont
*arg1
= (wxFont
*) 0 ;
13991 PyObject
*swig_obj
[1] ;
13993 if (!args
) SWIG_fail
;
13994 swig_obj
[0] = args
;
13995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13996 if (!SWIG_IsOK(res1
)) {
13997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
13999 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14002 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14003 wxPyEndAllowThreads(__tstate
);
14004 if (PyErr_Occurred()) SWIG_fail
;
14006 resultobj
= SWIG_From_int(static_cast< int >(result
));
14013 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14014 PyObject
*resultobj
= 0;
14015 wxFont
*arg1
= (wxFont
*) 0 ;
14019 PyObject
*swig_obj
[1] ;
14021 if (!args
) SWIG_fail
;
14022 swig_obj
[0] = args
;
14023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14024 if (!SWIG_IsOK(res1
)) {
14025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14027 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14030 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14031 wxPyEndAllowThreads(__tstate
);
14032 if (PyErr_Occurred()) SWIG_fail
;
14034 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14041 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14042 PyObject
*resultobj
= 0;
14043 wxFont
*arg1
= (wxFont
*) 0 ;
14047 PyObject
*swig_obj
[1] ;
14049 if (!args
) SWIG_fail
;
14050 swig_obj
[0] = args
;
14051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14052 if (!SWIG_IsOK(res1
)) {
14053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14055 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14058 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14059 wxPyEndAllowThreads(__tstate
);
14060 if (PyErr_Occurred()) SWIG_fail
;
14063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14071 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14072 PyObject
*resultobj
= 0;
14073 wxFont
*arg1
= (wxFont
*) 0 ;
14077 PyObject
*swig_obj
[1] ;
14079 if (!args
) SWIG_fail
;
14080 swig_obj
[0] = args
;
14081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14082 if (!SWIG_IsOK(res1
)) {
14083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14085 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14088 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14089 wxPyEndAllowThreads(__tstate
);
14090 if (PyErr_Occurred()) SWIG_fail
;
14092 resultobj
= SWIG_From_int(static_cast< int >(result
));
14099 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14100 PyObject
*resultobj
= 0;
14101 wxFont
*arg1
= (wxFont
*) 0 ;
14105 PyObject
*swig_obj
[1] ;
14107 if (!args
) SWIG_fail
;
14108 swig_obj
[0] = args
;
14109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14110 if (!SWIG_IsOK(res1
)) {
14111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14113 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14116 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14117 wxPyEndAllowThreads(__tstate
);
14118 if (PyErr_Occurred()) SWIG_fail
;
14120 resultobj
= SWIG_From_int(static_cast< int >(result
));
14127 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14128 PyObject
*resultobj
= 0;
14129 wxFont
*arg1
= (wxFont
*) 0 ;
14133 PyObject
*swig_obj
[1] ;
14135 if (!args
) SWIG_fail
;
14136 swig_obj
[0] = args
;
14137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14138 if (!SWIG_IsOK(res1
)) {
14139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14141 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14144 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14145 wxPyEndAllowThreads(__tstate
);
14146 if (PyErr_Occurred()) SWIG_fail
;
14148 resultobj
= SWIG_From_int(static_cast< int >(result
));
14155 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14156 PyObject
*resultobj
= 0;
14157 wxFont
*arg1
= (wxFont
*) 0 ;
14161 PyObject
*swig_obj
[1] ;
14163 if (!args
) SWIG_fail
;
14164 swig_obj
[0] = args
;
14165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14166 if (!SWIG_IsOK(res1
)) {
14167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14169 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14172 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14173 wxPyEndAllowThreads(__tstate
);
14174 if (PyErr_Occurred()) SWIG_fail
;
14177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14185 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14186 PyObject
*resultobj
= 0;
14187 wxFont
*arg1
= (wxFont
*) 0 ;
14191 PyObject
*swig_obj
[1] ;
14193 if (!args
) SWIG_fail
;
14194 swig_obj
[0] = args
;
14195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14196 if (!SWIG_IsOK(res1
)) {
14197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14199 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14202 result
= ((wxFont
const *)arg1
)->GetFaceName();
14203 wxPyEndAllowThreads(__tstate
);
14204 if (PyErr_Occurred()) SWIG_fail
;
14208 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14210 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14219 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14220 PyObject
*resultobj
= 0;
14221 wxFont
*arg1
= (wxFont
*) 0 ;
14222 wxFontEncoding result
;
14225 PyObject
*swig_obj
[1] ;
14227 if (!args
) SWIG_fail
;
14228 swig_obj
[0] = args
;
14229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14230 if (!SWIG_IsOK(res1
)) {
14231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14233 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14236 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14237 wxPyEndAllowThreads(__tstate
);
14238 if (PyErr_Occurred()) SWIG_fail
;
14240 resultobj
= SWIG_From_int(static_cast< int >(result
));
14247 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14248 PyObject
*resultobj
= 0;
14249 wxFont
*arg1
= (wxFont
*) 0 ;
14250 wxNativeFontInfo
*result
= 0 ;
14253 PyObject
*swig_obj
[1] ;
14255 if (!args
) SWIG_fail
;
14256 swig_obj
[0] = args
;
14257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14258 if (!SWIG_IsOK(res1
)) {
14259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14261 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14264 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14265 wxPyEndAllowThreads(__tstate
);
14266 if (PyErr_Occurred()) SWIG_fail
;
14268 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14275 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14276 PyObject
*resultobj
= 0;
14277 wxFont
*arg1
= (wxFont
*) 0 ;
14281 PyObject
*swig_obj
[1] ;
14283 if (!args
) SWIG_fail
;
14284 swig_obj
[0] = args
;
14285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14286 if (!SWIG_IsOK(res1
)) {
14287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14289 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14292 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14293 wxPyEndAllowThreads(__tstate
);
14294 if (PyErr_Occurred()) SWIG_fail
;
14297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14305 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14306 PyObject
*resultobj
= 0;
14307 wxFont
*arg1
= (wxFont
*) 0 ;
14311 PyObject
*swig_obj
[1] ;
14313 if (!args
) SWIG_fail
;
14314 swig_obj
[0] = args
;
14315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14316 if (!SWIG_IsOK(res1
)) {
14317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14319 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14322 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14323 wxPyEndAllowThreads(__tstate
);
14324 if (PyErr_Occurred()) SWIG_fail
;
14328 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14330 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14339 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14340 PyObject
*resultobj
= 0;
14341 wxFont
*arg1
= (wxFont
*) 0 ;
14345 PyObject
*swig_obj
[1] ;
14347 if (!args
) SWIG_fail
;
14348 swig_obj
[0] = args
;
14349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14350 if (!SWIG_IsOK(res1
)) {
14351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14353 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14356 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14357 wxPyEndAllowThreads(__tstate
);
14358 if (PyErr_Occurred()) SWIG_fail
;
14362 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14364 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14373 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14374 PyObject
*resultobj
= 0;
14375 wxFont
*arg1
= (wxFont
*) 0 ;
14381 PyObject
* obj0
= 0 ;
14382 PyObject
* obj1
= 0 ;
14383 char * kwnames
[] = {
14384 (char *) "self",(char *) "pointSize", NULL
14387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14389 if (!SWIG_IsOK(res1
)) {
14390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14392 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14393 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14394 if (!SWIG_IsOK(ecode2
)) {
14395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14397 arg2
= static_cast< int >(val2
);
14399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14400 (arg1
)->SetPointSize(arg2
);
14401 wxPyEndAllowThreads(__tstate
);
14402 if (PyErr_Occurred()) SWIG_fail
;
14404 resultobj
= SWIG_Py_Void();
14411 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14412 PyObject
*resultobj
= 0;
14413 wxFont
*arg1
= (wxFont
*) 0 ;
14418 PyObject
* obj0
= 0 ;
14419 PyObject
* obj1
= 0 ;
14420 char * kwnames
[] = {
14421 (char *) "self",(char *) "pixelSize", NULL
14424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14426 if (!SWIG_IsOK(res1
)) {
14427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14429 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14432 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14436 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14437 wxPyEndAllowThreads(__tstate
);
14438 if (PyErr_Occurred()) SWIG_fail
;
14440 resultobj
= SWIG_Py_Void();
14447 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14448 PyObject
*resultobj
= 0;
14449 wxFont
*arg1
= (wxFont
*) 0 ;
14455 PyObject
* obj0
= 0 ;
14456 PyObject
* obj1
= 0 ;
14457 char * kwnames
[] = {
14458 (char *) "self",(char *) "family", NULL
14461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14463 if (!SWIG_IsOK(res1
)) {
14464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14466 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14467 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14468 if (!SWIG_IsOK(ecode2
)) {
14469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14471 arg2
= static_cast< int >(val2
);
14473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14474 (arg1
)->SetFamily(arg2
);
14475 wxPyEndAllowThreads(__tstate
);
14476 if (PyErr_Occurred()) SWIG_fail
;
14478 resultobj
= SWIG_Py_Void();
14485 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14486 PyObject
*resultobj
= 0;
14487 wxFont
*arg1
= (wxFont
*) 0 ;
14493 PyObject
* obj0
= 0 ;
14494 PyObject
* obj1
= 0 ;
14495 char * kwnames
[] = {
14496 (char *) "self",(char *) "style", NULL
14499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14501 if (!SWIG_IsOK(res1
)) {
14502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14504 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14506 if (!SWIG_IsOK(ecode2
)) {
14507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14509 arg2
= static_cast< int >(val2
);
14511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14512 (arg1
)->SetStyle(arg2
);
14513 wxPyEndAllowThreads(__tstate
);
14514 if (PyErr_Occurred()) SWIG_fail
;
14516 resultobj
= SWIG_Py_Void();
14523 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14524 PyObject
*resultobj
= 0;
14525 wxFont
*arg1
= (wxFont
*) 0 ;
14531 PyObject
* obj0
= 0 ;
14532 PyObject
* obj1
= 0 ;
14533 char * kwnames
[] = {
14534 (char *) "self",(char *) "weight", NULL
14537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14539 if (!SWIG_IsOK(res1
)) {
14540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14542 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14543 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14544 if (!SWIG_IsOK(ecode2
)) {
14545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14547 arg2
= static_cast< int >(val2
);
14549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14550 (arg1
)->SetWeight(arg2
);
14551 wxPyEndAllowThreads(__tstate
);
14552 if (PyErr_Occurred()) SWIG_fail
;
14554 resultobj
= SWIG_Py_Void();
14561 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14562 PyObject
*resultobj
= 0;
14563 wxFont
*arg1
= (wxFont
*) 0 ;
14564 wxString
*arg2
= 0 ;
14568 bool temp2
= false ;
14569 PyObject
* obj0
= 0 ;
14570 PyObject
* obj1
= 0 ;
14571 char * kwnames
[] = {
14572 (char *) "self",(char *) "faceName", NULL
14575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14577 if (!SWIG_IsOK(res1
)) {
14578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14580 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14582 arg2
= wxString_in_helper(obj1
);
14583 if (arg2
== NULL
) SWIG_fail
;
14587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14588 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14589 wxPyEndAllowThreads(__tstate
);
14590 if (PyErr_Occurred()) SWIG_fail
;
14593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14609 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14610 PyObject
*resultobj
= 0;
14611 wxFont
*arg1
= (wxFont
*) 0 ;
14617 PyObject
* obj0
= 0 ;
14618 PyObject
* obj1
= 0 ;
14619 char * kwnames
[] = {
14620 (char *) "self",(char *) "underlined", NULL
14623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14625 if (!SWIG_IsOK(res1
)) {
14626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14628 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14629 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14630 if (!SWIG_IsOK(ecode2
)) {
14631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14633 arg2
= static_cast< bool >(val2
);
14635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14636 (arg1
)->SetUnderlined(arg2
);
14637 wxPyEndAllowThreads(__tstate
);
14638 if (PyErr_Occurred()) SWIG_fail
;
14640 resultobj
= SWIG_Py_Void();
14647 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14648 PyObject
*resultobj
= 0;
14649 wxFont
*arg1
= (wxFont
*) 0 ;
14650 wxFontEncoding arg2
;
14655 PyObject
* obj0
= 0 ;
14656 PyObject
* obj1
= 0 ;
14657 char * kwnames
[] = {
14658 (char *) "self",(char *) "encoding", NULL
14661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14663 if (!SWIG_IsOK(res1
)) {
14664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
14666 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14667 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14668 if (!SWIG_IsOK(ecode2
)) {
14669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14671 arg2
= static_cast< wxFontEncoding
>(val2
);
14673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14674 (arg1
)->SetEncoding(arg2
);
14675 wxPyEndAllowThreads(__tstate
);
14676 if (PyErr_Occurred()) SWIG_fail
;
14678 resultobj
= SWIG_Py_Void();
14685 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14686 PyObject
*resultobj
= 0;
14687 wxFont
*arg1
= (wxFont
*) 0 ;
14688 wxNativeFontInfo
*arg2
= 0 ;
14693 PyObject
* obj0
= 0 ;
14694 PyObject
* obj1
= 0 ;
14695 char * kwnames
[] = {
14696 (char *) "self",(char *) "info", NULL
14699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14701 if (!SWIG_IsOK(res1
)) {
14702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
14704 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14705 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14706 if (!SWIG_IsOK(res2
)) {
14707 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14710 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14712 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
14714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14715 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
14716 wxPyEndAllowThreads(__tstate
);
14717 if (PyErr_Occurred()) SWIG_fail
;
14719 resultobj
= SWIG_Py_Void();
14726 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14727 PyObject
*resultobj
= 0;
14728 wxFont
*arg1
= (wxFont
*) 0 ;
14729 wxString
*arg2
= 0 ;
14733 bool temp2
= false ;
14734 PyObject
* obj0
= 0 ;
14735 PyObject
* obj1
= 0 ;
14736 char * kwnames
[] = {
14737 (char *) "self",(char *) "info", NULL
14740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14742 if (!SWIG_IsOK(res1
)) {
14743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
14745 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14747 arg2
= wxString_in_helper(obj1
);
14748 if (arg2
== NULL
) SWIG_fail
;
14752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14753 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
14754 wxPyEndAllowThreads(__tstate
);
14755 if (PyErr_Occurred()) SWIG_fail
;
14758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14774 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14775 PyObject
*resultobj
= 0;
14776 wxFont
*arg1
= (wxFont
*) 0 ;
14777 wxString
*arg2
= 0 ;
14781 bool temp2
= false ;
14782 PyObject
* obj0
= 0 ;
14783 PyObject
* obj1
= 0 ;
14784 char * kwnames
[] = {
14785 (char *) "self",(char *) "info", NULL
14788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14790 if (!SWIG_IsOK(res1
)) {
14791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
14793 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14795 arg2
= wxString_in_helper(obj1
);
14796 if (arg2
== NULL
) SWIG_fail
;
14800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14801 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
14802 wxPyEndAllowThreads(__tstate
);
14803 if (PyErr_Occurred()) SWIG_fail
;
14806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14822 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14823 PyObject
*resultobj
= 0;
14824 wxFont
*arg1
= (wxFont
*) 0 ;
14828 PyObject
*swig_obj
[1] ;
14830 if (!args
) SWIG_fail
;
14831 swig_obj
[0] = args
;
14832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14833 if (!SWIG_IsOK(res1
)) {
14834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
14836 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14839 result
= ((wxFont
const *)arg1
)->GetFamilyString();
14840 wxPyEndAllowThreads(__tstate
);
14841 if (PyErr_Occurred()) SWIG_fail
;
14845 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14847 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14856 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14857 PyObject
*resultobj
= 0;
14858 wxFont
*arg1
= (wxFont
*) 0 ;
14862 PyObject
*swig_obj
[1] ;
14864 if (!args
) SWIG_fail
;
14865 swig_obj
[0] = args
;
14866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14867 if (!SWIG_IsOK(res1
)) {
14868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
14870 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14873 result
= ((wxFont
const *)arg1
)->GetStyleString();
14874 wxPyEndAllowThreads(__tstate
);
14875 if (PyErr_Occurred()) SWIG_fail
;
14879 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14881 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14890 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14891 PyObject
*resultobj
= 0;
14892 wxFont
*arg1
= (wxFont
*) 0 ;
14896 PyObject
*swig_obj
[1] ;
14898 if (!args
) SWIG_fail
;
14899 swig_obj
[0] = args
;
14900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14901 if (!SWIG_IsOK(res1
)) {
14902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
14904 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14907 result
= ((wxFont
const *)arg1
)->GetWeightString();
14908 wxPyEndAllowThreads(__tstate
);
14909 if (PyErr_Occurred()) SWIG_fail
;
14913 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14915 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14924 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14925 PyObject
*resultobj
= 0;
14926 wxFont
*arg1
= (wxFont
*) 0 ;
14927 bool arg2
= (bool) true ;
14932 PyObject
* obj0
= 0 ;
14933 PyObject
* obj1
= 0 ;
14934 char * kwnames
[] = {
14935 (char *) "self",(char *) "no", NULL
14938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14940 if (!SWIG_IsOK(res1
)) {
14941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
14943 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14945 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14946 if (!SWIG_IsOK(ecode2
)) {
14947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
14949 arg2
= static_cast< bool >(val2
);
14952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14953 (arg1
)->SetNoAntiAliasing(arg2
);
14954 wxPyEndAllowThreads(__tstate
);
14955 if (PyErr_Occurred()) SWIG_fail
;
14957 resultobj
= SWIG_Py_Void();
14964 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14965 PyObject
*resultobj
= 0;
14966 wxFont
*arg1
= (wxFont
*) 0 ;
14970 PyObject
*swig_obj
[1] ;
14972 if (!args
) SWIG_fail
;
14973 swig_obj
[0] = args
;
14974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14975 if (!SWIG_IsOK(res1
)) {
14976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
14978 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14981 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
14982 wxPyEndAllowThreads(__tstate
);
14983 if (PyErr_Occurred()) SWIG_fail
;
14986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14994 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14995 PyObject
*resultobj
= 0;
14996 wxFontEncoding result
;
14998 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15000 if (!wxPyCheckForApp()) SWIG_fail
;
15001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15002 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15003 wxPyEndAllowThreads(__tstate
);
15004 if (PyErr_Occurred()) SWIG_fail
;
15006 resultobj
= SWIG_From_int(static_cast< int >(result
));
15013 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15014 PyObject
*resultobj
= 0;
15015 wxFontEncoding arg1
;
15018 PyObject
* obj0
= 0 ;
15019 char * kwnames
[] = {
15020 (char *) "encoding", NULL
15023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15024 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15025 if (!SWIG_IsOK(ecode1
)) {
15026 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15028 arg1
= static_cast< wxFontEncoding
>(val1
);
15030 if (!wxPyCheckForApp()) SWIG_fail
;
15031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15032 wxFont::SetDefaultEncoding(arg1
);
15033 wxPyEndAllowThreads(__tstate
);
15034 if (PyErr_Occurred()) SWIG_fail
;
15036 resultobj
= SWIG_Py_Void();
15043 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15045 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15046 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15047 return SWIG_Py_Void();
15050 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15051 return SWIG_Python_InitShadowInstance(args
);
15054 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15055 PyObject
*resultobj
= 0;
15056 wxPyFontEnumerator
*result
= 0 ;
15058 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15060 if (!wxPyCheckForApp()) SWIG_fail
;
15061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15062 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15063 wxPyEndAllowThreads(__tstate
);
15064 if (PyErr_Occurred()) SWIG_fail
;
15066 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15073 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15074 PyObject
*resultobj
= 0;
15075 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15078 PyObject
*swig_obj
[1] ;
15080 if (!args
) SWIG_fail
;
15081 swig_obj
[0] = args
;
15082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15083 if (!SWIG_IsOK(res1
)) {
15084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15086 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15091 wxPyEndAllowThreads(__tstate
);
15092 if (PyErr_Occurred()) SWIG_fail
;
15094 resultobj
= SWIG_Py_Void();
15101 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15102 PyObject
*resultobj
= 0;
15103 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15104 PyObject
*arg2
= (PyObject
*) 0 ;
15105 PyObject
*arg3
= (PyObject
*) 0 ;
15111 PyObject
* obj0
= 0 ;
15112 PyObject
* obj1
= 0 ;
15113 PyObject
* obj2
= 0 ;
15114 PyObject
* obj3
= 0 ;
15115 char * kwnames
[] = {
15116 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15121 if (!SWIG_IsOK(res1
)) {
15122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15124 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15127 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15128 if (!SWIG_IsOK(ecode4
)) {
15129 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15131 arg4
= static_cast< bool >(val4
);
15133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15134 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15135 wxPyEndAllowThreads(__tstate
);
15136 if (PyErr_Occurred()) SWIG_fail
;
15138 resultobj
= SWIG_Py_Void();
15145 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15146 PyObject
*resultobj
= 0;
15147 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15148 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15149 bool arg3
= (bool) false ;
15157 PyObject
* obj0
= 0 ;
15158 PyObject
* obj1
= 0 ;
15159 PyObject
* obj2
= 0 ;
15160 char * kwnames
[] = {
15161 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15166 if (!SWIG_IsOK(res1
)) {
15167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15169 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15171 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15172 if (!SWIG_IsOK(ecode2
)) {
15173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15175 arg2
= static_cast< wxFontEncoding
>(val2
);
15178 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15179 if (!SWIG_IsOK(ecode3
)) {
15180 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15182 arg3
= static_cast< bool >(val3
);
15185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15186 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15187 wxPyEndAllowThreads(__tstate
);
15188 if (PyErr_Occurred()) SWIG_fail
;
15191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15199 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15200 PyObject
*resultobj
= 0;
15201 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15202 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15203 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15207 bool temp2
= false ;
15208 PyObject
* obj0
= 0 ;
15209 PyObject
* obj1
= 0 ;
15210 char * kwnames
[] = {
15211 (char *) "self",(char *) "facename", NULL
15214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15216 if (!SWIG_IsOK(res1
)) {
15217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15219 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15222 arg2
= wxString_in_helper(obj1
);
15223 if (arg2
== NULL
) SWIG_fail
;
15228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15229 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15230 wxPyEndAllowThreads(__tstate
);
15231 if (PyErr_Occurred()) SWIG_fail
;
15234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15250 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15251 PyObject
*resultobj
= 0;
15252 PyObject
*result
= 0 ;
15254 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15257 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15258 wxPyEndAllowThreads(__tstate
);
15259 if (PyErr_Occurred()) SWIG_fail
;
15261 resultobj
= result
;
15268 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15269 PyObject
*resultobj
= 0;
15270 PyObject
*result
= 0 ;
15272 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15275 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15276 wxPyEndAllowThreads(__tstate
);
15277 if (PyErr_Occurred()) SWIG_fail
;
15279 resultobj
= result
;
15286 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15287 PyObject
*resultobj
= 0;
15288 wxString
*arg1
= 0 ;
15290 bool temp1
= false ;
15291 PyObject
* obj0
= 0 ;
15292 char * kwnames
[] = {
15293 (char *) "str", NULL
15296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15298 arg1
= wxString_in_helper(obj0
);
15299 if (arg1
== NULL
) SWIG_fail
;
15303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15304 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15305 wxPyEndAllowThreads(__tstate
);
15306 if (PyErr_Occurred()) SWIG_fail
;
15309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15325 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15327 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15328 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15329 return SWIG_Py_Void();
15332 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15333 return SWIG_Python_InitShadowInstance(args
);
15336 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15337 PyObject
*resultobj
= 0;
15338 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15344 PyObject
*swig_obj
[2] ;
15346 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15348 if (!SWIG_IsOK(res1
)) {
15349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15351 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15352 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15353 if (!SWIG_IsOK(ecode2
)) {
15354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15356 arg2
= static_cast< int >(val2
);
15357 if (arg1
) (arg1
)->Language
= arg2
;
15359 resultobj
= SWIG_Py_Void();
15366 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15367 PyObject
*resultobj
= 0;
15368 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15372 PyObject
*swig_obj
[1] ;
15374 if (!args
) SWIG_fail
;
15375 swig_obj
[0] = args
;
15376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15377 if (!SWIG_IsOK(res1
)) {
15378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15380 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15381 result
= (int) ((arg1
)->Language
);
15382 resultobj
= SWIG_From_int(static_cast< int >(result
));
15389 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15390 PyObject
*resultobj
= 0;
15391 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15392 wxString
*arg2
= (wxString
*) 0 ;
15395 bool temp2
= false ;
15396 PyObject
*swig_obj
[2] ;
15398 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15400 if (!SWIG_IsOK(res1
)) {
15401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15403 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15405 arg2
= wxString_in_helper(swig_obj
[1]);
15406 if (arg2
== NULL
) SWIG_fail
;
15409 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15411 resultobj
= SWIG_Py_Void();
15426 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15427 PyObject
*resultobj
= 0;
15428 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15429 wxString
*result
= 0 ;
15432 PyObject
*swig_obj
[1] ;
15434 if (!args
) SWIG_fail
;
15435 swig_obj
[0] = args
;
15436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15437 if (!SWIG_IsOK(res1
)) {
15438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15440 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15441 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15444 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15446 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15455 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15456 PyObject
*resultobj
= 0;
15457 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15458 wxString
*arg2
= (wxString
*) 0 ;
15461 bool temp2
= false ;
15462 PyObject
*swig_obj
[2] ;
15464 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15466 if (!SWIG_IsOK(res1
)) {
15467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15469 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15471 arg2
= wxString_in_helper(swig_obj
[1]);
15472 if (arg2
== NULL
) SWIG_fail
;
15475 if (arg1
) (arg1
)->Description
= *arg2
;
15477 resultobj
= SWIG_Py_Void();
15492 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15493 PyObject
*resultobj
= 0;
15494 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15495 wxString
*result
= 0 ;
15498 PyObject
*swig_obj
[1] ;
15500 if (!args
) SWIG_fail
;
15501 swig_obj
[0] = args
;
15502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15503 if (!SWIG_IsOK(res1
)) {
15504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15506 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15507 result
= (wxString
*)& ((arg1
)->Description
);
15510 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15512 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15521 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15523 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15524 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15525 return SWIG_Py_Void();
15528 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15529 PyObject
*resultobj
= 0;
15530 int arg1
= (int) -1 ;
15531 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15532 wxLocale
*result
= 0 ;
15537 PyObject
* obj0
= 0 ;
15538 PyObject
* obj1
= 0 ;
15539 char * kwnames
[] = {
15540 (char *) "language",(char *) "flags", NULL
15543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15545 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15546 if (!SWIG_IsOK(ecode1
)) {
15547 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15549 arg1
= static_cast< int >(val1
);
15552 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15553 if (!SWIG_IsOK(ecode2
)) {
15554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15556 arg2
= static_cast< int >(val2
);
15559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15560 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15561 wxPyEndAllowThreads(__tstate
);
15562 if (PyErr_Occurred()) SWIG_fail
;
15564 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15571 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15572 PyObject
*resultobj
= 0;
15573 wxLocale
*arg1
= (wxLocale
*) 0 ;
15576 PyObject
*swig_obj
[1] ;
15578 if (!args
) SWIG_fail
;
15579 swig_obj
[0] = args
;
15580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15581 if (!SWIG_IsOK(res1
)) {
15582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15584 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15589 wxPyEndAllowThreads(__tstate
);
15590 if (PyErr_Occurred()) SWIG_fail
;
15592 resultobj
= SWIG_Py_Void();
15599 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15600 PyObject
*resultobj
= 0;
15601 wxLocale
*arg1
= (wxLocale
*) 0 ;
15602 wxString
*arg2
= 0 ;
15603 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15604 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15605 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15606 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15607 bool arg5
= (bool) true ;
15608 bool arg6
= (bool) false ;
15612 bool temp2
= false ;
15613 bool temp3
= false ;
15614 bool temp4
= false ;
15619 PyObject
* obj0
= 0 ;
15620 PyObject
* obj1
= 0 ;
15621 PyObject
* obj2
= 0 ;
15622 PyObject
* obj3
= 0 ;
15623 PyObject
* obj4
= 0 ;
15624 PyObject
* obj5
= 0 ;
15625 char * kwnames
[] = {
15626 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15631 if (!SWIG_IsOK(res1
)) {
15632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15634 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15636 arg2
= wxString_in_helper(obj1
);
15637 if (arg2
== NULL
) SWIG_fail
;
15642 arg3
= wxString_in_helper(obj2
);
15643 if (arg3
== NULL
) SWIG_fail
;
15649 arg4
= wxString_in_helper(obj3
);
15650 if (arg4
== NULL
) SWIG_fail
;
15655 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
15656 if (!SWIG_IsOK(ecode5
)) {
15657 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
15659 arg5
= static_cast< bool >(val5
);
15662 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
15663 if (!SWIG_IsOK(ecode6
)) {
15664 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
15666 arg6
= static_cast< bool >(val6
);
15669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15670 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
15671 wxPyEndAllowThreads(__tstate
);
15672 if (PyErr_Occurred()) SWIG_fail
;
15675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15707 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15708 PyObject
*resultobj
= 0;
15709 wxLocale
*arg1
= (wxLocale
*) 0 ;
15710 int arg2
= (int) wxLANGUAGE_DEFAULT
;
15711 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15719 PyObject
* obj0
= 0 ;
15720 PyObject
* obj1
= 0 ;
15721 PyObject
* obj2
= 0 ;
15722 char * kwnames
[] = {
15723 (char *) "self",(char *) "language",(char *) "flags", NULL
15726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15728 if (!SWIG_IsOK(res1
)) {
15729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
15731 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15733 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15734 if (!SWIG_IsOK(ecode2
)) {
15735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
15737 arg2
= static_cast< int >(val2
);
15740 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15741 if (!SWIG_IsOK(ecode3
)) {
15742 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
15744 arg3
= static_cast< int >(val3
);
15747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15748 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
15749 wxPyEndAllowThreads(__tstate
);
15750 if (PyErr_Occurred()) SWIG_fail
;
15753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15761 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15762 PyObject
*resultobj
= 0;
15765 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
15767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15768 result
= (int)wxLocale::GetSystemLanguage();
15769 wxPyEndAllowThreads(__tstate
);
15770 if (PyErr_Occurred()) SWIG_fail
;
15772 resultobj
= SWIG_From_int(static_cast< int >(result
));
15779 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15780 PyObject
*resultobj
= 0;
15781 wxFontEncoding result
;
15783 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
15785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15786 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
15787 wxPyEndAllowThreads(__tstate
);
15788 if (PyErr_Occurred()) SWIG_fail
;
15790 resultobj
= SWIG_From_int(static_cast< int >(result
));
15797 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15798 PyObject
*resultobj
= 0;
15801 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
15803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15804 result
= wxLocale::GetSystemEncodingName();
15805 wxPyEndAllowThreads(__tstate
);
15806 if (PyErr_Occurred()) SWIG_fail
;
15810 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15812 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15821 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15822 PyObject
*resultobj
= 0;
15823 wxLocale
*arg1
= (wxLocale
*) 0 ;
15827 PyObject
*swig_obj
[1] ;
15829 if (!args
) SWIG_fail
;
15830 swig_obj
[0] = args
;
15831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15832 if (!SWIG_IsOK(res1
)) {
15833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
15835 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15838 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
15839 wxPyEndAllowThreads(__tstate
);
15840 if (PyErr_Occurred()) SWIG_fail
;
15843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15851 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15852 PyObject
*resultobj
= 0;
15853 wxLocale
*arg1
= (wxLocale
*) 0 ;
15857 PyObject
*swig_obj
[1] ;
15859 if (!args
) SWIG_fail
;
15860 swig_obj
[0] = args
;
15861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15862 if (!SWIG_IsOK(res1
)) {
15863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
15865 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15868 result
= ((wxLocale
const *)arg1
)->GetLocale();
15869 wxPyEndAllowThreads(__tstate
);
15870 if (PyErr_Occurred()) SWIG_fail
;
15874 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15876 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15885 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15886 PyObject
*resultobj
= 0;
15887 wxLocale
*arg1
= (wxLocale
*) 0 ;
15891 PyObject
*swig_obj
[1] ;
15893 if (!args
) SWIG_fail
;
15894 swig_obj
[0] = args
;
15895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15896 if (!SWIG_IsOK(res1
)) {
15897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
15899 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15902 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
15903 wxPyEndAllowThreads(__tstate
);
15904 if (PyErr_Occurred()) SWIG_fail
;
15906 resultobj
= SWIG_From_int(static_cast< int >(result
));
15913 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15914 PyObject
*resultobj
= 0;
15915 wxLocale
*arg1
= (wxLocale
*) 0 ;
15919 PyObject
*swig_obj
[1] ;
15921 if (!args
) SWIG_fail
;
15922 swig_obj
[0] = args
;
15923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15924 if (!SWIG_IsOK(res1
)) {
15925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
15927 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15930 result
= ((wxLocale
const *)arg1
)->GetSysName();
15931 wxPyEndAllowThreads(__tstate
);
15932 if (PyErr_Occurred()) SWIG_fail
;
15936 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15938 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15947 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15948 PyObject
*resultobj
= 0;
15949 wxLocale
*arg1
= (wxLocale
*) 0 ;
15953 PyObject
*swig_obj
[1] ;
15955 if (!args
) SWIG_fail
;
15956 swig_obj
[0] = args
;
15957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15958 if (!SWIG_IsOK(res1
)) {
15959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
15961 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15964 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
15965 wxPyEndAllowThreads(__tstate
);
15966 if (PyErr_Occurred()) SWIG_fail
;
15970 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15972 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15981 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15982 PyObject
*resultobj
= 0;
15983 wxString
*arg1
= 0 ;
15984 bool temp1
= false ;
15985 PyObject
* obj0
= 0 ;
15986 char * kwnames
[] = {
15987 (char *) "prefix", NULL
15990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
15992 arg1
= wxString_in_helper(obj0
);
15993 if (arg1
== NULL
) SWIG_fail
;
15997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15998 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
15999 wxPyEndAllowThreads(__tstate
);
16000 if (PyErr_Occurred()) SWIG_fail
;
16002 resultobj
= SWIG_Py_Void();
16017 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16018 PyObject
*resultobj
= 0;
16019 wxLocale
*arg1
= (wxLocale
*) 0 ;
16020 wxString
*arg2
= 0 ;
16024 bool temp2
= false ;
16025 PyObject
* obj0
= 0 ;
16026 PyObject
* obj1
= 0 ;
16027 char * kwnames
[] = {
16028 (char *) "self",(char *) "szDomain", NULL
16031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16033 if (!SWIG_IsOK(res1
)) {
16034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16036 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16038 arg2
= wxString_in_helper(obj1
);
16039 if (arg2
== NULL
) SWIG_fail
;
16043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16044 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16045 wxPyEndAllowThreads(__tstate
);
16046 if (PyErr_Occurred()) SWIG_fail
;
16049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16065 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16066 PyObject
*resultobj
= 0;
16071 PyObject
* obj0
= 0 ;
16072 char * kwnames
[] = {
16073 (char *) "lang", NULL
16076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16077 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16078 if (!SWIG_IsOK(ecode1
)) {
16079 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16081 arg1
= static_cast< int >(val1
);
16083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16084 result
= (bool)wxLocale::IsAvailable(arg1
);
16085 wxPyEndAllowThreads(__tstate
);
16086 if (PyErr_Occurred()) SWIG_fail
;
16089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16097 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16098 PyObject
*resultobj
= 0;
16099 wxLocale
*arg1
= (wxLocale
*) 0 ;
16100 wxString
*arg2
= 0 ;
16104 bool temp2
= false ;
16105 PyObject
* obj0
= 0 ;
16106 PyObject
* obj1
= 0 ;
16107 char * kwnames
[] = {
16108 (char *) "self",(char *) "szDomain", NULL
16111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16113 if (!SWIG_IsOK(res1
)) {
16114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16116 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16118 arg2
= wxString_in_helper(obj1
);
16119 if (arg2
== NULL
) SWIG_fail
;
16123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16124 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16125 wxPyEndAllowThreads(__tstate
);
16126 if (PyErr_Occurred()) SWIG_fail
;
16129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16145 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16146 PyObject
*resultobj
= 0;
16148 wxLanguageInfo
*result
= 0 ;
16151 PyObject
* obj0
= 0 ;
16152 char * kwnames
[] = {
16153 (char *) "lang", NULL
16156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16157 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16158 if (!SWIG_IsOK(ecode1
)) {
16159 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16161 arg1
= static_cast< int >(val1
);
16163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16164 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16165 wxPyEndAllowThreads(__tstate
);
16166 if (PyErr_Occurred()) SWIG_fail
;
16168 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16175 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16176 PyObject
*resultobj
= 0;
16181 PyObject
* obj0
= 0 ;
16182 char * kwnames
[] = {
16183 (char *) "lang", NULL
16186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16187 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16188 if (!SWIG_IsOK(ecode1
)) {
16189 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16191 arg1
= static_cast< int >(val1
);
16193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16194 result
= wxLocale::GetLanguageName(arg1
);
16195 wxPyEndAllowThreads(__tstate
);
16196 if (PyErr_Occurred()) SWIG_fail
;
16200 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16202 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16211 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16212 PyObject
*resultobj
= 0;
16213 wxString
*arg1
= 0 ;
16214 wxLanguageInfo
*result
= 0 ;
16215 bool temp1
= false ;
16216 PyObject
* obj0
= 0 ;
16217 char * kwnames
[] = {
16218 (char *) "locale", NULL
16221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16223 arg1
= wxString_in_helper(obj0
);
16224 if (arg1
== NULL
) SWIG_fail
;
16228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16229 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16230 wxPyEndAllowThreads(__tstate
);
16231 if (PyErr_Occurred()) SWIG_fail
;
16233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16248 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16249 PyObject
*resultobj
= 0;
16250 wxLanguageInfo
*arg1
= 0 ;
16253 PyObject
* obj0
= 0 ;
16254 char * kwnames
[] = {
16255 (char *) "info", NULL
16258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16259 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16260 if (!SWIG_IsOK(res1
)) {
16261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16264 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16266 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16269 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16270 wxPyEndAllowThreads(__tstate
);
16271 if (PyErr_Occurred()) SWIG_fail
;
16273 resultobj
= SWIG_Py_Void();
16280 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16281 PyObject
*resultobj
= 0;
16282 wxLocale
*arg1
= (wxLocale
*) 0 ;
16283 wxString
*arg2
= 0 ;
16284 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16285 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16289 bool temp2
= false ;
16290 bool temp3
= false ;
16291 PyObject
* obj0
= 0 ;
16292 PyObject
* obj1
= 0 ;
16293 PyObject
* obj2
= 0 ;
16294 char * kwnames
[] = {
16295 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16300 if (!SWIG_IsOK(res1
)) {
16301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16303 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16305 arg2
= wxString_in_helper(obj1
);
16306 if (arg2
== NULL
) SWIG_fail
;
16311 arg3
= wxString_in_helper(obj2
);
16312 if (arg3
== NULL
) SWIG_fail
;
16317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16318 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16319 wxPyEndAllowThreads(__tstate
);
16320 if (PyErr_Occurred()) SWIG_fail
;
16324 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16326 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16351 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16352 PyObject
*resultobj
= 0;
16353 wxLocale
*arg1
= (wxLocale
*) 0 ;
16354 wxString
*result
= 0 ;
16357 PyObject
*swig_obj
[1] ;
16359 if (!args
) SWIG_fail
;
16360 swig_obj
[0] = args
;
16361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16362 if (!SWIG_IsOK(res1
)) {
16363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16365 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16369 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16370 result
= (wxString
*) &_result_ref
;
16372 wxPyEndAllowThreads(__tstate
);
16373 if (PyErr_Occurred()) SWIG_fail
;
16377 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16379 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16388 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16390 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16391 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16392 return SWIG_Py_Void();
16395 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16396 return SWIG_Python_InitShadowInstance(args
);
16399 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16400 PyObject
*resultobj
= 0;
16401 int arg1
= (int) -1 ;
16402 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16403 wxPyLocale
*result
= 0 ;
16408 PyObject
* obj0
= 0 ;
16409 PyObject
* obj1
= 0 ;
16410 char * kwnames
[] = {
16411 (char *) "language",(char *) "flags", NULL
16414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16416 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16417 if (!SWIG_IsOK(ecode1
)) {
16418 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16420 arg1
= static_cast< int >(val1
);
16423 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16424 if (!SWIG_IsOK(ecode2
)) {
16425 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16427 arg2
= static_cast< int >(val2
);
16430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16431 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16432 wxPyEndAllowThreads(__tstate
);
16433 if (PyErr_Occurred()) SWIG_fail
;
16435 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16442 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16443 PyObject
*resultobj
= 0;
16444 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16447 PyObject
*swig_obj
[1] ;
16449 if (!args
) SWIG_fail
;
16450 swig_obj
[0] = args
;
16451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16452 if (!SWIG_IsOK(res1
)) {
16453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16455 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16460 wxPyEndAllowThreads(__tstate
);
16461 if (PyErr_Occurred()) SWIG_fail
;
16463 resultobj
= SWIG_Py_Void();
16470 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16471 PyObject
*resultobj
= 0;
16472 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16473 PyObject
*arg2
= (PyObject
*) 0 ;
16474 PyObject
*arg3
= (PyObject
*) 0 ;
16477 PyObject
* obj0
= 0 ;
16478 PyObject
* obj1
= 0 ;
16479 PyObject
* obj2
= 0 ;
16480 char * kwnames
[] = {
16481 (char *) "self",(char *) "self",(char *) "_class", NULL
16484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16486 if (!SWIG_IsOK(res1
)) {
16487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16489 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16494 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16495 wxPyEndAllowThreads(__tstate
);
16496 if (PyErr_Occurred()) SWIG_fail
;
16498 resultobj
= SWIG_Py_Void();
16505 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16506 PyObject
*resultobj
= 0;
16507 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16508 wxChar
*arg2
= (wxChar
*) 0 ;
16509 wxChar
*arg3
= (wxChar
*) NULL
;
16510 wxChar
*result
= 0 ;
16517 PyObject
* obj0
= 0 ;
16518 PyObject
* obj1
= 0 ;
16519 PyObject
* obj2
= 0 ;
16520 char * kwnames
[] = {
16521 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16526 if (!SWIG_IsOK(res1
)) {
16527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16529 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16530 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16531 if (!SWIG_IsOK(res2
)) {
16532 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16534 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16536 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16537 if (!SWIG_IsOK(res3
)) {
16538 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16540 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16544 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16545 wxPyEndAllowThreads(__tstate
);
16546 if (PyErr_Occurred()) SWIG_fail
;
16548 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16555 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16556 PyObject
*resultobj
= 0;
16557 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16558 wxChar
*arg2
= (wxChar
*) 0 ;
16559 wxChar
*arg3
= (wxChar
*) 0 ;
16561 wxChar
*arg5
= (wxChar
*) NULL
;
16562 wxChar
*result
= 0 ;
16573 PyObject
* obj0
= 0 ;
16574 PyObject
* obj1
= 0 ;
16575 PyObject
* obj2
= 0 ;
16576 PyObject
* obj3
= 0 ;
16577 PyObject
* obj4
= 0 ;
16578 char * kwnames
[] = {
16579 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16584 if (!SWIG_IsOK(res1
)) {
16585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16587 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16588 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16589 if (!SWIG_IsOK(res2
)) {
16590 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16592 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16593 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16594 if (!SWIG_IsOK(res3
)) {
16595 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16597 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16598 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16599 if (!SWIG_IsOK(ecode4
)) {
16600 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16602 arg4
= static_cast< size_t >(val4
);
16604 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16605 if (!SWIG_IsOK(res5
)) {
16606 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16608 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16612 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16613 wxPyEndAllowThreads(__tstate
);
16614 if (PyErr_Occurred()) SWIG_fail
;
16616 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16623 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16625 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16626 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16627 return SWIG_Py_Void();
16630 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16631 return SWIG_Python_InitShadowInstance(args
);
16634 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16635 PyObject
*resultobj
= 0;
16636 wxLocale
*result
= 0 ;
16638 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16641 result
= (wxLocale
*)wxGetLocale();
16642 wxPyEndAllowThreads(__tstate
);
16643 if (PyErr_Occurred()) SWIG_fail
;
16645 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
16652 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16653 PyObject
*resultobj
= 0;
16654 wxString
*arg1
= 0 ;
16656 bool temp1
= false ;
16658 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
16660 arg1
= wxString_in_helper(swig_obj
[0]);
16661 if (arg1
== NULL
) SWIG_fail
;
16665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16666 result
= wxGetTranslation((wxString
const &)*arg1
);
16667 wxPyEndAllowThreads(__tstate
);
16668 if (PyErr_Occurred()) SWIG_fail
;
16672 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16674 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16691 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16692 PyObject
*resultobj
= 0;
16693 wxString
*arg1
= 0 ;
16694 wxString
*arg2
= 0 ;
16696 bool temp1
= false ;
16697 bool temp2
= false ;
16699 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16701 arg1
= wxString_in_helper(swig_obj
[0]);
16702 if (arg1
== NULL
) SWIG_fail
;
16706 arg2
= wxString_in_helper(swig_obj
[1]);
16707 if (arg2
== NULL
) SWIG_fail
;
16711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16712 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
16713 wxPyEndAllowThreads(__tstate
);
16714 if (PyErr_Occurred()) SWIG_fail
;
16718 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16720 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16745 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16746 PyObject
*resultobj
= 0;
16747 wxString
*arg1
= 0 ;
16748 wxString
*arg2
= 0 ;
16751 bool temp1
= false ;
16752 bool temp2
= false ;
16756 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
16758 arg1
= wxString_in_helper(swig_obj
[0]);
16759 if (arg1
== NULL
) SWIG_fail
;
16763 arg2
= wxString_in_helper(swig_obj
[1]);
16764 if (arg2
== NULL
) SWIG_fail
;
16767 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16768 if (!SWIG_IsOK(ecode3
)) {
16769 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16771 arg3
= static_cast< size_t >(val3
);
16773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16774 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
16775 wxPyEndAllowThreads(__tstate
);
16776 if (PyErr_Occurred()) SWIG_fail
;
16780 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16782 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16807 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16808 PyObject
*resultobj
= 0;
16809 wxString
*arg1
= 0 ;
16810 wxString
*arg2
= 0 ;
16812 wxString
*arg4
= 0 ;
16814 bool temp1
= false ;
16815 bool temp2
= false ;
16818 bool temp4
= false ;
16820 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
16822 arg1
= wxString_in_helper(swig_obj
[0]);
16823 if (arg1
== NULL
) SWIG_fail
;
16827 arg2
= wxString_in_helper(swig_obj
[1]);
16828 if (arg2
== NULL
) SWIG_fail
;
16831 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16832 if (!SWIG_IsOK(ecode3
)) {
16833 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16835 arg3
= static_cast< size_t >(val3
);
16837 arg4
= wxString_in_helper(swig_obj
[3]);
16838 if (arg4
== NULL
) SWIG_fail
;
16842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16843 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
16844 wxPyEndAllowThreads(__tstate
);
16845 if (PyErr_Occurred()) SWIG_fail
;
16849 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16851 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16884 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
16888 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
16891 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
16894 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
16897 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
16900 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
16904 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
16909 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16910 PyObject
*resultobj
= 0;
16911 wxEncodingConverter
*result
= 0 ;
16913 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
16915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16916 result
= (wxEncodingConverter
*)new wxEncodingConverter();
16917 wxPyEndAllowThreads(__tstate
);
16918 if (PyErr_Occurred()) SWIG_fail
;
16920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
16927 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16928 PyObject
*resultobj
= 0;
16929 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16932 PyObject
*swig_obj
[1] ;
16934 if (!args
) SWIG_fail
;
16935 swig_obj
[0] = args
;
16936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
16937 if (!SWIG_IsOK(res1
)) {
16938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16940 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16945 wxPyEndAllowThreads(__tstate
);
16946 if (PyErr_Occurred()) SWIG_fail
;
16948 resultobj
= SWIG_Py_Void();
16955 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16956 PyObject
*resultobj
= 0;
16957 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16958 wxFontEncoding arg2
;
16959 wxFontEncoding arg3
;
16960 int arg4
= (int) wxCONVERT_STRICT
;
16970 PyObject
* obj0
= 0 ;
16971 PyObject
* obj1
= 0 ;
16972 PyObject
* obj2
= 0 ;
16973 PyObject
* obj3
= 0 ;
16974 char * kwnames
[] = {
16975 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
16978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
16980 if (!SWIG_IsOK(res1
)) {
16981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16983 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16984 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16985 if (!SWIG_IsOK(ecode2
)) {
16986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16988 arg2
= static_cast< wxFontEncoding
>(val2
);
16989 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16990 if (!SWIG_IsOK(ecode3
)) {
16991 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
16993 arg3
= static_cast< wxFontEncoding
>(val3
);
16995 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16996 if (!SWIG_IsOK(ecode4
)) {
16997 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
16999 arg4
= static_cast< int >(val4
);
17002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17003 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17004 wxPyEndAllowThreads(__tstate
);
17005 if (PyErr_Occurred()) SWIG_fail
;
17008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17016 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17017 PyObject
*resultobj
= 0;
17018 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17019 wxString
*arg2
= 0 ;
17023 bool temp2
= false ;
17024 PyObject
* obj0
= 0 ;
17025 PyObject
* obj1
= 0 ;
17026 char * kwnames
[] = {
17027 (char *) "self",(char *) "input", NULL
17030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17032 if (!SWIG_IsOK(res1
)) {
17033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17035 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17037 arg2
= wxString_in_helper(obj1
);
17038 if (arg2
== NULL
) SWIG_fail
;
17042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17043 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17044 wxPyEndAllowThreads(__tstate
);
17045 if (PyErr_Occurred()) SWIG_fail
;
17049 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17051 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17068 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17069 PyObject
*resultobj
= 0;
17070 wxFontEncoding arg1
;
17071 int arg2
= (int) wxPLATFORM_CURRENT
;
17072 wxFontEncodingArray result
;
17077 PyObject
* obj0
= 0 ;
17078 PyObject
* obj1
= 0 ;
17079 char * kwnames
[] = {
17080 (char *) "enc",(char *) "platform", NULL
17083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17084 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17085 if (!SWIG_IsOK(ecode1
)) {
17086 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17088 arg1
= static_cast< wxFontEncoding
>(val1
);
17090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17091 if (!SWIG_IsOK(ecode2
)) {
17092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17094 arg2
= static_cast< int >(val2
);
17097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17098 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17099 wxPyEndAllowThreads(__tstate
);
17100 if (PyErr_Occurred()) SWIG_fail
;
17103 resultobj
= PyList_New(0);
17104 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17105 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17106 PyList_Append(resultobj
, number
);
17116 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17117 PyObject
*resultobj
= 0;
17118 wxFontEncoding arg1
;
17119 wxFontEncodingArray result
;
17122 PyObject
* obj0
= 0 ;
17123 char * kwnames
[] = {
17124 (char *) "enc", NULL
17127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17128 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17129 if (!SWIG_IsOK(ecode1
)) {
17130 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17132 arg1
= static_cast< wxFontEncoding
>(val1
);
17134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17135 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17136 wxPyEndAllowThreads(__tstate
);
17137 if (PyErr_Occurred()) SWIG_fail
;
17140 resultobj
= PyList_New(0);
17141 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17142 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17143 PyList_Append(resultobj
, number
);
17153 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17154 PyObject
*resultobj
= 0;
17155 wxFontEncoding arg1
;
17156 wxFontEncoding arg2
;
17162 PyObject
* obj0
= 0 ;
17163 PyObject
* obj1
= 0 ;
17164 char * kwnames
[] = {
17165 (char *) "encIn",(char *) "encOut", NULL
17168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17169 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17170 if (!SWIG_IsOK(ecode1
)) {
17171 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17173 arg1
= static_cast< wxFontEncoding
>(val1
);
17174 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17175 if (!SWIG_IsOK(ecode2
)) {
17176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17178 arg2
= static_cast< wxFontEncoding
>(val2
);
17180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17181 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17182 wxPyEndAllowThreads(__tstate
);
17183 if (PyErr_Occurred()) SWIG_fail
;
17186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17194 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17196 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17197 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17198 return SWIG_Py_Void();
17201 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17202 return SWIG_Python_InitShadowInstance(args
);
17205 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17206 PyObject
*resultobj
= 0;
17207 wxDC
*arg1
= (wxDC
*) 0 ;
17210 PyObject
*swig_obj
[1] ;
17212 if (!args
) SWIG_fail
;
17213 swig_obj
[0] = args
;
17214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17215 if (!SWIG_IsOK(res1
)) {
17216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17218 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17223 wxPyEndAllowThreads(__tstate
);
17224 if (PyErr_Occurred()) SWIG_fail
;
17226 resultobj
= SWIG_Py_Void();
17233 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17234 PyObject
*resultobj
= 0;
17235 wxDC
*arg1
= (wxDC
*) 0 ;
17238 wxColour
*arg4
= 0 ;
17239 int arg5
= (int) wxFLOOD_SURFACE
;
17250 PyObject
* obj0
= 0 ;
17251 PyObject
* obj1
= 0 ;
17252 PyObject
* obj2
= 0 ;
17253 PyObject
* obj3
= 0 ;
17254 PyObject
* obj4
= 0 ;
17255 char * kwnames
[] = {
17256 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17261 if (!SWIG_IsOK(res1
)) {
17262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17264 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17265 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17266 if (!SWIG_IsOK(ecode2
)) {
17267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17269 arg2
= static_cast< int >(val2
);
17270 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17271 if (!SWIG_IsOK(ecode3
)) {
17272 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17274 arg3
= static_cast< int >(val3
);
17277 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17280 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17281 if (!SWIG_IsOK(ecode5
)) {
17282 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17284 arg5
= static_cast< int >(val5
);
17287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17288 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17289 wxPyEndAllowThreads(__tstate
);
17290 if (PyErr_Occurred()) SWIG_fail
;
17293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17301 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17302 PyObject
*resultobj
= 0;
17303 wxDC
*arg1
= (wxDC
*) 0 ;
17304 wxPoint
*arg2
= 0 ;
17305 wxColour
*arg3
= 0 ;
17306 int arg4
= (int) wxFLOOD_SURFACE
;
17314 PyObject
* obj0
= 0 ;
17315 PyObject
* obj1
= 0 ;
17316 PyObject
* obj2
= 0 ;
17317 PyObject
* obj3
= 0 ;
17318 char * kwnames
[] = {
17319 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17324 if (!SWIG_IsOK(res1
)) {
17325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17327 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17330 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17334 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17337 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17338 if (!SWIG_IsOK(ecode4
)) {
17339 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17341 arg4
= static_cast< int >(val4
);
17344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17345 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17346 wxPyEndAllowThreads(__tstate
);
17347 if (PyErr_Occurred()) SWIG_fail
;
17350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17358 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17359 PyObject
*resultobj
= 0;
17360 wxDC
*arg1
= (wxDC
*) 0 ;
17362 wxColour
*arg3
= 0 ;
17363 wxColour
*arg4
= 0 ;
17364 wxPoint
*arg5
= 0 ;
17371 PyObject
* obj0
= 0 ;
17372 PyObject
* obj1
= 0 ;
17373 PyObject
* obj2
= 0 ;
17374 PyObject
* obj3
= 0 ;
17375 PyObject
* obj4
= 0 ;
17376 char * kwnames
[] = {
17377 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17382 if (!SWIG_IsOK(res1
)) {
17383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17385 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17388 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17392 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17396 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17400 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17404 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17405 wxPyEndAllowThreads(__tstate
);
17406 if (PyErr_Occurred()) SWIG_fail
;
17408 resultobj
= SWIG_Py_Void();
17415 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17416 PyObject
*resultobj
= 0;
17417 wxDC
*arg1
= (wxDC
*) 0 ;
17419 wxColour
*arg3
= 0 ;
17420 wxColour
*arg4
= 0 ;
17421 wxDirection arg5
= (wxDirection
) wxEAST
;
17429 PyObject
* obj0
= 0 ;
17430 PyObject
* obj1
= 0 ;
17431 PyObject
* obj2
= 0 ;
17432 PyObject
* obj3
= 0 ;
17433 PyObject
* obj4
= 0 ;
17434 char * kwnames
[] = {
17435 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17440 if (!SWIG_IsOK(res1
)) {
17441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17443 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17446 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17450 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17454 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17457 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17458 if (!SWIG_IsOK(ecode5
)) {
17459 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17461 arg5
= static_cast< wxDirection
>(val5
);
17464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17465 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17466 wxPyEndAllowThreads(__tstate
);
17467 if (PyErr_Occurred()) SWIG_fail
;
17469 resultobj
= SWIG_Py_Void();
17476 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17477 PyObject
*resultobj
= 0;
17478 wxDC
*arg1
= (wxDC
*) 0 ;
17488 PyObject
* obj0
= 0 ;
17489 PyObject
* obj1
= 0 ;
17490 PyObject
* obj2
= 0 ;
17491 char * kwnames
[] = {
17492 (char *) "self",(char *) "x",(char *) "y", NULL
17495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17497 if (!SWIG_IsOK(res1
)) {
17498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17500 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17502 if (!SWIG_IsOK(ecode2
)) {
17503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17505 arg2
= static_cast< int >(val2
);
17506 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17507 if (!SWIG_IsOK(ecode3
)) {
17508 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17510 arg3
= static_cast< int >(val3
);
17512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17513 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17514 wxPyEndAllowThreads(__tstate
);
17515 if (PyErr_Occurred()) SWIG_fail
;
17517 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17524 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17525 PyObject
*resultobj
= 0;
17526 wxDC
*arg1
= (wxDC
*) 0 ;
17527 wxPoint
*arg2
= 0 ;
17532 PyObject
* obj0
= 0 ;
17533 PyObject
* obj1
= 0 ;
17534 char * kwnames
[] = {
17535 (char *) "self",(char *) "pt", NULL
17538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17540 if (!SWIG_IsOK(res1
)) {
17541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17543 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17546 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17550 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17551 wxPyEndAllowThreads(__tstate
);
17552 if (PyErr_Occurred()) SWIG_fail
;
17554 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17561 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17562 PyObject
*resultobj
= 0;
17563 wxDC
*arg1
= (wxDC
*) 0 ;
17578 PyObject
* obj0
= 0 ;
17579 PyObject
* obj1
= 0 ;
17580 PyObject
* obj2
= 0 ;
17581 PyObject
* obj3
= 0 ;
17582 PyObject
* obj4
= 0 ;
17583 char * kwnames
[] = {
17584 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17589 if (!SWIG_IsOK(res1
)) {
17590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17592 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17593 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17594 if (!SWIG_IsOK(ecode2
)) {
17595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17597 arg2
= static_cast< int >(val2
);
17598 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17599 if (!SWIG_IsOK(ecode3
)) {
17600 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17602 arg3
= static_cast< int >(val3
);
17603 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17604 if (!SWIG_IsOK(ecode4
)) {
17605 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17607 arg4
= static_cast< int >(val4
);
17608 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17609 if (!SWIG_IsOK(ecode5
)) {
17610 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17612 arg5
= static_cast< int >(val5
);
17614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17615 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17616 wxPyEndAllowThreads(__tstate
);
17617 if (PyErr_Occurred()) SWIG_fail
;
17619 resultobj
= SWIG_Py_Void();
17626 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17627 PyObject
*resultobj
= 0;
17628 wxDC
*arg1
= (wxDC
*) 0 ;
17629 wxPoint
*arg2
= 0 ;
17630 wxPoint
*arg3
= 0 ;
17635 PyObject
* obj0
= 0 ;
17636 PyObject
* obj1
= 0 ;
17637 PyObject
* obj2
= 0 ;
17638 char * kwnames
[] = {
17639 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17644 if (!SWIG_IsOK(res1
)) {
17645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17647 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17650 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17654 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17658 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
17659 wxPyEndAllowThreads(__tstate
);
17660 if (PyErr_Occurred()) SWIG_fail
;
17662 resultobj
= SWIG_Py_Void();
17669 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17670 PyObject
*resultobj
= 0;
17671 wxDC
*arg1
= (wxDC
*) 0 ;
17680 PyObject
* obj0
= 0 ;
17681 PyObject
* obj1
= 0 ;
17682 PyObject
* obj2
= 0 ;
17683 char * kwnames
[] = {
17684 (char *) "self",(char *) "x",(char *) "y", NULL
17687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17689 if (!SWIG_IsOK(res1
)) {
17690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
17692 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17693 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17694 if (!SWIG_IsOK(ecode2
)) {
17695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
17697 arg2
= static_cast< int >(val2
);
17698 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17699 if (!SWIG_IsOK(ecode3
)) {
17700 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
17702 arg3
= static_cast< int >(val3
);
17704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17705 (arg1
)->CrossHair(arg2
,arg3
);
17706 wxPyEndAllowThreads(__tstate
);
17707 if (PyErr_Occurred()) SWIG_fail
;
17709 resultobj
= SWIG_Py_Void();
17716 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17717 PyObject
*resultobj
= 0;
17718 wxDC
*arg1
= (wxDC
*) 0 ;
17719 wxPoint
*arg2
= 0 ;
17723 PyObject
* obj0
= 0 ;
17724 PyObject
* obj1
= 0 ;
17725 char * kwnames
[] = {
17726 (char *) "self",(char *) "pt", NULL
17729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17731 if (!SWIG_IsOK(res1
)) {
17732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17734 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17737 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17741 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
17742 wxPyEndAllowThreads(__tstate
);
17743 if (PyErr_Occurred()) SWIG_fail
;
17745 resultobj
= SWIG_Py_Void();
17752 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17753 PyObject
*resultobj
= 0;
17754 wxDC
*arg1
= (wxDC
*) 0 ;
17775 PyObject
* obj0
= 0 ;
17776 PyObject
* obj1
= 0 ;
17777 PyObject
* obj2
= 0 ;
17778 PyObject
* obj3
= 0 ;
17779 PyObject
* obj4
= 0 ;
17780 PyObject
* obj5
= 0 ;
17781 PyObject
* obj6
= 0 ;
17782 char * kwnames
[] = {
17783 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
17786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17788 if (!SWIG_IsOK(res1
)) {
17789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
17791 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17792 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17793 if (!SWIG_IsOK(ecode2
)) {
17794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
17796 arg2
= static_cast< int >(val2
);
17797 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17798 if (!SWIG_IsOK(ecode3
)) {
17799 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
17801 arg3
= static_cast< int >(val3
);
17802 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17803 if (!SWIG_IsOK(ecode4
)) {
17804 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
17806 arg4
= static_cast< int >(val4
);
17807 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17808 if (!SWIG_IsOK(ecode5
)) {
17809 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
17811 arg5
= static_cast< int >(val5
);
17812 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17813 if (!SWIG_IsOK(ecode6
)) {
17814 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
17816 arg6
= static_cast< int >(val6
);
17817 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
17818 if (!SWIG_IsOK(ecode7
)) {
17819 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
17821 arg7
= static_cast< int >(val7
);
17823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17824 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17825 wxPyEndAllowThreads(__tstate
);
17826 if (PyErr_Occurred()) SWIG_fail
;
17828 resultobj
= SWIG_Py_Void();
17835 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17836 PyObject
*resultobj
= 0;
17837 wxDC
*arg1
= (wxDC
*) 0 ;
17838 wxPoint
*arg2
= 0 ;
17839 wxPoint
*arg3
= 0 ;
17840 wxPoint
*arg4
= 0 ;
17846 PyObject
* obj0
= 0 ;
17847 PyObject
* obj1
= 0 ;
17848 PyObject
* obj2
= 0 ;
17849 PyObject
* obj3
= 0 ;
17850 char * kwnames
[] = {
17851 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
17854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17856 if (!SWIG_IsOK(res1
)) {
17857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17859 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17862 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17866 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17870 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17874 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
17875 wxPyEndAllowThreads(__tstate
);
17876 if (PyErr_Occurred()) SWIG_fail
;
17878 resultobj
= SWIG_Py_Void();
17885 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17886 PyObject
*resultobj
= 0;
17887 wxDC
*arg1
= (wxDC
*) 0 ;
17902 PyObject
* obj0
= 0 ;
17903 PyObject
* obj1
= 0 ;
17904 PyObject
* obj2
= 0 ;
17905 PyObject
* obj3
= 0 ;
17906 PyObject
* obj4
= 0 ;
17907 char * kwnames
[] = {
17908 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17913 if (!SWIG_IsOK(res1
)) {
17914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
17916 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17917 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17918 if (!SWIG_IsOK(ecode2
)) {
17919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
17921 arg2
= static_cast< int >(val2
);
17922 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17923 if (!SWIG_IsOK(ecode3
)) {
17924 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
17926 arg3
= static_cast< int >(val3
);
17927 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17928 if (!SWIG_IsOK(ecode4
)) {
17929 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
17931 arg4
= static_cast< int >(val4
);
17932 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17933 if (!SWIG_IsOK(ecode5
)) {
17934 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
17936 arg5
= static_cast< int >(val5
);
17938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17939 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
17940 wxPyEndAllowThreads(__tstate
);
17941 if (PyErr_Occurred()) SWIG_fail
;
17943 resultobj
= SWIG_Py_Void();
17950 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17951 PyObject
*resultobj
= 0;
17952 wxDC
*arg1
= (wxDC
*) 0 ;
17957 PyObject
* obj0
= 0 ;
17958 PyObject
* obj1
= 0 ;
17959 char * kwnames
[] = {
17960 (char *) "self",(char *) "rect", NULL
17963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17965 if (!SWIG_IsOK(res1
)) {
17966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
17968 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17971 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17975 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
17976 wxPyEndAllowThreads(__tstate
);
17977 if (PyErr_Occurred()) SWIG_fail
;
17979 resultobj
= SWIG_Py_Void();
17986 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17987 PyObject
*resultobj
= 0;
17988 wxDC
*arg1
= (wxDC
*) 0 ;
18009 PyObject
* obj0
= 0 ;
18010 PyObject
* obj1
= 0 ;
18011 PyObject
* obj2
= 0 ;
18012 PyObject
* obj3
= 0 ;
18013 PyObject
* obj4
= 0 ;
18014 PyObject
* obj5
= 0 ;
18015 PyObject
* obj6
= 0 ;
18016 char * kwnames
[] = {
18017 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18022 if (!SWIG_IsOK(res1
)) {
18023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18025 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18026 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18027 if (!SWIG_IsOK(ecode2
)) {
18028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18030 arg2
= static_cast< int >(val2
);
18031 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18032 if (!SWIG_IsOK(ecode3
)) {
18033 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18035 arg3
= static_cast< int >(val3
);
18036 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18037 if (!SWIG_IsOK(ecode4
)) {
18038 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18040 arg4
= static_cast< int >(val4
);
18041 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18042 if (!SWIG_IsOK(ecode5
)) {
18043 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18045 arg5
= static_cast< int >(val5
);
18046 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18047 if (!SWIG_IsOK(ecode6
)) {
18048 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18050 arg6
= static_cast< double >(val6
);
18051 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18052 if (!SWIG_IsOK(ecode7
)) {
18053 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18055 arg7
= static_cast< double >(val7
);
18057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18058 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18059 wxPyEndAllowThreads(__tstate
);
18060 if (PyErr_Occurred()) SWIG_fail
;
18062 resultobj
= SWIG_Py_Void();
18069 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18070 PyObject
*resultobj
= 0;
18071 wxDC
*arg1
= (wxDC
*) 0 ;
18072 wxPoint
*arg2
= 0 ;
18084 PyObject
* obj0
= 0 ;
18085 PyObject
* obj1
= 0 ;
18086 PyObject
* obj2
= 0 ;
18087 PyObject
* obj3
= 0 ;
18088 PyObject
* obj4
= 0 ;
18089 char * kwnames
[] = {
18090 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18095 if (!SWIG_IsOK(res1
)) {
18096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18098 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18101 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18105 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18107 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18108 if (!SWIG_IsOK(ecode4
)) {
18109 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18111 arg4
= static_cast< double >(val4
);
18112 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18113 if (!SWIG_IsOK(ecode5
)) {
18114 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18116 arg5
= static_cast< double >(val5
);
18118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18119 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18120 wxPyEndAllowThreads(__tstate
);
18121 if (PyErr_Occurred()) SWIG_fail
;
18123 resultobj
= SWIG_Py_Void();
18130 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18131 PyObject
*resultobj
= 0;
18132 wxDC
*arg1
= (wxDC
*) 0 ;
18141 PyObject
* obj0
= 0 ;
18142 PyObject
* obj1
= 0 ;
18143 PyObject
* obj2
= 0 ;
18144 char * kwnames
[] = {
18145 (char *) "self",(char *) "x",(char *) "y", NULL
18148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18150 if (!SWIG_IsOK(res1
)) {
18151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18153 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18154 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18155 if (!SWIG_IsOK(ecode2
)) {
18156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18158 arg2
= static_cast< int >(val2
);
18159 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18160 if (!SWIG_IsOK(ecode3
)) {
18161 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18163 arg3
= static_cast< int >(val3
);
18165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18166 (arg1
)->DrawPoint(arg2
,arg3
);
18167 wxPyEndAllowThreads(__tstate
);
18168 if (PyErr_Occurred()) SWIG_fail
;
18170 resultobj
= SWIG_Py_Void();
18177 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18178 PyObject
*resultobj
= 0;
18179 wxDC
*arg1
= (wxDC
*) 0 ;
18180 wxPoint
*arg2
= 0 ;
18184 PyObject
* obj0
= 0 ;
18185 PyObject
* obj1
= 0 ;
18186 char * kwnames
[] = {
18187 (char *) "self",(char *) "pt", NULL
18190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18192 if (!SWIG_IsOK(res1
)) {
18193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18195 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18198 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18202 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18203 wxPyEndAllowThreads(__tstate
);
18204 if (PyErr_Occurred()) SWIG_fail
;
18206 resultobj
= SWIG_Py_Void();
18213 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18214 PyObject
*resultobj
= 0;
18215 wxDC
*arg1
= (wxDC
*) 0 ;
18230 PyObject
* obj0
= 0 ;
18231 PyObject
* obj1
= 0 ;
18232 PyObject
* obj2
= 0 ;
18233 PyObject
* obj3
= 0 ;
18234 PyObject
* obj4
= 0 ;
18235 char * kwnames
[] = {
18236 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18241 if (!SWIG_IsOK(res1
)) {
18242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18244 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18246 if (!SWIG_IsOK(ecode2
)) {
18247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18249 arg2
= static_cast< int >(val2
);
18250 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18251 if (!SWIG_IsOK(ecode3
)) {
18252 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18254 arg3
= static_cast< int >(val3
);
18255 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18256 if (!SWIG_IsOK(ecode4
)) {
18257 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18259 arg4
= static_cast< int >(val4
);
18260 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18261 if (!SWIG_IsOK(ecode5
)) {
18262 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18264 arg5
= static_cast< int >(val5
);
18266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18267 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18268 wxPyEndAllowThreads(__tstate
);
18269 if (PyErr_Occurred()) SWIG_fail
;
18271 resultobj
= SWIG_Py_Void();
18278 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18279 PyObject
*resultobj
= 0;
18280 wxDC
*arg1
= (wxDC
*) 0 ;
18285 PyObject
* obj0
= 0 ;
18286 PyObject
* obj1
= 0 ;
18287 char * kwnames
[] = {
18288 (char *) "self",(char *) "rect", NULL
18291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18293 if (!SWIG_IsOK(res1
)) {
18294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18296 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18299 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18303 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18304 wxPyEndAllowThreads(__tstate
);
18305 if (PyErr_Occurred()) SWIG_fail
;
18307 resultobj
= SWIG_Py_Void();
18314 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18315 PyObject
*resultobj
= 0;
18316 wxDC
*arg1
= (wxDC
*) 0 ;
18317 wxPoint
*arg2
= 0 ;
18323 PyObject
* obj0
= 0 ;
18324 PyObject
* obj1
= 0 ;
18325 PyObject
* obj2
= 0 ;
18326 char * kwnames
[] = {
18327 (char *) "self",(char *) "pt",(char *) "sz", NULL
18330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18332 if (!SWIG_IsOK(res1
)) {
18333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18335 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18338 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18342 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18346 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18347 wxPyEndAllowThreads(__tstate
);
18348 if (PyErr_Occurred()) SWIG_fail
;
18350 resultobj
= SWIG_Py_Void();
18357 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18358 PyObject
*resultobj
= 0;
18359 wxDC
*arg1
= (wxDC
*) 0 ;
18377 PyObject
* obj0
= 0 ;
18378 PyObject
* obj1
= 0 ;
18379 PyObject
* obj2
= 0 ;
18380 PyObject
* obj3
= 0 ;
18381 PyObject
* obj4
= 0 ;
18382 PyObject
* obj5
= 0 ;
18383 char * kwnames
[] = {
18384 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18389 if (!SWIG_IsOK(res1
)) {
18390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18392 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18393 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18394 if (!SWIG_IsOK(ecode2
)) {
18395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18397 arg2
= static_cast< int >(val2
);
18398 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18399 if (!SWIG_IsOK(ecode3
)) {
18400 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18402 arg3
= static_cast< int >(val3
);
18403 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18404 if (!SWIG_IsOK(ecode4
)) {
18405 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18407 arg4
= static_cast< int >(val4
);
18408 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18409 if (!SWIG_IsOK(ecode5
)) {
18410 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18412 arg5
= static_cast< int >(val5
);
18413 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18414 if (!SWIG_IsOK(ecode6
)) {
18415 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18417 arg6
= static_cast< double >(val6
);
18419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18420 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18421 wxPyEndAllowThreads(__tstate
);
18422 if (PyErr_Occurred()) SWIG_fail
;
18424 resultobj
= SWIG_Py_Void();
18431 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18432 PyObject
*resultobj
= 0;
18433 wxDC
*arg1
= (wxDC
*) 0 ;
18441 PyObject
* obj0
= 0 ;
18442 PyObject
* obj1
= 0 ;
18443 PyObject
* obj2
= 0 ;
18444 char * kwnames
[] = {
18445 (char *) "self",(char *) "r",(char *) "radius", NULL
18448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18450 if (!SWIG_IsOK(res1
)) {
18451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18453 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18456 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18458 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18459 if (!SWIG_IsOK(ecode3
)) {
18460 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18462 arg3
= static_cast< double >(val3
);
18464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18465 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18466 wxPyEndAllowThreads(__tstate
);
18467 if (PyErr_Occurred()) SWIG_fail
;
18469 resultobj
= SWIG_Py_Void();
18476 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18477 PyObject
*resultobj
= 0;
18478 wxDC
*arg1
= (wxDC
*) 0 ;
18479 wxPoint
*arg2
= 0 ;
18488 PyObject
* obj0
= 0 ;
18489 PyObject
* obj1
= 0 ;
18490 PyObject
* obj2
= 0 ;
18491 PyObject
* obj3
= 0 ;
18492 char * kwnames
[] = {
18493 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18498 if (!SWIG_IsOK(res1
)) {
18499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18501 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18504 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18508 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18510 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18511 if (!SWIG_IsOK(ecode4
)) {
18512 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18514 arg4
= static_cast< double >(val4
);
18516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18517 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18518 wxPyEndAllowThreads(__tstate
);
18519 if (PyErr_Occurred()) SWIG_fail
;
18521 resultobj
= SWIG_Py_Void();
18528 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18529 PyObject
*resultobj
= 0;
18530 wxDC
*arg1
= (wxDC
*) 0 ;
18542 PyObject
* obj0
= 0 ;
18543 PyObject
* obj1
= 0 ;
18544 PyObject
* obj2
= 0 ;
18545 PyObject
* obj3
= 0 ;
18546 char * kwnames
[] = {
18547 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18552 if (!SWIG_IsOK(res1
)) {
18553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18555 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18556 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18557 if (!SWIG_IsOK(ecode2
)) {
18558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18560 arg2
= static_cast< int >(val2
);
18561 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18562 if (!SWIG_IsOK(ecode3
)) {
18563 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18565 arg3
= static_cast< int >(val3
);
18566 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18567 if (!SWIG_IsOK(ecode4
)) {
18568 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18570 arg4
= static_cast< int >(val4
);
18572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18573 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18574 wxPyEndAllowThreads(__tstate
);
18575 if (PyErr_Occurred()) SWIG_fail
;
18577 resultobj
= SWIG_Py_Void();
18584 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18585 PyObject
*resultobj
= 0;
18586 wxDC
*arg1
= (wxDC
*) 0 ;
18587 wxPoint
*arg2
= 0 ;
18594 PyObject
* obj0
= 0 ;
18595 PyObject
* obj1
= 0 ;
18596 PyObject
* obj2
= 0 ;
18597 char * kwnames
[] = {
18598 (char *) "self",(char *) "pt",(char *) "radius", NULL
18601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18603 if (!SWIG_IsOK(res1
)) {
18604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18606 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18609 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18611 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18612 if (!SWIG_IsOK(ecode3
)) {
18613 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18615 arg3
= static_cast< int >(val3
);
18617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18618 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18619 wxPyEndAllowThreads(__tstate
);
18620 if (PyErr_Occurred()) SWIG_fail
;
18622 resultobj
= SWIG_Py_Void();
18629 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18630 PyObject
*resultobj
= 0;
18631 wxDC
*arg1
= (wxDC
*) 0 ;
18646 PyObject
* obj0
= 0 ;
18647 PyObject
* obj1
= 0 ;
18648 PyObject
* obj2
= 0 ;
18649 PyObject
* obj3
= 0 ;
18650 PyObject
* obj4
= 0 ;
18651 char * kwnames
[] = {
18652 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18657 if (!SWIG_IsOK(res1
)) {
18658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
18660 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18662 if (!SWIG_IsOK(ecode2
)) {
18663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
18665 arg2
= static_cast< int >(val2
);
18666 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18667 if (!SWIG_IsOK(ecode3
)) {
18668 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
18670 arg3
= static_cast< int >(val3
);
18671 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18672 if (!SWIG_IsOK(ecode4
)) {
18673 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
18675 arg4
= static_cast< int >(val4
);
18676 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18677 if (!SWIG_IsOK(ecode5
)) {
18678 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
18680 arg5
= static_cast< int >(val5
);
18682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18683 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
18684 wxPyEndAllowThreads(__tstate
);
18685 if (PyErr_Occurred()) SWIG_fail
;
18687 resultobj
= SWIG_Py_Void();
18694 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18695 PyObject
*resultobj
= 0;
18696 wxDC
*arg1
= (wxDC
*) 0 ;
18701 PyObject
* obj0
= 0 ;
18702 PyObject
* obj1
= 0 ;
18703 char * kwnames
[] = {
18704 (char *) "self",(char *) "rect", NULL
18707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18709 if (!SWIG_IsOK(res1
)) {
18710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
18712 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18715 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18719 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
18720 wxPyEndAllowThreads(__tstate
);
18721 if (PyErr_Occurred()) SWIG_fail
;
18723 resultobj
= SWIG_Py_Void();
18730 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18731 PyObject
*resultobj
= 0;
18732 wxDC
*arg1
= (wxDC
*) 0 ;
18733 wxPoint
*arg2
= 0 ;
18739 PyObject
* obj0
= 0 ;
18740 PyObject
* obj1
= 0 ;
18741 PyObject
* obj2
= 0 ;
18742 char * kwnames
[] = {
18743 (char *) "self",(char *) "pt",(char *) "sz", NULL
18746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18748 if (!SWIG_IsOK(res1
)) {
18749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18751 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18754 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18758 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18762 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18763 wxPyEndAllowThreads(__tstate
);
18764 if (PyErr_Occurred()) SWIG_fail
;
18766 resultobj
= SWIG_Py_Void();
18773 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18774 PyObject
*resultobj
= 0;
18775 wxDC
*arg1
= (wxDC
*) 0 ;
18787 PyObject
* obj0
= 0 ;
18788 PyObject
* obj1
= 0 ;
18789 PyObject
* obj2
= 0 ;
18790 PyObject
* obj3
= 0 ;
18791 char * kwnames
[] = {
18792 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
18795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18797 if (!SWIG_IsOK(res1
)) {
18798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
18800 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18801 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18802 if (!SWIG_IsOK(res2
)) {
18803 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18806 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18808 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18809 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18810 if (!SWIG_IsOK(ecode3
)) {
18811 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
18813 arg3
= static_cast< int >(val3
);
18814 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18815 if (!SWIG_IsOK(ecode4
)) {
18816 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
18818 arg4
= static_cast< int >(val4
);
18820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18821 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
18822 wxPyEndAllowThreads(__tstate
);
18823 if (PyErr_Occurred()) SWIG_fail
;
18825 resultobj
= SWIG_Py_Void();
18832 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18833 PyObject
*resultobj
= 0;
18834 wxDC
*arg1
= (wxDC
*) 0 ;
18836 wxPoint
*arg3
= 0 ;
18842 PyObject
* obj0
= 0 ;
18843 PyObject
* obj1
= 0 ;
18844 PyObject
* obj2
= 0 ;
18845 char * kwnames
[] = {
18846 (char *) "self",(char *) "icon",(char *) "pt", NULL
18849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18851 if (!SWIG_IsOK(res1
)) {
18852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18854 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18855 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18856 if (!SWIG_IsOK(res2
)) {
18857 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
18860 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
18862 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18865 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18869 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
18870 wxPyEndAllowThreads(__tstate
);
18871 if (PyErr_Occurred()) SWIG_fail
;
18873 resultobj
= SWIG_Py_Void();
18880 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18881 PyObject
*resultobj
= 0;
18882 wxDC
*arg1
= (wxDC
*) 0 ;
18883 wxBitmap
*arg2
= 0 ;
18886 bool arg5
= (bool) false ;
18897 PyObject
* obj0
= 0 ;
18898 PyObject
* obj1
= 0 ;
18899 PyObject
* obj2
= 0 ;
18900 PyObject
* obj3
= 0 ;
18901 PyObject
* obj4
= 0 ;
18902 char * kwnames
[] = {
18903 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
18906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18908 if (!SWIG_IsOK(res1
)) {
18909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
18911 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18912 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
18913 if (!SWIG_IsOK(res2
)) {
18914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18917 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18919 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
18920 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18921 if (!SWIG_IsOK(ecode3
)) {
18922 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
18924 arg3
= static_cast< int >(val3
);
18925 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18926 if (!SWIG_IsOK(ecode4
)) {
18927 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
18929 arg4
= static_cast< int >(val4
);
18931 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
18932 if (!SWIG_IsOK(ecode5
)) {
18933 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
18935 arg5
= static_cast< bool >(val5
);
18938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18939 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
18940 wxPyEndAllowThreads(__tstate
);
18941 if (PyErr_Occurred()) SWIG_fail
;
18943 resultobj
= SWIG_Py_Void();
18950 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18951 PyObject
*resultobj
= 0;
18952 wxDC
*arg1
= (wxDC
*) 0 ;
18953 wxBitmap
*arg2
= 0 ;
18954 wxPoint
*arg3
= 0 ;
18955 bool arg4
= (bool) false ;
18963 PyObject
* obj0
= 0 ;
18964 PyObject
* obj1
= 0 ;
18965 PyObject
* obj2
= 0 ;
18966 PyObject
* obj3
= 0 ;
18967 char * kwnames
[] = {
18968 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
18971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18973 if (!SWIG_IsOK(res1
)) {
18974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18976 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18977 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
18978 if (!SWIG_IsOK(res2
)) {
18979 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18982 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18984 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
18987 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18990 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
18991 if (!SWIG_IsOK(ecode4
)) {
18992 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
18994 arg4
= static_cast< bool >(val4
);
18997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18998 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
18999 wxPyEndAllowThreads(__tstate
);
19000 if (PyErr_Occurred()) SWIG_fail
;
19002 resultobj
= SWIG_Py_Void();
19009 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19010 PyObject
*resultobj
= 0;
19011 wxDC
*arg1
= (wxDC
*) 0 ;
19012 wxString
*arg2
= 0 ;
19017 bool temp2
= false ;
19022 PyObject
* obj0
= 0 ;
19023 PyObject
* obj1
= 0 ;
19024 PyObject
* obj2
= 0 ;
19025 PyObject
* obj3
= 0 ;
19026 char * kwnames
[] = {
19027 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19032 if (!SWIG_IsOK(res1
)) {
19033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19035 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19037 arg2
= wxString_in_helper(obj1
);
19038 if (arg2
== NULL
) SWIG_fail
;
19041 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19042 if (!SWIG_IsOK(ecode3
)) {
19043 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19045 arg3
= static_cast< int >(val3
);
19046 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19047 if (!SWIG_IsOK(ecode4
)) {
19048 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19050 arg4
= static_cast< int >(val4
);
19052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19053 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19054 wxPyEndAllowThreads(__tstate
);
19055 if (PyErr_Occurred()) SWIG_fail
;
19057 resultobj
= SWIG_Py_Void();
19072 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19073 PyObject
*resultobj
= 0;
19074 wxDC
*arg1
= (wxDC
*) 0 ;
19075 wxString
*arg2
= 0 ;
19076 wxPoint
*arg3
= 0 ;
19079 bool temp2
= false ;
19081 PyObject
* obj0
= 0 ;
19082 PyObject
* obj1
= 0 ;
19083 PyObject
* obj2
= 0 ;
19084 char * kwnames
[] = {
19085 (char *) "self",(char *) "text",(char *) "pt", NULL
19088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19090 if (!SWIG_IsOK(res1
)) {
19091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19093 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19095 arg2
= wxString_in_helper(obj1
);
19096 if (arg2
== NULL
) SWIG_fail
;
19101 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19105 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19106 wxPyEndAllowThreads(__tstate
);
19107 if (PyErr_Occurred()) SWIG_fail
;
19109 resultobj
= SWIG_Py_Void();
19124 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19125 PyObject
*resultobj
= 0;
19126 wxDC
*arg1
= (wxDC
*) 0 ;
19127 wxString
*arg2
= 0 ;
19133 bool temp2
= false ;
19140 PyObject
* obj0
= 0 ;
19141 PyObject
* obj1
= 0 ;
19142 PyObject
* obj2
= 0 ;
19143 PyObject
* obj3
= 0 ;
19144 PyObject
* obj4
= 0 ;
19145 char * kwnames
[] = {
19146 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19151 if (!SWIG_IsOK(res1
)) {
19152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19154 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19156 arg2
= wxString_in_helper(obj1
);
19157 if (arg2
== NULL
) SWIG_fail
;
19160 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19161 if (!SWIG_IsOK(ecode3
)) {
19162 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19164 arg3
= static_cast< int >(val3
);
19165 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19166 if (!SWIG_IsOK(ecode4
)) {
19167 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19169 arg4
= static_cast< int >(val4
);
19170 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19171 if (!SWIG_IsOK(ecode5
)) {
19172 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19174 arg5
= static_cast< double >(val5
);
19176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19177 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19178 wxPyEndAllowThreads(__tstate
);
19179 if (PyErr_Occurred()) SWIG_fail
;
19181 resultobj
= SWIG_Py_Void();
19196 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19197 PyObject
*resultobj
= 0;
19198 wxDC
*arg1
= (wxDC
*) 0 ;
19199 wxString
*arg2
= 0 ;
19200 wxPoint
*arg3
= 0 ;
19204 bool temp2
= false ;
19208 PyObject
* obj0
= 0 ;
19209 PyObject
* obj1
= 0 ;
19210 PyObject
* obj2
= 0 ;
19211 PyObject
* obj3
= 0 ;
19212 char * kwnames
[] = {
19213 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19218 if (!SWIG_IsOK(res1
)) {
19219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19221 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19223 arg2
= wxString_in_helper(obj1
);
19224 if (arg2
== NULL
) SWIG_fail
;
19229 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19231 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19232 if (!SWIG_IsOK(ecode4
)) {
19233 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19235 arg4
= static_cast< double >(val4
);
19237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19238 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19239 wxPyEndAllowThreads(__tstate
);
19240 if (PyErr_Occurred()) SWIG_fail
;
19242 resultobj
= SWIG_Py_Void();
19257 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19258 PyObject
*resultobj
= 0;
19259 wxDC
*arg1
= (wxDC
*) 0 ;
19264 wxDC
*arg6
= (wxDC
*) 0 ;
19267 int arg9
= (int) wxCOPY
;
19268 bool arg10
= (bool) false ;
19269 int arg11
= (int) -1 ;
19270 int arg12
= (int) -1 ;
19296 PyObject
* obj0
= 0 ;
19297 PyObject
* obj1
= 0 ;
19298 PyObject
* obj2
= 0 ;
19299 PyObject
* obj3
= 0 ;
19300 PyObject
* obj4
= 0 ;
19301 PyObject
* obj5
= 0 ;
19302 PyObject
* obj6
= 0 ;
19303 PyObject
* obj7
= 0 ;
19304 PyObject
* obj8
= 0 ;
19305 PyObject
* obj9
= 0 ;
19306 PyObject
* obj10
= 0 ;
19307 PyObject
* obj11
= 0 ;
19308 char * kwnames
[] = {
19309 (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
19312 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
;
19313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19314 if (!SWIG_IsOK(res1
)) {
19315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19317 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19318 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19319 if (!SWIG_IsOK(ecode2
)) {
19320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19322 arg2
= static_cast< int >(val2
);
19323 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19324 if (!SWIG_IsOK(ecode3
)) {
19325 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19327 arg3
= static_cast< int >(val3
);
19328 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19329 if (!SWIG_IsOK(ecode4
)) {
19330 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19332 arg4
= static_cast< int >(val4
);
19333 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19334 if (!SWIG_IsOK(ecode5
)) {
19335 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19337 arg5
= static_cast< int >(val5
);
19338 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19339 if (!SWIG_IsOK(res6
)) {
19340 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19342 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19343 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19344 if (!SWIG_IsOK(ecode7
)) {
19345 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19347 arg7
= static_cast< int >(val7
);
19348 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19349 if (!SWIG_IsOK(ecode8
)) {
19350 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19352 arg8
= static_cast< int >(val8
);
19354 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19355 if (!SWIG_IsOK(ecode9
)) {
19356 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19358 arg9
= static_cast< int >(val9
);
19361 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19362 if (!SWIG_IsOK(ecode10
)) {
19363 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19365 arg10
= static_cast< bool >(val10
);
19368 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19369 if (!SWIG_IsOK(ecode11
)) {
19370 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19372 arg11
= static_cast< int >(val11
);
19375 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19376 if (!SWIG_IsOK(ecode12
)) {
19377 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19379 arg12
= static_cast< int >(val12
);
19382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19383 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19384 wxPyEndAllowThreads(__tstate
);
19385 if (PyErr_Occurred()) SWIG_fail
;
19388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19396 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19397 PyObject
*resultobj
= 0;
19398 wxDC
*arg1
= (wxDC
*) 0 ;
19399 wxPoint
*arg2
= 0 ;
19401 wxDC
*arg4
= (wxDC
*) 0 ;
19402 wxPoint
*arg5
= 0 ;
19403 int arg6
= (int) wxCOPY
;
19404 bool arg7
= (bool) false ;
19405 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19406 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19420 PyObject
* obj0
= 0 ;
19421 PyObject
* obj1
= 0 ;
19422 PyObject
* obj2
= 0 ;
19423 PyObject
* obj3
= 0 ;
19424 PyObject
* obj4
= 0 ;
19425 PyObject
* obj5
= 0 ;
19426 PyObject
* obj6
= 0 ;
19427 PyObject
* obj7
= 0 ;
19428 char * kwnames
[] = {
19429 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19434 if (!SWIG_IsOK(res1
)) {
19435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19437 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19440 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19444 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19446 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19447 if (!SWIG_IsOK(res4
)) {
19448 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19450 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19453 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19456 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19457 if (!SWIG_IsOK(ecode6
)) {
19458 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19460 arg6
= static_cast< int >(val6
);
19463 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19464 if (!SWIG_IsOK(ecode7
)) {
19465 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19467 arg7
= static_cast< bool >(val7
);
19472 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19477 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19478 wxPyEndAllowThreads(__tstate
);
19479 if (PyErr_Occurred()) SWIG_fail
;
19482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19490 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19491 PyObject
*resultobj
= 0;
19492 wxDC
*arg1
= (wxDC
*) 0 ;
19507 PyObject
* obj0
= 0 ;
19508 PyObject
* obj1
= 0 ;
19509 PyObject
* obj2
= 0 ;
19510 PyObject
* obj3
= 0 ;
19511 PyObject
* obj4
= 0 ;
19512 char * kwnames
[] = {
19513 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19518 if (!SWIG_IsOK(res1
)) {
19519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19521 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19523 if (!SWIG_IsOK(ecode2
)) {
19524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19526 arg2
= static_cast< int >(val2
);
19527 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19528 if (!SWIG_IsOK(ecode3
)) {
19529 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19531 arg3
= static_cast< int >(val3
);
19532 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19533 if (!SWIG_IsOK(ecode4
)) {
19534 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19536 arg4
= static_cast< int >(val4
);
19537 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19538 if (!SWIG_IsOK(ecode5
)) {
19539 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19541 arg5
= static_cast< int >(val5
);
19543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19544 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19545 wxPyEndAllowThreads(__tstate
);
19546 if (PyErr_Occurred()) SWIG_fail
;
19548 resultobj
= SWIG_Py_Void();
19555 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19556 PyObject
*resultobj
= 0;
19557 wxDC
*arg1
= (wxDC
*) 0 ;
19558 wxPoint
*arg2
= 0 ;
19564 PyObject
* obj0
= 0 ;
19565 PyObject
* obj1
= 0 ;
19566 PyObject
* obj2
= 0 ;
19567 char * kwnames
[] = {
19568 (char *) "self",(char *) "pt",(char *) "sz", NULL
19571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19573 if (!SWIG_IsOK(res1
)) {
19574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19576 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19579 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19583 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19587 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19588 wxPyEndAllowThreads(__tstate
);
19589 if (PyErr_Occurred()) SWIG_fail
;
19591 resultobj
= SWIG_Py_Void();
19598 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19599 PyObject
*resultobj
= 0;
19600 wxDC
*arg1
= (wxDC
*) 0 ;
19601 wxRegion
*arg2
= 0 ;
19606 PyObject
* obj0
= 0 ;
19607 PyObject
* obj1
= 0 ;
19608 char * kwnames
[] = {
19609 (char *) "self",(char *) "region", NULL
19612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19614 if (!SWIG_IsOK(res1
)) {
19615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19617 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19618 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
19619 if (!SWIG_IsOK(res2
)) {
19620 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19623 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19625 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
19627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19628 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
19629 wxPyEndAllowThreads(__tstate
);
19630 if (PyErr_Occurred()) SWIG_fail
;
19632 resultobj
= SWIG_Py_Void();
19639 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19640 PyObject
*resultobj
= 0;
19641 wxDC
*arg1
= (wxDC
*) 0 ;
19646 PyObject
* obj0
= 0 ;
19647 PyObject
* obj1
= 0 ;
19648 char * kwnames
[] = {
19649 (char *) "self",(char *) "rect", NULL
19652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19654 if (!SWIG_IsOK(res1
)) {
19655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
19657 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19660 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19664 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
19665 wxPyEndAllowThreads(__tstate
);
19666 if (PyErr_Occurred()) SWIG_fail
;
19668 resultobj
= SWIG_Py_Void();
19675 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19676 PyObject
*resultobj
= 0;
19677 wxDC
*arg1
= (wxDC
*) 0 ;
19679 wxPoint
*arg3
= (wxPoint
*) 0 ;
19680 int arg4
= (int) 0 ;
19681 int arg5
= (int) 0 ;
19688 PyObject
* obj0
= 0 ;
19689 PyObject
* obj1
= 0 ;
19690 PyObject
* obj2
= 0 ;
19691 PyObject
* obj3
= 0 ;
19692 char * kwnames
[] = {
19693 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
19696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19698 if (!SWIG_IsOK(res1
)) {
19699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
19701 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19703 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19704 if (arg3
== NULL
) SWIG_fail
;
19707 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19708 if (!SWIG_IsOK(ecode4
)) {
19709 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
19711 arg4
= static_cast< int >(val4
);
19714 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19715 if (!SWIG_IsOK(ecode5
)) {
19716 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
19718 arg5
= static_cast< int >(val5
);
19721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19722 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
19723 wxPyEndAllowThreads(__tstate
);
19724 if (PyErr_Occurred()) SWIG_fail
;
19726 resultobj
= SWIG_Py_Void();
19728 if (arg3
) delete [] arg3
;
19733 if (arg3
) delete [] arg3
;
19739 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19740 PyObject
*resultobj
= 0;
19741 wxDC
*arg1
= (wxDC
*) 0 ;
19743 wxPoint
*arg3
= (wxPoint
*) 0 ;
19744 int arg4
= (int) 0 ;
19745 int arg5
= (int) 0 ;
19746 int arg6
= (int) wxODDEVEN_RULE
;
19755 PyObject
* obj0
= 0 ;
19756 PyObject
* obj1
= 0 ;
19757 PyObject
* obj2
= 0 ;
19758 PyObject
* obj3
= 0 ;
19759 PyObject
* obj4
= 0 ;
19760 char * kwnames
[] = {
19761 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
19764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19766 if (!SWIG_IsOK(res1
)) {
19767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
19769 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19771 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19772 if (arg3
== NULL
) SWIG_fail
;
19775 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19776 if (!SWIG_IsOK(ecode4
)) {
19777 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
19779 arg4
= static_cast< int >(val4
);
19782 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19783 if (!SWIG_IsOK(ecode5
)) {
19784 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
19786 arg5
= static_cast< int >(val5
);
19789 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
19790 if (!SWIG_IsOK(ecode6
)) {
19791 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
19793 arg6
= static_cast< int >(val6
);
19796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19797 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
19798 wxPyEndAllowThreads(__tstate
);
19799 if (PyErr_Occurred()) SWIG_fail
;
19801 resultobj
= SWIG_Py_Void();
19803 if (arg3
) delete [] arg3
;
19808 if (arg3
) delete [] arg3
;
19814 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19815 PyObject
*resultobj
= 0;
19816 wxDC
*arg1
= (wxDC
*) 0 ;
19817 wxString
*arg2
= 0 ;
19819 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19820 int arg5
= (int) -1 ;
19823 bool temp2
= false ;
19829 PyObject
* obj0
= 0 ;
19830 PyObject
* obj1
= 0 ;
19831 PyObject
* obj2
= 0 ;
19832 PyObject
* obj3
= 0 ;
19833 PyObject
* obj4
= 0 ;
19834 char * kwnames
[] = {
19835 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
19838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19840 if (!SWIG_IsOK(res1
)) {
19841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
19843 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19845 arg2
= wxString_in_helper(obj1
);
19846 if (arg2
== NULL
) SWIG_fail
;
19851 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
19854 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19855 if (!SWIG_IsOK(ecode4
)) {
19856 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
19858 arg4
= static_cast< int >(val4
);
19861 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19862 if (!SWIG_IsOK(ecode5
)) {
19863 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
19865 arg5
= static_cast< int >(val5
);
19868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19869 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
19870 wxPyEndAllowThreads(__tstate
);
19871 if (PyErr_Occurred()) SWIG_fail
;
19873 resultobj
= SWIG_Py_Void();
19888 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19889 PyObject
*resultobj
= 0;
19890 wxDC
*arg1
= (wxDC
*) 0 ;
19891 wxString
*arg2
= 0 ;
19892 wxBitmap
*arg3
= 0 ;
19894 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19895 int arg6
= (int) -1 ;
19899 bool temp2
= false ;
19907 PyObject
* obj0
= 0 ;
19908 PyObject
* obj1
= 0 ;
19909 PyObject
* obj2
= 0 ;
19910 PyObject
* obj3
= 0 ;
19911 PyObject
* obj4
= 0 ;
19912 PyObject
* obj5
= 0 ;
19913 char * kwnames
[] = {
19914 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
19917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19919 if (!SWIG_IsOK(res1
)) {
19920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
19922 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19924 arg2
= wxString_in_helper(obj1
);
19925 if (arg2
== NULL
) SWIG_fail
;
19928 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19929 if (!SWIG_IsOK(res3
)) {
19930 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
19933 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
19935 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
19938 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
19941 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19942 if (!SWIG_IsOK(ecode5
)) {
19943 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
19945 arg5
= static_cast< int >(val5
);
19948 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19949 if (!SWIG_IsOK(ecode6
)) {
19950 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
19952 arg6
= static_cast< int >(val6
);
19955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19956 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
19957 wxPyEndAllowThreads(__tstate
);
19958 if (PyErr_Occurred()) SWIG_fail
;
19960 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
19975 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19976 PyObject
*resultobj
= 0;
19977 wxDC
*arg1
= (wxDC
*) 0 ;
19979 wxPoint
*arg3
= (wxPoint
*) 0 ;
19982 PyObject
* obj0
= 0 ;
19983 PyObject
* obj1
= 0 ;
19984 char * kwnames
[] = {
19985 (char *) "self",(char *) "points", NULL
19988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19990 if (!SWIG_IsOK(res1
)) {
19991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
19993 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19995 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19996 if (arg3
== NULL
) SWIG_fail
;
19999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20000 (arg1
)->DrawSpline(arg2
,arg3
);
20001 wxPyEndAllowThreads(__tstate
);
20002 if (PyErr_Occurred()) SWIG_fail
;
20004 resultobj
= SWIG_Py_Void();
20006 if (arg3
) delete [] arg3
;
20011 if (arg3
) delete [] arg3
;
20017 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20018 PyObject
*resultobj
= 0;
20019 wxDC
*arg1
= (wxDC
*) 0 ;
20022 PyObject
*swig_obj
[1] ;
20024 if (!args
) SWIG_fail
;
20025 swig_obj
[0] = args
;
20026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20027 if (!SWIG_IsOK(res1
)) {
20028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20030 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20034 wxPyEndAllowThreads(__tstate
);
20035 if (PyErr_Occurred()) SWIG_fail
;
20037 resultobj
= SWIG_Py_Void();
20044 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20045 PyObject
*resultobj
= 0;
20046 wxDC
*arg1
= (wxDC
*) 0 ;
20047 wxString
*arg2
= 0 ;
20051 bool temp2
= false ;
20052 PyObject
* obj0
= 0 ;
20053 PyObject
* obj1
= 0 ;
20054 char * kwnames
[] = {
20055 (char *) "self",(char *) "message", NULL
20058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20060 if (!SWIG_IsOK(res1
)) {
20061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20063 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20065 arg2
= wxString_in_helper(obj1
);
20066 if (arg2
== NULL
) SWIG_fail
;
20070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20071 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20072 wxPyEndAllowThreads(__tstate
);
20073 if (PyErr_Occurred()) SWIG_fail
;
20076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20092 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20093 PyObject
*resultobj
= 0;
20094 wxDC
*arg1
= (wxDC
*) 0 ;
20097 PyObject
*swig_obj
[1] ;
20099 if (!args
) SWIG_fail
;
20100 swig_obj
[0] = args
;
20101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20102 if (!SWIG_IsOK(res1
)) {
20103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20105 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20109 wxPyEndAllowThreads(__tstate
);
20110 if (PyErr_Occurred()) SWIG_fail
;
20112 resultobj
= SWIG_Py_Void();
20119 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20120 PyObject
*resultobj
= 0;
20121 wxDC
*arg1
= (wxDC
*) 0 ;
20124 PyObject
*swig_obj
[1] ;
20126 if (!args
) SWIG_fail
;
20127 swig_obj
[0] = args
;
20128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20129 if (!SWIG_IsOK(res1
)) {
20130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20132 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20135 (arg1
)->StartPage();
20136 wxPyEndAllowThreads(__tstate
);
20137 if (PyErr_Occurred()) SWIG_fail
;
20139 resultobj
= SWIG_Py_Void();
20146 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20147 PyObject
*resultobj
= 0;
20148 wxDC
*arg1
= (wxDC
*) 0 ;
20151 PyObject
*swig_obj
[1] ;
20153 if (!args
) SWIG_fail
;
20154 swig_obj
[0] = args
;
20155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20156 if (!SWIG_IsOK(res1
)) {
20157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20159 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20163 wxPyEndAllowThreads(__tstate
);
20164 if (PyErr_Occurred()) SWIG_fail
;
20166 resultobj
= SWIG_Py_Void();
20173 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20174 PyObject
*resultobj
= 0;
20175 wxDC
*arg1
= (wxDC
*) 0 ;
20181 PyObject
* obj0
= 0 ;
20182 PyObject
* obj1
= 0 ;
20183 char * kwnames
[] = {
20184 (char *) "self",(char *) "font", NULL
20187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20189 if (!SWIG_IsOK(res1
)) {
20190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20192 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20193 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20194 if (!SWIG_IsOK(res2
)) {
20195 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20198 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20200 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20203 (arg1
)->SetFont((wxFont
const &)*arg2
);
20204 wxPyEndAllowThreads(__tstate
);
20205 if (PyErr_Occurred()) SWIG_fail
;
20207 resultobj
= SWIG_Py_Void();
20214 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20215 PyObject
*resultobj
= 0;
20216 wxDC
*arg1
= (wxDC
*) 0 ;
20222 PyObject
* obj0
= 0 ;
20223 PyObject
* obj1
= 0 ;
20224 char * kwnames
[] = {
20225 (char *) "self",(char *) "pen", NULL
20228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20230 if (!SWIG_IsOK(res1
)) {
20231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20233 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20234 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20235 if (!SWIG_IsOK(res2
)) {
20236 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20239 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20241 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20244 (arg1
)->SetPen((wxPen
const &)*arg2
);
20245 wxPyEndAllowThreads(__tstate
);
20246 if (PyErr_Occurred()) SWIG_fail
;
20248 resultobj
= SWIG_Py_Void();
20255 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20256 PyObject
*resultobj
= 0;
20257 wxDC
*arg1
= (wxDC
*) 0 ;
20258 wxBrush
*arg2
= 0 ;
20263 PyObject
* obj0
= 0 ;
20264 PyObject
* obj1
= 0 ;
20265 char * kwnames
[] = {
20266 (char *) "self",(char *) "brush", NULL
20269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20271 if (!SWIG_IsOK(res1
)) {
20272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20274 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20275 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20276 if (!SWIG_IsOK(res2
)) {
20277 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20280 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20282 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20285 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20286 wxPyEndAllowThreads(__tstate
);
20287 if (PyErr_Occurred()) SWIG_fail
;
20289 resultobj
= SWIG_Py_Void();
20296 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20297 PyObject
*resultobj
= 0;
20298 wxDC
*arg1
= (wxDC
*) 0 ;
20299 wxBrush
*arg2
= 0 ;
20304 PyObject
* obj0
= 0 ;
20305 PyObject
* obj1
= 0 ;
20306 char * kwnames
[] = {
20307 (char *) "self",(char *) "brush", NULL
20310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20312 if (!SWIG_IsOK(res1
)) {
20313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20315 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20316 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20317 if (!SWIG_IsOK(res2
)) {
20318 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20321 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20323 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20326 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20327 wxPyEndAllowThreads(__tstate
);
20328 if (PyErr_Occurred()) SWIG_fail
;
20330 resultobj
= SWIG_Py_Void();
20337 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20338 PyObject
*resultobj
= 0;
20339 wxDC
*arg1
= (wxDC
*) 0 ;
20345 PyObject
* obj0
= 0 ;
20346 PyObject
* obj1
= 0 ;
20347 char * kwnames
[] = {
20348 (char *) "self",(char *) "mode", NULL
20351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20353 if (!SWIG_IsOK(res1
)) {
20354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20356 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20357 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20358 if (!SWIG_IsOK(ecode2
)) {
20359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20361 arg2
= static_cast< int >(val2
);
20363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20364 (arg1
)->SetBackgroundMode(arg2
);
20365 wxPyEndAllowThreads(__tstate
);
20366 if (PyErr_Occurred()) SWIG_fail
;
20368 resultobj
= SWIG_Py_Void();
20375 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20376 PyObject
*resultobj
= 0;
20377 wxDC
*arg1
= (wxDC
*) 0 ;
20378 wxPalette
*arg2
= 0 ;
20383 PyObject
* obj0
= 0 ;
20384 PyObject
* obj1
= 0 ;
20385 char * kwnames
[] = {
20386 (char *) "self",(char *) "palette", NULL
20389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20391 if (!SWIG_IsOK(res1
)) {
20392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20394 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20395 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20396 if (!SWIG_IsOK(res2
)) {
20397 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20400 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20402 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20405 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20406 wxPyEndAllowThreads(__tstate
);
20407 if (PyErr_Occurred()) SWIG_fail
;
20409 resultobj
= SWIG_Py_Void();
20416 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20417 PyObject
*resultobj
= 0;
20418 wxDC
*arg1
= (wxDC
*) 0 ;
20421 PyObject
*swig_obj
[1] ;
20423 if (!args
) SWIG_fail
;
20424 swig_obj
[0] = args
;
20425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20426 if (!SWIG_IsOK(res1
)) {
20427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20429 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20432 (arg1
)->DestroyClippingRegion();
20433 wxPyEndAllowThreads(__tstate
);
20434 if (PyErr_Occurred()) SWIG_fail
;
20436 resultobj
= SWIG_Py_Void();
20443 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20444 PyObject
*resultobj
= 0;
20445 wxDC
*arg1
= (wxDC
*) 0 ;
20446 int *arg2
= (int *) 0 ;
20447 int *arg3
= (int *) 0 ;
20448 int *arg4
= (int *) 0 ;
20449 int *arg5
= (int *) 0 ;
20453 int res2
= SWIG_TMPOBJ
;
20455 int res3
= SWIG_TMPOBJ
;
20457 int res4
= SWIG_TMPOBJ
;
20459 int res5
= SWIG_TMPOBJ
;
20460 PyObject
*swig_obj
[1] ;
20466 if (!args
) SWIG_fail
;
20467 swig_obj
[0] = args
;
20468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20469 if (!SWIG_IsOK(res1
)) {
20470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20472 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20475 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20476 wxPyEndAllowThreads(__tstate
);
20477 if (PyErr_Occurred()) SWIG_fail
;
20479 resultobj
= SWIG_Py_Void();
20480 if (SWIG_IsTmpObj(res2
)) {
20481 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20483 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20484 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20486 if (SWIG_IsTmpObj(res3
)) {
20487 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20489 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20490 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20492 if (SWIG_IsTmpObj(res4
)) {
20493 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20495 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20496 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20498 if (SWIG_IsTmpObj(res5
)) {
20499 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20501 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20502 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20510 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20511 PyObject
*resultobj
= 0;
20512 wxDC
*arg1
= (wxDC
*) 0 ;
20516 PyObject
*swig_obj
[1] ;
20518 if (!args
) SWIG_fail
;
20519 swig_obj
[0] = args
;
20520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20521 if (!SWIG_IsOK(res1
)) {
20522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20524 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20527 result
= wxDC_GetClippingRect(arg1
);
20528 wxPyEndAllowThreads(__tstate
);
20529 if (PyErr_Occurred()) SWIG_fail
;
20531 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20538 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20539 PyObject
*resultobj
= 0;
20540 wxDC
*arg1
= (wxDC
*) 0 ;
20544 PyObject
*swig_obj
[1] ;
20546 if (!args
) SWIG_fail
;
20547 swig_obj
[0] = args
;
20548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20549 if (!SWIG_IsOK(res1
)) {
20550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20552 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20555 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20556 wxPyEndAllowThreads(__tstate
);
20557 if (PyErr_Occurred()) SWIG_fail
;
20559 resultobj
= SWIG_From_int(static_cast< int >(result
));
20566 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20567 PyObject
*resultobj
= 0;
20568 wxDC
*arg1
= (wxDC
*) 0 ;
20572 PyObject
*swig_obj
[1] ;
20574 if (!args
) SWIG_fail
;
20575 swig_obj
[0] = args
;
20576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20577 if (!SWIG_IsOK(res1
)) {
20578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20580 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20583 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20584 wxPyEndAllowThreads(__tstate
);
20585 if (PyErr_Occurred()) SWIG_fail
;
20587 resultobj
= SWIG_From_int(static_cast< int >(result
));
20594 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20595 PyObject
*resultobj
= 0;
20596 wxDC
*arg1
= (wxDC
*) 0 ;
20597 wxString
*arg2
= 0 ;
20598 int *arg3
= (int *) 0 ;
20599 int *arg4
= (int *) 0 ;
20602 bool temp2
= false ;
20604 int res3
= SWIG_TMPOBJ
;
20606 int res4
= SWIG_TMPOBJ
;
20607 PyObject
* obj0
= 0 ;
20608 PyObject
* obj1
= 0 ;
20609 char * kwnames
[] = {
20610 (char *) "self",(char *) "string", NULL
20615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20617 if (!SWIG_IsOK(res1
)) {
20618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20620 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20622 arg2
= wxString_in_helper(obj1
);
20623 if (arg2
== NULL
) SWIG_fail
;
20627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20628 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
20629 wxPyEndAllowThreads(__tstate
);
20630 if (PyErr_Occurred()) SWIG_fail
;
20632 resultobj
= SWIG_Py_Void();
20633 if (SWIG_IsTmpObj(res3
)) {
20634 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20636 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20637 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20639 if (SWIG_IsTmpObj(res4
)) {
20640 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20642 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20643 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20659 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20660 PyObject
*resultobj
= 0;
20661 wxDC
*arg1
= (wxDC
*) 0 ;
20662 wxString
*arg2
= 0 ;
20663 int *arg3
= (int *) 0 ;
20664 int *arg4
= (int *) 0 ;
20665 int *arg5
= (int *) 0 ;
20666 int *arg6
= (int *) 0 ;
20667 wxFont
*arg7
= (wxFont
*) NULL
;
20670 bool temp2
= false ;
20672 int res3
= SWIG_TMPOBJ
;
20674 int res4
= SWIG_TMPOBJ
;
20676 int res5
= SWIG_TMPOBJ
;
20678 int res6
= SWIG_TMPOBJ
;
20681 PyObject
* obj0
= 0 ;
20682 PyObject
* obj1
= 0 ;
20683 PyObject
* obj2
= 0 ;
20684 char * kwnames
[] = {
20685 (char *) "self",(char *) "string",(char *) "font", NULL
20692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20694 if (!SWIG_IsOK(res1
)) {
20695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20697 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20699 arg2
= wxString_in_helper(obj1
);
20700 if (arg2
== NULL
) SWIG_fail
;
20704 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
20705 if (!SWIG_IsOK(res7
)) {
20706 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
20708 arg7
= reinterpret_cast< wxFont
* >(argp7
);
20711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20712 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20713 wxPyEndAllowThreads(__tstate
);
20714 if (PyErr_Occurred()) SWIG_fail
;
20716 resultobj
= SWIG_Py_Void();
20717 if (SWIG_IsTmpObj(res3
)) {
20718 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20720 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20721 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20723 if (SWIG_IsTmpObj(res4
)) {
20724 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20726 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20727 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20729 if (SWIG_IsTmpObj(res5
)) {
20730 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20732 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20733 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20735 if (SWIG_IsTmpObj(res6
)) {
20736 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
20738 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20739 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
20755 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20756 PyObject
*resultobj
= 0;
20757 wxDC
*arg1
= (wxDC
*) 0 ;
20758 wxString
*arg2
= 0 ;
20759 int *arg3
= (int *) 0 ;
20760 int *arg4
= (int *) 0 ;
20761 int *arg5
= (int *) 0 ;
20762 wxFont
*arg6
= (wxFont
*) NULL
;
20765 bool temp2
= false ;
20767 int res3
= SWIG_TMPOBJ
;
20769 int res4
= SWIG_TMPOBJ
;
20771 int res5
= SWIG_TMPOBJ
;
20774 PyObject
* obj0
= 0 ;
20775 PyObject
* obj1
= 0 ;
20776 PyObject
* obj2
= 0 ;
20777 char * kwnames
[] = {
20778 (char *) "self",(char *) "text",(char *) "font", NULL
20784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20786 if (!SWIG_IsOK(res1
)) {
20787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20789 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20791 arg2
= wxString_in_helper(obj1
);
20792 if (arg2
== NULL
) SWIG_fail
;
20796 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
20797 if (!SWIG_IsOK(res6
)) {
20798 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
20800 arg6
= reinterpret_cast< wxFont
* >(argp6
);
20803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20804 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
20805 wxPyEndAllowThreads(__tstate
);
20806 if (PyErr_Occurred()) SWIG_fail
;
20808 resultobj
= SWIG_Py_Void();
20809 if (SWIG_IsTmpObj(res3
)) {
20810 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20812 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20813 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20815 if (SWIG_IsTmpObj(res4
)) {
20816 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20818 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20819 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20821 if (SWIG_IsTmpObj(res5
)) {
20822 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20824 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20825 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20841 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20842 PyObject
*resultobj
= 0;
20843 wxDC
*arg1
= (wxDC
*) 0 ;
20844 wxString
*arg2
= 0 ;
20848 bool temp2
= false ;
20849 PyObject
* obj0
= 0 ;
20850 PyObject
* obj1
= 0 ;
20851 char * kwnames
[] = {
20852 (char *) "self",(char *) "text", NULL
20855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20857 if (!SWIG_IsOK(res1
)) {
20858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
20860 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20862 arg2
= wxString_in_helper(obj1
);
20863 if (arg2
== NULL
) SWIG_fail
;
20867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20868 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
20869 wxPyEndAllowThreads(__tstate
);
20870 if (PyErr_Occurred()) SWIG_fail
;
20873 resultobj
= wxArrayInt2PyList_helper(result
);
20889 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20890 PyObject
*resultobj
= 0;
20891 wxDC
*arg1
= (wxDC
*) 0 ;
20895 PyObject
*swig_obj
[1] ;
20897 if (!args
) SWIG_fail
;
20898 swig_obj
[0] = args
;
20899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20900 if (!SWIG_IsOK(res1
)) {
20901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
20903 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20906 result
= (arg1
)->GetSize();
20907 wxPyEndAllowThreads(__tstate
);
20908 if (PyErr_Occurred()) SWIG_fail
;
20910 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20917 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20918 PyObject
*resultobj
= 0;
20919 wxDC
*arg1
= (wxDC
*) 0 ;
20920 int *arg2
= (int *) 0 ;
20921 int *arg3
= (int *) 0 ;
20925 int res2
= SWIG_TMPOBJ
;
20927 int res3
= SWIG_TMPOBJ
;
20928 PyObject
*swig_obj
[1] ;
20932 if (!args
) SWIG_fail
;
20933 swig_obj
[0] = args
;
20934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20935 if (!SWIG_IsOK(res1
)) {
20936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
20938 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20941 (arg1
)->GetSize(arg2
,arg3
);
20942 wxPyEndAllowThreads(__tstate
);
20943 if (PyErr_Occurred()) SWIG_fail
;
20945 resultobj
= SWIG_Py_Void();
20946 if (SWIG_IsTmpObj(res2
)) {
20947 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20949 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20950 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20952 if (SWIG_IsTmpObj(res3
)) {
20953 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20955 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20956 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20964 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20965 PyObject
*resultobj
= 0;
20966 wxDC
*arg1
= (wxDC
*) 0 ;
20970 PyObject
*swig_obj
[1] ;
20972 if (!args
) SWIG_fail
;
20973 swig_obj
[0] = args
;
20974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20975 if (!SWIG_IsOK(res1
)) {
20976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
20978 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20981 result
= ((wxDC
const *)arg1
)->GetSizeMM();
20982 wxPyEndAllowThreads(__tstate
);
20983 if (PyErr_Occurred()) SWIG_fail
;
20985 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20992 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20993 PyObject
*resultobj
= 0;
20994 wxDC
*arg1
= (wxDC
*) 0 ;
20995 int *arg2
= (int *) 0 ;
20996 int *arg3
= (int *) 0 ;
21000 int res2
= SWIG_TMPOBJ
;
21002 int res3
= SWIG_TMPOBJ
;
21003 PyObject
*swig_obj
[1] ;
21007 if (!args
) SWIG_fail
;
21008 swig_obj
[0] = args
;
21009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21010 if (!SWIG_IsOK(res1
)) {
21011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21013 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21016 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21017 wxPyEndAllowThreads(__tstate
);
21018 if (PyErr_Occurred()) SWIG_fail
;
21020 resultobj
= SWIG_Py_Void();
21021 if (SWIG_IsTmpObj(res2
)) {
21022 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21024 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21025 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21027 if (SWIG_IsTmpObj(res3
)) {
21028 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21030 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21031 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21039 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21040 PyObject
*resultobj
= 0;
21041 wxDC
*arg1
= (wxDC
*) 0 ;
21048 PyObject
* obj0
= 0 ;
21049 PyObject
* obj1
= 0 ;
21050 char * kwnames
[] = {
21051 (char *) "self",(char *) "x", NULL
21054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21056 if (!SWIG_IsOK(res1
)) {
21057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21059 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21060 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21061 if (!SWIG_IsOK(ecode2
)) {
21062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21064 arg2
= static_cast< int >(val2
);
21066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21067 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21068 wxPyEndAllowThreads(__tstate
);
21069 if (PyErr_Occurred()) SWIG_fail
;
21071 resultobj
= SWIG_From_int(static_cast< int >(result
));
21078 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21079 PyObject
*resultobj
= 0;
21080 wxDC
*arg1
= (wxDC
*) 0 ;
21087 PyObject
* obj0
= 0 ;
21088 PyObject
* obj1
= 0 ;
21089 char * kwnames
[] = {
21090 (char *) "self",(char *) "y", NULL
21093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21095 if (!SWIG_IsOK(res1
)) {
21096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21098 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21099 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21100 if (!SWIG_IsOK(ecode2
)) {
21101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21103 arg2
= static_cast< int >(val2
);
21105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21106 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21107 wxPyEndAllowThreads(__tstate
);
21108 if (PyErr_Occurred()) SWIG_fail
;
21110 resultobj
= SWIG_From_int(static_cast< int >(result
));
21117 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21118 PyObject
*resultobj
= 0;
21119 wxDC
*arg1
= (wxDC
*) 0 ;
21126 PyObject
* obj0
= 0 ;
21127 PyObject
* obj1
= 0 ;
21128 char * kwnames
[] = {
21129 (char *) "self",(char *) "x", NULL
21132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21134 if (!SWIG_IsOK(res1
)) {
21135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21137 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21138 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21139 if (!SWIG_IsOK(ecode2
)) {
21140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21142 arg2
= static_cast< int >(val2
);
21144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21145 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21146 wxPyEndAllowThreads(__tstate
);
21147 if (PyErr_Occurred()) SWIG_fail
;
21149 resultobj
= SWIG_From_int(static_cast< int >(result
));
21156 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21157 PyObject
*resultobj
= 0;
21158 wxDC
*arg1
= (wxDC
*) 0 ;
21165 PyObject
* obj0
= 0 ;
21166 PyObject
* obj1
= 0 ;
21167 char * kwnames
[] = {
21168 (char *) "self",(char *) "y", NULL
21171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21173 if (!SWIG_IsOK(res1
)) {
21174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21176 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21177 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21178 if (!SWIG_IsOK(ecode2
)) {
21179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21181 arg2
= static_cast< int >(val2
);
21183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21184 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21185 wxPyEndAllowThreads(__tstate
);
21186 if (PyErr_Occurred()) SWIG_fail
;
21188 resultobj
= SWIG_From_int(static_cast< int >(result
));
21195 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21196 PyObject
*resultobj
= 0;
21197 wxDC
*arg1
= (wxDC
*) 0 ;
21204 PyObject
* obj0
= 0 ;
21205 PyObject
* obj1
= 0 ;
21206 char * kwnames
[] = {
21207 (char *) "self",(char *) "x", NULL
21210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21212 if (!SWIG_IsOK(res1
)) {
21213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21215 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21216 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21217 if (!SWIG_IsOK(ecode2
)) {
21218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21220 arg2
= static_cast< int >(val2
);
21222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21223 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21224 wxPyEndAllowThreads(__tstate
);
21225 if (PyErr_Occurred()) SWIG_fail
;
21227 resultobj
= SWIG_From_int(static_cast< int >(result
));
21234 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21235 PyObject
*resultobj
= 0;
21236 wxDC
*arg1
= (wxDC
*) 0 ;
21243 PyObject
* obj0
= 0 ;
21244 PyObject
* obj1
= 0 ;
21245 char * kwnames
[] = {
21246 (char *) "self",(char *) "y", NULL
21249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21251 if (!SWIG_IsOK(res1
)) {
21252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21254 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21255 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21256 if (!SWIG_IsOK(ecode2
)) {
21257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21259 arg2
= static_cast< int >(val2
);
21261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21262 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21263 wxPyEndAllowThreads(__tstate
);
21264 if (PyErr_Occurred()) SWIG_fail
;
21266 resultobj
= SWIG_From_int(static_cast< int >(result
));
21273 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21274 PyObject
*resultobj
= 0;
21275 wxDC
*arg1
= (wxDC
*) 0 ;
21282 PyObject
* obj0
= 0 ;
21283 PyObject
* obj1
= 0 ;
21284 char * kwnames
[] = {
21285 (char *) "self",(char *) "x", NULL
21288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21290 if (!SWIG_IsOK(res1
)) {
21291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21293 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21294 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21295 if (!SWIG_IsOK(ecode2
)) {
21296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21298 arg2
= static_cast< int >(val2
);
21300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21301 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21302 wxPyEndAllowThreads(__tstate
);
21303 if (PyErr_Occurred()) SWIG_fail
;
21305 resultobj
= SWIG_From_int(static_cast< int >(result
));
21312 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21313 PyObject
*resultobj
= 0;
21314 wxDC
*arg1
= (wxDC
*) 0 ;
21321 PyObject
* obj0
= 0 ;
21322 PyObject
* obj1
= 0 ;
21323 char * kwnames
[] = {
21324 (char *) "self",(char *) "y", NULL
21327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21329 if (!SWIG_IsOK(res1
)) {
21330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21332 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21333 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21334 if (!SWIG_IsOK(ecode2
)) {
21335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21337 arg2
= static_cast< int >(val2
);
21339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21340 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21341 wxPyEndAllowThreads(__tstate
);
21342 if (PyErr_Occurred()) SWIG_fail
;
21344 resultobj
= SWIG_From_int(static_cast< int >(result
));
21351 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21352 PyObject
*resultobj
= 0;
21353 wxDC
*arg1
= (wxDC
*) 0 ;
21357 PyObject
*swig_obj
[1] ;
21359 if (!args
) SWIG_fail
;
21360 swig_obj
[0] = args
;
21361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21362 if (!SWIG_IsOK(res1
)) {
21363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21365 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21368 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21369 wxPyEndAllowThreads(__tstate
);
21370 if (PyErr_Occurred()) SWIG_fail
;
21373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21381 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21382 PyObject
*resultobj
= 0;
21383 wxDC
*arg1
= (wxDC
*) 0 ;
21387 PyObject
*swig_obj
[1] ;
21389 if (!args
) SWIG_fail
;
21390 swig_obj
[0] = args
;
21391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21392 if (!SWIG_IsOK(res1
)) {
21393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21395 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21398 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21399 wxPyEndAllowThreads(__tstate
);
21400 if (PyErr_Occurred()) SWIG_fail
;
21403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21411 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21412 PyObject
*resultobj
= 0;
21413 wxDC
*arg1
= (wxDC
*) 0 ;
21417 PyObject
*swig_obj
[1] ;
21419 if (!args
) SWIG_fail
;
21420 swig_obj
[0] = args
;
21421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21422 if (!SWIG_IsOK(res1
)) {
21423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21425 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21428 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21429 wxPyEndAllowThreads(__tstate
);
21430 if (PyErr_Occurred()) SWIG_fail
;
21432 resultobj
= SWIG_From_int(static_cast< int >(result
));
21439 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21440 PyObject
*resultobj
= 0;
21441 wxDC
*arg1
= (wxDC
*) 0 ;
21445 PyObject
*swig_obj
[1] ;
21447 if (!args
) SWIG_fail
;
21448 swig_obj
[0] = args
;
21449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21450 if (!SWIG_IsOK(res1
)) {
21451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21453 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21456 result
= ((wxDC
const *)arg1
)->GetPPI();
21457 wxPyEndAllowThreads(__tstate
);
21458 if (PyErr_Occurred()) SWIG_fail
;
21460 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21467 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21468 PyObject
*resultobj
= 0;
21469 wxDC
*arg1
= (wxDC
*) 0 ;
21473 PyObject
*swig_obj
[1] ;
21475 if (!args
) SWIG_fail
;
21476 swig_obj
[0] = args
;
21477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21478 if (!SWIG_IsOK(res1
)) {
21479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
21481 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21484 result
= (bool)((wxDC
const *)arg1
)->IsOk();
21485 wxPyEndAllowThreads(__tstate
);
21486 if (PyErr_Occurred()) SWIG_fail
;
21489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21497 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21498 PyObject
*resultobj
= 0;
21499 wxDC
*arg1
= (wxDC
*) 0 ;
21503 PyObject
*swig_obj
[1] ;
21505 if (!args
) SWIG_fail
;
21506 swig_obj
[0] = args
;
21507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21508 if (!SWIG_IsOK(res1
)) {
21509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21511 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21514 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21515 wxPyEndAllowThreads(__tstate
);
21516 if (PyErr_Occurred()) SWIG_fail
;
21518 resultobj
= SWIG_From_int(static_cast< int >(result
));
21525 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21526 PyObject
*resultobj
= 0;
21527 wxDC
*arg1
= (wxDC
*) 0 ;
21528 wxBrush
*result
= 0 ;
21531 PyObject
*swig_obj
[1] ;
21533 if (!args
) SWIG_fail
;
21534 swig_obj
[0] = args
;
21535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21536 if (!SWIG_IsOK(res1
)) {
21537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21539 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21543 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21544 result
= (wxBrush
*) &_result_ref
;
21546 wxPyEndAllowThreads(__tstate
);
21547 if (PyErr_Occurred()) SWIG_fail
;
21550 wxBrush
* resultptr
= new wxBrush(*result
);
21551 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21559 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21560 PyObject
*resultobj
= 0;
21561 wxDC
*arg1
= (wxDC
*) 0 ;
21562 wxBrush
*result
= 0 ;
21565 PyObject
*swig_obj
[1] ;
21567 if (!args
) SWIG_fail
;
21568 swig_obj
[0] = args
;
21569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21570 if (!SWIG_IsOK(res1
)) {
21571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21573 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21577 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21578 result
= (wxBrush
*) &_result_ref
;
21580 wxPyEndAllowThreads(__tstate
);
21581 if (PyErr_Occurred()) SWIG_fail
;
21584 wxBrush
* resultptr
= new wxBrush(*result
);
21585 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21593 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21594 PyObject
*resultobj
= 0;
21595 wxDC
*arg1
= (wxDC
*) 0 ;
21596 wxFont
*result
= 0 ;
21599 PyObject
*swig_obj
[1] ;
21601 if (!args
) SWIG_fail
;
21602 swig_obj
[0] = args
;
21603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21604 if (!SWIG_IsOK(res1
)) {
21605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21607 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21611 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
21612 result
= (wxFont
*) &_result_ref
;
21614 wxPyEndAllowThreads(__tstate
);
21615 if (PyErr_Occurred()) SWIG_fail
;
21618 wxFont
* resultptr
= new wxFont(*result
);
21619 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21627 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21628 PyObject
*resultobj
= 0;
21629 wxDC
*arg1
= (wxDC
*) 0 ;
21630 wxPen
*result
= 0 ;
21633 PyObject
*swig_obj
[1] ;
21635 if (!args
) SWIG_fail
;
21636 swig_obj
[0] = args
;
21637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21638 if (!SWIG_IsOK(res1
)) {
21639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
21641 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21645 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
21646 result
= (wxPen
*) &_result_ref
;
21648 wxPyEndAllowThreads(__tstate
);
21649 if (PyErr_Occurred()) SWIG_fail
;
21652 wxPen
* resultptr
= new wxPen(*result
);
21653 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
21661 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21662 PyObject
*resultobj
= 0;
21663 wxDC
*arg1
= (wxDC
*) 0 ;
21664 wxColour
*result
= 0 ;
21667 PyObject
*swig_obj
[1] ;
21669 if (!args
) SWIG_fail
;
21670 swig_obj
[0] = args
;
21671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21672 if (!SWIG_IsOK(res1
)) {
21673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21675 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21679 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
21680 result
= (wxColour
*) &_result_ref
;
21682 wxPyEndAllowThreads(__tstate
);
21683 if (PyErr_Occurred()) SWIG_fail
;
21685 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21692 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21693 PyObject
*resultobj
= 0;
21694 wxDC
*arg1
= (wxDC
*) 0 ;
21695 wxColour
*result
= 0 ;
21698 PyObject
*swig_obj
[1] ;
21700 if (!args
) SWIG_fail
;
21701 swig_obj
[0] = args
;
21702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21703 if (!SWIG_IsOK(res1
)) {
21704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
21706 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21710 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
21711 result
= (wxColour
*) &_result_ref
;
21713 wxPyEndAllowThreads(__tstate
);
21714 if (PyErr_Occurred()) SWIG_fail
;
21716 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21723 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21724 PyObject
*resultobj
= 0;
21725 wxDC
*arg1
= (wxDC
*) 0 ;
21726 wxColour
*arg2
= 0 ;
21730 PyObject
* obj0
= 0 ;
21731 PyObject
* obj1
= 0 ;
21732 char * kwnames
[] = {
21733 (char *) "self",(char *) "colour", NULL
21736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21738 if (!SWIG_IsOK(res1
)) {
21739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
21741 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21744 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21748 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
21749 wxPyEndAllowThreads(__tstate
);
21750 if (PyErr_Occurred()) SWIG_fail
;
21752 resultobj
= SWIG_Py_Void();
21759 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21760 PyObject
*resultobj
= 0;
21761 wxDC
*arg1
= (wxDC
*) 0 ;
21762 wxColour
*arg2
= 0 ;
21766 PyObject
* obj0
= 0 ;
21767 PyObject
* obj1
= 0 ;
21768 char * kwnames
[] = {
21769 (char *) "self",(char *) "colour", NULL
21772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21774 if (!SWIG_IsOK(res1
)) {
21775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21777 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21780 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21784 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
21785 wxPyEndAllowThreads(__tstate
);
21786 if (PyErr_Occurred()) SWIG_fail
;
21788 resultobj
= SWIG_Py_Void();
21795 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21796 PyObject
*resultobj
= 0;
21797 wxDC
*arg1
= (wxDC
*) 0 ;
21801 PyObject
*swig_obj
[1] ;
21803 if (!args
) SWIG_fail
;
21804 swig_obj
[0] = args
;
21805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21806 if (!SWIG_IsOK(res1
)) {
21807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21809 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21812 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
21813 wxPyEndAllowThreads(__tstate
);
21814 if (PyErr_Occurred()) SWIG_fail
;
21816 resultobj
= SWIG_From_int(static_cast< int >(result
));
21823 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21824 PyObject
*resultobj
= 0;
21825 wxDC
*arg1
= (wxDC
*) 0 ;
21831 PyObject
* obj0
= 0 ;
21832 PyObject
* obj1
= 0 ;
21833 char * kwnames
[] = {
21834 (char *) "self",(char *) "mode", NULL
21837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21839 if (!SWIG_IsOK(res1
)) {
21840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
21842 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21843 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21844 if (!SWIG_IsOK(ecode2
)) {
21845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
21847 arg2
= static_cast< int >(val2
);
21849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21850 (arg1
)->SetMapMode(arg2
);
21851 wxPyEndAllowThreads(__tstate
);
21852 if (PyErr_Occurred()) SWIG_fail
;
21854 resultobj
= SWIG_Py_Void();
21861 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21862 PyObject
*resultobj
= 0;
21863 wxDC
*arg1
= (wxDC
*) 0 ;
21864 double *arg2
= (double *) 0 ;
21865 double *arg3
= (double *) 0 ;
21869 int res2
= SWIG_TMPOBJ
;
21871 int res3
= SWIG_TMPOBJ
;
21872 PyObject
*swig_obj
[1] ;
21876 if (!args
) SWIG_fail
;
21877 swig_obj
[0] = args
;
21878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21879 if (!SWIG_IsOK(res1
)) {
21880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
21882 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21885 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
21886 wxPyEndAllowThreads(__tstate
);
21887 if (PyErr_Occurred()) SWIG_fail
;
21889 resultobj
= SWIG_Py_Void();
21890 if (SWIG_IsTmpObj(res2
)) {
21891 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
21893 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21894 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
21896 if (SWIG_IsTmpObj(res3
)) {
21897 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
21899 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21900 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
21908 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21909 PyObject
*resultobj
= 0;
21910 wxDC
*arg1
= (wxDC
*) 0 ;
21919 PyObject
* obj0
= 0 ;
21920 PyObject
* obj1
= 0 ;
21921 PyObject
* obj2
= 0 ;
21922 char * kwnames
[] = {
21923 (char *) "self",(char *) "x",(char *) "y", NULL
21926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21928 if (!SWIG_IsOK(res1
)) {
21929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
21931 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21932 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
21933 if (!SWIG_IsOK(ecode2
)) {
21934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
21936 arg2
= static_cast< double >(val2
);
21937 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21938 if (!SWIG_IsOK(ecode3
)) {
21939 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
21941 arg3
= static_cast< double >(val3
);
21943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21944 (arg1
)->SetUserScale(arg2
,arg3
);
21945 wxPyEndAllowThreads(__tstate
);
21946 if (PyErr_Occurred()) SWIG_fail
;
21948 resultobj
= SWIG_Py_Void();
21955 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21956 PyObject
*resultobj
= 0;
21957 wxDC
*arg1
= (wxDC
*) 0 ;
21958 double *arg2
= (double *) 0 ;
21959 double *arg3
= (double *) 0 ;
21963 int res2
= SWIG_TMPOBJ
;
21965 int res3
= SWIG_TMPOBJ
;
21966 PyObject
*swig_obj
[1] ;
21970 if (!args
) SWIG_fail
;
21971 swig_obj
[0] = args
;
21972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21973 if (!SWIG_IsOK(res1
)) {
21974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
21976 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21979 (arg1
)->GetLogicalScale(arg2
,arg3
);
21980 wxPyEndAllowThreads(__tstate
);
21981 if (PyErr_Occurred()) SWIG_fail
;
21983 resultobj
= SWIG_Py_Void();
21984 if (SWIG_IsTmpObj(res2
)) {
21985 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
21987 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21988 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
21990 if (SWIG_IsTmpObj(res3
)) {
21991 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
21993 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21994 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22002 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22003 PyObject
*resultobj
= 0;
22004 wxDC
*arg1
= (wxDC
*) 0 ;
22013 PyObject
* obj0
= 0 ;
22014 PyObject
* obj1
= 0 ;
22015 PyObject
* obj2
= 0 ;
22016 char * kwnames
[] = {
22017 (char *) "self",(char *) "x",(char *) "y", NULL
22020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22022 if (!SWIG_IsOK(res1
)) {
22023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22025 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22026 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22027 if (!SWIG_IsOK(ecode2
)) {
22028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22030 arg2
= static_cast< double >(val2
);
22031 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22032 if (!SWIG_IsOK(ecode3
)) {
22033 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22035 arg3
= static_cast< double >(val3
);
22037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22038 (arg1
)->SetLogicalScale(arg2
,arg3
);
22039 wxPyEndAllowThreads(__tstate
);
22040 if (PyErr_Occurred()) SWIG_fail
;
22042 resultobj
= SWIG_Py_Void();
22049 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22050 PyObject
*resultobj
= 0;
22051 wxDC
*arg1
= (wxDC
*) 0 ;
22055 PyObject
*swig_obj
[1] ;
22057 if (!args
) SWIG_fail
;
22058 swig_obj
[0] = args
;
22059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22060 if (!SWIG_IsOK(res1
)) {
22061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22063 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22066 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22067 wxPyEndAllowThreads(__tstate
);
22068 if (PyErr_Occurred()) SWIG_fail
;
22070 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22077 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22078 PyObject
*resultobj
= 0;
22079 wxDC
*arg1
= (wxDC
*) 0 ;
22080 int *arg2
= (int *) 0 ;
22081 int *arg3
= (int *) 0 ;
22085 int res2
= SWIG_TMPOBJ
;
22087 int res3
= SWIG_TMPOBJ
;
22088 PyObject
*swig_obj
[1] ;
22092 if (!args
) SWIG_fail
;
22093 swig_obj
[0] = args
;
22094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22095 if (!SWIG_IsOK(res1
)) {
22096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22098 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22101 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22102 wxPyEndAllowThreads(__tstate
);
22103 if (PyErr_Occurred()) SWIG_fail
;
22105 resultobj
= SWIG_Py_Void();
22106 if (SWIG_IsTmpObj(res2
)) {
22107 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22109 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22110 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22112 if (SWIG_IsTmpObj(res3
)) {
22113 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22115 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22116 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22124 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22125 PyObject
*resultobj
= 0;
22126 wxDC
*arg1
= (wxDC
*) 0 ;
22135 PyObject
* obj0
= 0 ;
22136 PyObject
* obj1
= 0 ;
22137 PyObject
* obj2
= 0 ;
22138 char * kwnames
[] = {
22139 (char *) "self",(char *) "x",(char *) "y", NULL
22142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22144 if (!SWIG_IsOK(res1
)) {
22145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22147 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22148 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22149 if (!SWIG_IsOK(ecode2
)) {
22150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22152 arg2
= static_cast< int >(val2
);
22153 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22154 if (!SWIG_IsOK(ecode3
)) {
22155 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22157 arg3
= static_cast< int >(val3
);
22159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22160 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22161 wxPyEndAllowThreads(__tstate
);
22162 if (PyErr_Occurred()) SWIG_fail
;
22164 resultobj
= SWIG_Py_Void();
22171 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22172 PyObject
*resultobj
= 0;
22173 wxDC
*arg1
= (wxDC
*) 0 ;
22174 wxPoint
*arg2
= 0 ;
22178 PyObject
* obj0
= 0 ;
22179 PyObject
* obj1
= 0 ;
22180 char * kwnames
[] = {
22181 (char *) "self",(char *) "point", NULL
22184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22186 if (!SWIG_IsOK(res1
)) {
22187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22189 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22192 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22196 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22197 wxPyEndAllowThreads(__tstate
);
22198 if (PyErr_Occurred()) SWIG_fail
;
22200 resultobj
= SWIG_Py_Void();
22207 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22208 PyObject
*resultobj
= 0;
22209 wxDC
*arg1
= (wxDC
*) 0 ;
22213 PyObject
*swig_obj
[1] ;
22215 if (!args
) SWIG_fail
;
22216 swig_obj
[0] = args
;
22217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22218 if (!SWIG_IsOK(res1
)) {
22219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22221 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22224 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22225 wxPyEndAllowThreads(__tstate
);
22226 if (PyErr_Occurred()) SWIG_fail
;
22228 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22235 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22236 PyObject
*resultobj
= 0;
22237 wxDC
*arg1
= (wxDC
*) 0 ;
22238 int *arg2
= (int *) 0 ;
22239 int *arg3
= (int *) 0 ;
22243 int res2
= SWIG_TMPOBJ
;
22245 int res3
= SWIG_TMPOBJ
;
22246 PyObject
*swig_obj
[1] ;
22250 if (!args
) SWIG_fail
;
22251 swig_obj
[0] = args
;
22252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22253 if (!SWIG_IsOK(res1
)) {
22254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22256 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22259 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22260 wxPyEndAllowThreads(__tstate
);
22261 if (PyErr_Occurred()) SWIG_fail
;
22263 resultobj
= SWIG_Py_Void();
22264 if (SWIG_IsTmpObj(res2
)) {
22265 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22267 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22268 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22270 if (SWIG_IsTmpObj(res3
)) {
22271 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22273 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22274 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22282 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22283 PyObject
*resultobj
= 0;
22284 wxDC
*arg1
= (wxDC
*) 0 ;
22293 PyObject
* obj0
= 0 ;
22294 PyObject
* obj1
= 0 ;
22295 PyObject
* obj2
= 0 ;
22296 char * kwnames
[] = {
22297 (char *) "self",(char *) "x",(char *) "y", NULL
22300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22302 if (!SWIG_IsOK(res1
)) {
22303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22305 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22306 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22307 if (!SWIG_IsOK(ecode2
)) {
22308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22310 arg2
= static_cast< int >(val2
);
22311 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22312 if (!SWIG_IsOK(ecode3
)) {
22313 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22315 arg3
= static_cast< int >(val3
);
22317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22318 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22319 wxPyEndAllowThreads(__tstate
);
22320 if (PyErr_Occurred()) SWIG_fail
;
22322 resultobj
= SWIG_Py_Void();
22329 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22330 PyObject
*resultobj
= 0;
22331 wxDC
*arg1
= (wxDC
*) 0 ;
22332 wxPoint
*arg2
= 0 ;
22336 PyObject
* obj0
= 0 ;
22337 PyObject
* obj1
= 0 ;
22338 char * kwnames
[] = {
22339 (char *) "self",(char *) "point", NULL
22342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22344 if (!SWIG_IsOK(res1
)) {
22345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22347 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22350 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22354 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22355 wxPyEndAllowThreads(__tstate
);
22356 if (PyErr_Occurred()) SWIG_fail
;
22358 resultobj
= SWIG_Py_Void();
22365 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22366 PyObject
*resultobj
= 0;
22367 wxDC
*arg1
= (wxDC
*) 0 ;
22376 PyObject
* obj0
= 0 ;
22377 PyObject
* obj1
= 0 ;
22378 PyObject
* obj2
= 0 ;
22379 char * kwnames
[] = {
22380 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22385 if (!SWIG_IsOK(res1
)) {
22386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22388 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22389 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22390 if (!SWIG_IsOK(ecode2
)) {
22391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22393 arg2
= static_cast< bool >(val2
);
22394 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22395 if (!SWIG_IsOK(ecode3
)) {
22396 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22398 arg3
= static_cast< bool >(val3
);
22400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22401 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22402 wxPyEndAllowThreads(__tstate
);
22403 if (PyErr_Occurred()) SWIG_fail
;
22405 resultobj
= SWIG_Py_Void();
22412 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22413 PyObject
*resultobj
= 0;
22414 wxDC
*arg1
= (wxDC
*) 0 ;
22418 PyObject
*swig_obj
[1] ;
22420 if (!args
) SWIG_fail
;
22421 swig_obj
[0] = args
;
22422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22423 if (!SWIG_IsOK(res1
)) {
22424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22426 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22429 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22430 wxPyEndAllowThreads(__tstate
);
22431 if (PyErr_Occurred()) SWIG_fail
;
22433 resultobj
= SWIG_From_int(static_cast< int >(result
));
22440 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22441 PyObject
*resultobj
= 0;
22442 wxDC
*arg1
= (wxDC
*) 0 ;
22448 PyObject
* obj0
= 0 ;
22449 PyObject
* obj1
= 0 ;
22450 char * kwnames
[] = {
22451 (char *) "self",(char *) "function", NULL
22454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22456 if (!SWIG_IsOK(res1
)) {
22457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22459 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22460 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22461 if (!SWIG_IsOK(ecode2
)) {
22462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22464 arg2
= static_cast< int >(val2
);
22466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22467 (arg1
)->SetLogicalFunction(arg2
);
22468 wxPyEndAllowThreads(__tstate
);
22469 if (PyErr_Occurred()) SWIG_fail
;
22471 resultobj
= SWIG_Py_Void();
22478 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22479 PyObject
*resultobj
= 0;
22480 wxDC
*arg1
= (wxDC
*) 0 ;
22483 PyObject
*swig_obj
[1] ;
22485 if (!args
) SWIG_fail
;
22486 swig_obj
[0] = args
;
22487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22488 if (!SWIG_IsOK(res1
)) {
22489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22491 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22494 (arg1
)->ComputeScaleAndOrigin();
22495 wxPyEndAllowThreads(__tstate
);
22496 if (PyErr_Occurred()) SWIG_fail
;
22498 resultobj
= SWIG_Py_Void();
22505 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22506 PyObject
*resultobj
= 0;
22507 wxDC
*arg1
= (wxDC
*) 0 ;
22516 PyObject
* obj0
= 0 ;
22517 PyObject
* obj1
= 0 ;
22518 PyObject
* obj2
= 0 ;
22519 char * kwnames
[] = {
22520 (char *) "self",(char *) "x",(char *) "y", NULL
22523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22525 if (!SWIG_IsOK(res1
)) {
22526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22528 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22529 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22530 if (!SWIG_IsOK(ecode2
)) {
22531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22533 arg2
= static_cast< int >(val2
);
22534 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22535 if (!SWIG_IsOK(ecode3
)) {
22536 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22538 arg3
= static_cast< int >(val3
);
22540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22541 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22542 wxPyEndAllowThreads(__tstate
);
22543 if (PyErr_Occurred()) SWIG_fail
;
22545 resultobj
= SWIG_Py_Void();
22552 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22553 PyObject
*resultobj
= 0;
22554 wxDC
*arg1
= (wxDC
*) 0 ;
22555 wxPoint
*arg2
= 0 ;
22559 PyObject
* obj0
= 0 ;
22560 PyObject
* obj1
= 0 ;
22561 char * kwnames
[] = {
22562 (char *) "self",(char *) "point", NULL
22565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22567 if (!SWIG_IsOK(res1
)) {
22568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22570 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22573 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22577 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22578 wxPyEndAllowThreads(__tstate
);
22579 if (PyErr_Occurred()) SWIG_fail
;
22581 resultobj
= SWIG_Py_Void();
22588 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22589 PyObject
*resultobj
= 0;
22590 wxDC
*arg1
= (wxDC
*) 0 ;
22593 PyObject
*swig_obj
[1] ;
22595 if (!args
) SWIG_fail
;
22596 swig_obj
[0] = args
;
22597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22598 if (!SWIG_IsOK(res1
)) {
22599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22601 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22604 (arg1
)->ResetBoundingBox();
22605 wxPyEndAllowThreads(__tstate
);
22606 if (PyErr_Occurred()) SWIG_fail
;
22608 resultobj
= SWIG_Py_Void();
22615 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22616 PyObject
*resultobj
= 0;
22617 wxDC
*arg1
= (wxDC
*) 0 ;
22621 PyObject
*swig_obj
[1] ;
22623 if (!args
) SWIG_fail
;
22624 swig_obj
[0] = args
;
22625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22626 if (!SWIG_IsOK(res1
)) {
22627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
22629 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22632 result
= (int)((wxDC
const *)arg1
)->MinX();
22633 wxPyEndAllowThreads(__tstate
);
22634 if (PyErr_Occurred()) SWIG_fail
;
22636 resultobj
= SWIG_From_int(static_cast< int >(result
));
22643 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22644 PyObject
*resultobj
= 0;
22645 wxDC
*arg1
= (wxDC
*) 0 ;
22649 PyObject
*swig_obj
[1] ;
22651 if (!args
) SWIG_fail
;
22652 swig_obj
[0] = args
;
22653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22654 if (!SWIG_IsOK(res1
)) {
22655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
22657 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22660 result
= (int)((wxDC
const *)arg1
)->MaxX();
22661 wxPyEndAllowThreads(__tstate
);
22662 if (PyErr_Occurred()) SWIG_fail
;
22664 resultobj
= SWIG_From_int(static_cast< int >(result
));
22671 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22672 PyObject
*resultobj
= 0;
22673 wxDC
*arg1
= (wxDC
*) 0 ;
22677 PyObject
*swig_obj
[1] ;
22679 if (!args
) SWIG_fail
;
22680 swig_obj
[0] = args
;
22681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22682 if (!SWIG_IsOK(res1
)) {
22683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
22685 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22688 result
= (int)((wxDC
const *)arg1
)->MinY();
22689 wxPyEndAllowThreads(__tstate
);
22690 if (PyErr_Occurred()) SWIG_fail
;
22692 resultobj
= SWIG_From_int(static_cast< int >(result
));
22699 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22700 PyObject
*resultobj
= 0;
22701 wxDC
*arg1
= (wxDC
*) 0 ;
22705 PyObject
*swig_obj
[1] ;
22707 if (!args
) SWIG_fail
;
22708 swig_obj
[0] = args
;
22709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22710 if (!SWIG_IsOK(res1
)) {
22711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
22713 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22716 result
= (int)((wxDC
const *)arg1
)->MaxY();
22717 wxPyEndAllowThreads(__tstate
);
22718 if (PyErr_Occurred()) SWIG_fail
;
22720 resultobj
= SWIG_From_int(static_cast< int >(result
));
22727 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22728 PyObject
*resultobj
= 0;
22729 wxDC
*arg1
= (wxDC
*) 0 ;
22730 int *arg2
= (int *) 0 ;
22731 int *arg3
= (int *) 0 ;
22732 int *arg4
= (int *) 0 ;
22733 int *arg5
= (int *) 0 ;
22737 int res2
= SWIG_TMPOBJ
;
22739 int res3
= SWIG_TMPOBJ
;
22741 int res4
= SWIG_TMPOBJ
;
22743 int res5
= SWIG_TMPOBJ
;
22744 PyObject
*swig_obj
[1] ;
22750 if (!args
) SWIG_fail
;
22751 swig_obj
[0] = args
;
22752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22753 if (!SWIG_IsOK(res1
)) {
22754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22756 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22759 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
22760 wxPyEndAllowThreads(__tstate
);
22761 if (PyErr_Occurred()) SWIG_fail
;
22763 resultobj
= SWIG_Py_Void();
22764 if (SWIG_IsTmpObj(res2
)) {
22765 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22767 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22768 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22770 if (SWIG_IsTmpObj(res3
)) {
22771 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22773 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22774 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22776 if (SWIG_IsTmpObj(res4
)) {
22777 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22779 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22780 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22782 if (SWIG_IsTmpObj(res5
)) {
22783 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
22785 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22786 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
22794 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22795 PyObject
*resultobj
= 0;
22796 wxDC
*arg1
= (wxDC
*) 0 ;
22797 wxLayoutDirection result
;
22800 PyObject
*swig_obj
[1] ;
22802 if (!args
) SWIG_fail
;
22803 swig_obj
[0] = args
;
22804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22805 if (!SWIG_IsOK(res1
)) {
22806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
22808 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22811 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
22812 wxPyEndAllowThreads(__tstate
);
22813 if (PyErr_Occurred()) SWIG_fail
;
22815 resultobj
= SWIG_From_int(static_cast< int >(result
));
22822 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22823 PyObject
*resultobj
= 0;
22824 wxDC
*arg1
= (wxDC
*) 0 ;
22825 wxLayoutDirection arg2
;
22830 PyObject
* obj0
= 0 ;
22831 PyObject
* obj1
= 0 ;
22832 char * kwnames
[] = {
22833 (char *) "self",(char *) "dir", NULL
22836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22838 if (!SWIG_IsOK(res1
)) {
22839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
22841 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22843 if (!SWIG_IsOK(ecode2
)) {
22844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
22846 arg2
= static_cast< wxLayoutDirection
>(val2
);
22848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22849 (arg1
)->SetLayoutDirection(arg2
);
22850 wxPyEndAllowThreads(__tstate
);
22851 if (PyErr_Occurred()) SWIG_fail
;
22853 resultobj
= SWIG_Py_Void();
22860 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22861 PyObject
*resultobj
= 0;
22862 wxDC
*arg1
= (wxDC
*) 0 ;
22863 PyObject
*arg2
= (PyObject
*) 0 ;
22864 PyObject
*arg3
= (PyObject
*) 0 ;
22865 PyObject
*arg4
= (PyObject
*) 0 ;
22866 PyObject
*result
= 0 ;
22869 PyObject
* obj0
= 0 ;
22870 PyObject
* obj1
= 0 ;
22871 PyObject
* obj2
= 0 ;
22872 PyObject
* obj3
= 0 ;
22873 char * kwnames
[] = {
22874 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22879 if (!SWIG_IsOK(res1
)) {
22880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
22882 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22888 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
22889 wxPyEndAllowThreads(__tstate
);
22890 if (PyErr_Occurred()) SWIG_fail
;
22892 resultobj
= result
;
22899 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22900 PyObject
*resultobj
= 0;
22901 wxDC
*arg1
= (wxDC
*) 0 ;
22902 PyObject
*arg2
= (PyObject
*) 0 ;
22903 PyObject
*arg3
= (PyObject
*) 0 ;
22904 PyObject
*arg4
= (PyObject
*) 0 ;
22905 PyObject
*result
= 0 ;
22908 PyObject
* obj0
= 0 ;
22909 PyObject
* obj1
= 0 ;
22910 PyObject
* obj2
= 0 ;
22911 PyObject
* obj3
= 0 ;
22912 char * kwnames
[] = {
22913 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22918 if (!SWIG_IsOK(res1
)) {
22919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
22921 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22927 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
22928 wxPyEndAllowThreads(__tstate
);
22929 if (PyErr_Occurred()) SWIG_fail
;
22931 resultobj
= result
;
22938 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22939 PyObject
*resultobj
= 0;
22940 wxDC
*arg1
= (wxDC
*) 0 ;
22941 PyObject
*arg2
= (PyObject
*) 0 ;
22942 PyObject
*arg3
= (PyObject
*) 0 ;
22943 PyObject
*arg4
= (PyObject
*) 0 ;
22944 PyObject
*result
= 0 ;
22947 PyObject
* obj0
= 0 ;
22948 PyObject
* obj1
= 0 ;
22949 PyObject
* obj2
= 0 ;
22950 PyObject
* obj3
= 0 ;
22951 char * kwnames
[] = {
22952 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22957 if (!SWIG_IsOK(res1
)) {
22958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
22960 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22966 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
22967 wxPyEndAllowThreads(__tstate
);
22968 if (PyErr_Occurred()) SWIG_fail
;
22970 resultobj
= result
;
22977 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22978 PyObject
*resultobj
= 0;
22979 wxDC
*arg1
= (wxDC
*) 0 ;
22980 PyObject
*arg2
= (PyObject
*) 0 ;
22981 PyObject
*arg3
= (PyObject
*) 0 ;
22982 PyObject
*arg4
= (PyObject
*) 0 ;
22983 PyObject
*result
= 0 ;
22986 PyObject
* obj0
= 0 ;
22987 PyObject
* obj1
= 0 ;
22988 PyObject
* obj2
= 0 ;
22989 PyObject
* obj3
= 0 ;
22990 char * kwnames
[] = {
22991 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22996 if (!SWIG_IsOK(res1
)) {
22997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
22999 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23005 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23006 wxPyEndAllowThreads(__tstate
);
23007 if (PyErr_Occurred()) SWIG_fail
;
23009 resultobj
= result
;
23016 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23017 PyObject
*resultobj
= 0;
23018 wxDC
*arg1
= (wxDC
*) 0 ;
23019 PyObject
*arg2
= (PyObject
*) 0 ;
23020 PyObject
*arg3
= (PyObject
*) 0 ;
23021 PyObject
*arg4
= (PyObject
*) 0 ;
23022 PyObject
*result
= 0 ;
23025 PyObject
* obj0
= 0 ;
23026 PyObject
* obj1
= 0 ;
23027 PyObject
* obj2
= 0 ;
23028 PyObject
* obj3
= 0 ;
23029 char * kwnames
[] = {
23030 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23035 if (!SWIG_IsOK(res1
)) {
23036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23038 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23044 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23045 wxPyEndAllowThreads(__tstate
);
23046 if (PyErr_Occurred()) SWIG_fail
;
23048 resultobj
= result
;
23055 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23056 PyObject
*resultobj
= 0;
23057 wxDC
*arg1
= (wxDC
*) 0 ;
23058 PyObject
*arg2
= (PyObject
*) 0 ;
23059 PyObject
*arg3
= (PyObject
*) 0 ;
23060 PyObject
*arg4
= (PyObject
*) 0 ;
23061 PyObject
*arg5
= (PyObject
*) 0 ;
23062 PyObject
*result
= 0 ;
23065 PyObject
* obj0
= 0 ;
23066 PyObject
* obj1
= 0 ;
23067 PyObject
* obj2
= 0 ;
23068 PyObject
* obj3
= 0 ;
23069 PyObject
* obj4
= 0 ;
23070 char * kwnames
[] = {
23071 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23076 if (!SWIG_IsOK(res1
)) {
23077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23079 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23086 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23087 wxPyEndAllowThreads(__tstate
);
23088 if (PyErr_Occurred()) SWIG_fail
;
23090 resultobj
= result
;
23097 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23099 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23100 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23101 return SWIG_Py_Void();
23104 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23105 PyObject
*resultobj
= 0;
23106 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
23107 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
23108 wxMemoryDC
*result
= 0 ;
23111 PyObject
* obj0
= 0 ;
23112 char * kwnames
[] = {
23113 (char *) "bitmap", NULL
23116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
23118 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23119 if (!SWIG_IsOK(res1
)) {
23120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap const &""'");
23123 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap const &""'");
23125 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
23128 if (!wxPyCheckForApp()) SWIG_fail
;
23129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23130 result
= (wxMemoryDC
*)new wxMemoryDC((wxBitmap
const &)*arg1
);
23131 wxPyEndAllowThreads(__tstate
);
23132 if (PyErr_Occurred()) SWIG_fail
;
23134 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
23141 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23142 PyObject
*resultobj
= 0;
23143 wxDC
*arg1
= (wxDC
*) 0 ;
23144 wxMemoryDC
*result
= 0 ;
23147 PyObject
* obj0
= 0 ;
23148 char * kwnames
[] = {
23149 (char *) "oldDC", NULL
23152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
23153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23154 if (!SWIG_IsOK(res1
)) {
23155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
23157 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23159 if (!wxPyCheckForApp()) SWIG_fail
;
23160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23161 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
23162 wxPyEndAllowThreads(__tstate
);
23163 if (PyErr_Occurred()) SWIG_fail
;
23165 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
23172 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23173 PyObject
*resultobj
= 0;
23174 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
23175 wxBitmap
*arg2
= 0 ;
23180 PyObject
* obj0
= 0 ;
23181 PyObject
* obj1
= 0 ;
23182 char * kwnames
[] = {
23183 (char *) "self",(char *) "bitmap", NULL
23186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
23188 if (!SWIG_IsOK(res1
)) {
23189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
23191 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
23192 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23193 if (!SWIG_IsOK(res2
)) {
23194 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23197 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23199 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23202 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
23203 wxPyEndAllowThreads(__tstate
);
23204 if (PyErr_Occurred()) SWIG_fail
;
23206 resultobj
= SWIG_Py_Void();
23213 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23215 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23216 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
23217 return SWIG_Py_Void();
23220 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23221 return SWIG_Python_InitShadowInstance(args
);
23224 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23225 PyObject
*resultobj
= 0;
23226 wxScreenDC
*result
= 0 ;
23228 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23230 if (!wxPyCheckForApp()) SWIG_fail
;
23231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23232 result
= (wxScreenDC
*)new wxScreenDC();
23233 wxPyEndAllowThreads(__tstate
);
23234 if (PyErr_Occurred()) SWIG_fail
;
23236 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23243 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23244 PyObject
*resultobj
= 0;
23245 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23246 wxWindow
*arg2
= (wxWindow
*) 0 ;
23252 PyObject
* obj0
= 0 ;
23253 PyObject
* obj1
= 0 ;
23254 char * kwnames
[] = {
23255 (char *) "self",(char *) "window", NULL
23258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23260 if (!SWIG_IsOK(res1
)) {
23261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23263 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23264 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23265 if (!SWIG_IsOK(res2
)) {
23266 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23268 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23271 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23272 wxPyEndAllowThreads(__tstate
);
23273 if (PyErr_Occurred()) SWIG_fail
;
23276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23284 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23285 PyObject
*resultobj
= 0;
23286 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23287 wxRect
*arg2
= (wxRect
*) NULL
;
23293 PyObject
* obj0
= 0 ;
23294 PyObject
* obj1
= 0 ;
23295 char * kwnames
[] = {
23296 (char *) "self",(char *) "rect", NULL
23299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23301 if (!SWIG_IsOK(res1
)) {
23302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23304 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23306 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
23307 if (!SWIG_IsOK(res2
)) {
23308 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
23310 arg2
= reinterpret_cast< wxRect
* >(argp2
);
23313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23314 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23315 wxPyEndAllowThreads(__tstate
);
23316 if (PyErr_Occurred()) SWIG_fail
;
23319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23327 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23328 PyObject
*resultobj
= 0;
23329 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23333 PyObject
*swig_obj
[1] ;
23335 if (!args
) SWIG_fail
;
23336 swig_obj
[0] = args
;
23337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23338 if (!SWIG_IsOK(res1
)) {
23339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23341 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23344 result
= (bool)(arg1
)->EndDrawingOnTop();
23345 wxPyEndAllowThreads(__tstate
);
23346 if (PyErr_Occurred()) SWIG_fail
;
23349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23357 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23359 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23360 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
23361 return SWIG_Py_Void();
23364 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23365 return SWIG_Python_InitShadowInstance(args
);
23368 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23369 PyObject
*resultobj
= 0;
23370 wxWindow
*arg1
= (wxWindow
*) 0 ;
23371 wxWindowDC
*result
= 0 ;
23374 PyObject
* obj0
= 0 ;
23375 char * kwnames
[] = {
23376 (char *) "win", NULL
23379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
23380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23381 if (!SWIG_IsOK(res1
)) {
23382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23384 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23386 if (!wxPyCheckForApp()) SWIG_fail
;
23387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23388 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
23389 wxPyEndAllowThreads(__tstate
);
23390 if (PyErr_Occurred()) SWIG_fail
;
23392 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
23399 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23401 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23402 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
23403 return SWIG_Py_Void();
23406 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23407 return SWIG_Python_InitShadowInstance(args
);
23410 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23411 PyObject
*resultobj
= 0;
23412 wxWindow
*arg1
= (wxWindow
*) 0 ;
23413 wxClientDC
*result
= 0 ;
23416 PyObject
* obj0
= 0 ;
23417 char * kwnames
[] = {
23418 (char *) "win", NULL
23421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
23422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23423 if (!SWIG_IsOK(res1
)) {
23424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23426 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23428 if (!wxPyCheckForApp()) SWIG_fail
;
23429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23430 result
= (wxClientDC
*)new wxClientDC(arg1
);
23431 wxPyEndAllowThreads(__tstate
);
23432 if (PyErr_Occurred()) SWIG_fail
;
23434 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
23441 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23443 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23444 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
23445 return SWIG_Py_Void();
23448 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23449 return SWIG_Python_InitShadowInstance(args
);
23452 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23453 PyObject
*resultobj
= 0;
23454 wxWindow
*arg1
= (wxWindow
*) 0 ;
23455 wxPaintDC
*result
= 0 ;
23458 PyObject
* obj0
= 0 ;
23459 char * kwnames
[] = {
23460 (char *) "win", NULL
23463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
23464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23465 if (!SWIG_IsOK(res1
)) {
23466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23468 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23470 if (!wxPyCheckForApp()) SWIG_fail
;
23471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23472 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
23473 wxPyEndAllowThreads(__tstate
);
23474 if (PyErr_Occurred()) SWIG_fail
;
23476 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
23483 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23485 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23486 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
23487 return SWIG_Py_Void();
23490 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23491 return SWIG_Python_InitShadowInstance(args
);
23494 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23495 PyObject
*resultobj
= 0;
23496 wxDC
*arg1
= (wxDC
*) 0 ;
23497 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23498 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23499 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23500 wxBufferedDC
*result
= 0 ;
23508 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
23509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23510 if (!SWIG_IsOK(res1
)) {
23511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23513 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23515 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23516 if (!SWIG_IsOK(res2
)) {
23517 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23520 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23522 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23525 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23526 if (!SWIG_IsOK(ecode3
)) {
23527 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23529 arg3
= static_cast< int >(val3
);
23532 if (!wxPyCheckForApp()) SWIG_fail
;
23533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23534 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23535 wxPyEndAllowThreads(__tstate
);
23536 if (PyErr_Occurred()) SWIG_fail
;
23538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23545 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23546 PyObject
*resultobj
= 0;
23547 wxDC
*arg1
= (wxDC
*) 0 ;
23549 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23550 wxBufferedDC
*result
= 0 ;
23557 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
23558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23559 if (!SWIG_IsOK(res1
)) {
23560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23562 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23565 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23568 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23569 if (!SWIG_IsOK(ecode3
)) {
23570 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23572 arg3
= static_cast< int >(val3
);
23575 if (!wxPyCheckForApp()) SWIG_fail
;
23576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23577 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
23578 wxPyEndAllowThreads(__tstate
);
23579 if (PyErr_Occurred()) SWIG_fail
;
23581 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23588 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
23592 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
23594 if ((argc
>= 1) && (argc
<= 3)) {
23598 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
23599 _v
= SWIG_CheckState(res
);
23601 if (!_v
) goto check_1
;
23603 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
23607 if ((argc
>= 2) && (argc
<= 3)) {
23608 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
23612 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
23617 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23618 PyObject
*resultobj
= 0;
23619 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23622 PyObject
*swig_obj
[1] ;
23624 if (!args
) SWIG_fail
;
23625 swig_obj
[0] = args
;
23626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
23627 if (!SWIG_IsOK(res1
)) {
23628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23630 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23635 wxPyEndAllowThreads(__tstate
);
23636 if (PyErr_Occurred()) SWIG_fail
;
23638 resultobj
= SWIG_Py_Void();
23645 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23646 PyObject
*resultobj
= 0;
23647 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23650 PyObject
*swig_obj
[1] ;
23652 if (!args
) SWIG_fail
;
23653 swig_obj
[0] = args
;
23654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
23655 if (!SWIG_IsOK(res1
)) {
23656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23658 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23662 wxPyEndAllowThreads(__tstate
);
23663 if (PyErr_Occurred()) SWIG_fail
;
23665 resultobj
= SWIG_Py_Void();
23672 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23674 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23675 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
23676 return SWIG_Py_Void();
23679 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23680 return SWIG_Python_InitShadowInstance(args
);
23683 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23684 PyObject
*resultobj
= 0;
23685 wxWindow
*arg1
= (wxWindow
*) 0 ;
23686 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23687 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23688 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23689 wxBufferedPaintDC
*result
= 0 ;
23696 PyObject
* obj0
= 0 ;
23697 PyObject
* obj1
= 0 ;
23698 PyObject
* obj2
= 0 ;
23699 char * kwnames
[] = {
23700 (char *) "window",(char *) "buffer",(char *) "style", NULL
23703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) 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_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23708 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23710 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23711 if (!SWIG_IsOK(res2
)) {
23712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23715 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23717 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23720 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23721 if (!SWIG_IsOK(ecode3
)) {
23722 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
23724 arg3
= static_cast< int >(val3
);
23727 if (!wxPyCheckForApp()) SWIG_fail
;
23728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23729 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23730 wxPyEndAllowThreads(__tstate
);
23731 if (PyErr_Occurred()) SWIG_fail
;
23733 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
23740 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23742 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23743 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
23744 return SWIG_Py_Void();
23747 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23748 return SWIG_Python_InitShadowInstance(args
);
23751 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23752 PyObject
*resultobj
= 0;
23753 wxWindow
*arg1
= (wxWindow
*) 0 ;
23754 wxAutoBufferedPaintDC
*result
= 0 ;
23757 PyObject
* obj0
= 0 ;
23758 char * kwnames
[] = {
23759 (char *) "win", NULL
23762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
23763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23764 if (!SWIG_IsOK(res1
)) {
23765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23767 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23770 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
23771 wxPyEndAllowThreads(__tstate
);
23772 if (PyErr_Occurred()) SWIG_fail
;
23774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
23781 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23783 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23784 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
23785 return SWIG_Py_Void();
23788 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23789 return SWIG_Python_InitShadowInstance(args
);
23792 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23793 PyObject
*resultobj
= 0;
23794 wxWindow
*arg1
= (wxWindow
*) 0 ;
23798 PyObject
* obj0
= 0 ;
23799 char * kwnames
[] = {
23800 (char *) "window", NULL
23803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
23804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23805 if (!SWIG_IsOK(res1
)) {
23806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
23808 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23811 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
23812 wxPyEndAllowThreads(__tstate
);
23813 if (PyErr_Occurred()) SWIG_fail
;
23816 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
23824 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23825 PyObject
*resultobj
= 0;
23828 wxMirrorDC
*result
= 0 ;
23833 PyObject
* obj0
= 0 ;
23834 PyObject
* obj1
= 0 ;
23835 char * kwnames
[] = {
23836 (char *) "dc",(char *) "mirror", NULL
23839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23840 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23841 if (!SWIG_IsOK(res1
)) {
23842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23845 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23847 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23848 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23849 if (!SWIG_IsOK(ecode2
)) {
23850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
23852 arg2
= static_cast< bool >(val2
);
23854 if (!wxPyCheckForApp()) SWIG_fail
;
23855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23856 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
23857 wxPyEndAllowThreads(__tstate
);
23858 if (PyErr_Occurred()) SWIG_fail
;
23860 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
23867 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23869 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23870 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
23871 return SWIG_Py_Void();
23874 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23875 return SWIG_Python_InitShadowInstance(args
);
23878 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23879 PyObject
*resultobj
= 0;
23880 wxPrintData
*arg1
= 0 ;
23881 wxPostScriptDC
*result
= 0 ;
23884 PyObject
* obj0
= 0 ;
23885 char * kwnames
[] = {
23886 (char *) "printData", NULL
23889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
23890 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23891 if (!SWIG_IsOK(res1
)) {
23892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23895 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23897 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23899 if (!wxPyCheckForApp()) SWIG_fail
;
23900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23901 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
23902 wxPyEndAllowThreads(__tstate
);
23903 if (PyErr_Occurred()) SWIG_fail
;
23905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
23912 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23913 PyObject
*resultobj
= 0;
23914 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23915 wxPrintData
*result
= 0 ;
23918 PyObject
*swig_obj
[1] ;
23920 if (!args
) SWIG_fail
;
23921 swig_obj
[0] = args
;
23922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23923 if (!SWIG_IsOK(res1
)) {
23924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23926 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23930 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23931 result
= (wxPrintData
*) &_result_ref
;
23933 wxPyEndAllowThreads(__tstate
);
23934 if (PyErr_Occurred()) SWIG_fail
;
23936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
23943 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23944 PyObject
*resultobj
= 0;
23945 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23946 wxPrintData
*arg2
= 0 ;
23951 PyObject
* obj0
= 0 ;
23952 PyObject
* obj1
= 0 ;
23953 char * kwnames
[] = {
23954 (char *) "self",(char *) "data", NULL
23957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23959 if (!SWIG_IsOK(res1
)) {
23960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23962 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23963 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23964 if (!SWIG_IsOK(res2
)) {
23965 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23968 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23970 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
23972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23973 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
23974 wxPyEndAllowThreads(__tstate
);
23975 if (PyErr_Occurred()) SWIG_fail
;
23977 resultobj
= SWIG_Py_Void();
23984 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23985 PyObject
*resultobj
= 0;
23989 PyObject
* obj0
= 0 ;
23990 char * kwnames
[] = {
23991 (char *) "ppi", NULL
23994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
23995 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23996 if (!SWIG_IsOK(ecode1
)) {
23997 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
23999 arg1
= static_cast< int >(val1
);
24001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24002 wxPostScriptDC::SetResolution(arg1
);
24003 wxPyEndAllowThreads(__tstate
);
24004 if (PyErr_Occurred()) SWIG_fail
;
24006 resultobj
= SWIG_Py_Void();
24013 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24014 PyObject
*resultobj
= 0;
24017 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24020 result
= (int)wxPostScriptDC::GetResolution();
24021 wxPyEndAllowThreads(__tstate
);
24022 if (PyErr_Occurred()) SWIG_fail
;
24024 resultobj
= SWIG_From_int(static_cast< int >(result
));
24031 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24033 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24034 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24035 return SWIG_Py_Void();
24038 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24039 return SWIG_Python_InitShadowInstance(args
);
24042 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24043 PyObject
*resultobj
= 0;
24044 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24045 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24046 wxMetaFile
*result
= 0 ;
24047 bool temp1
= false ;
24048 PyObject
* obj0
= 0 ;
24049 char * kwnames
[] = {
24050 (char *) "filename", NULL
24053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
24056 arg1
= wxString_in_helper(obj0
);
24057 if (arg1
== NULL
) SWIG_fail
;
24062 if (!wxPyCheckForApp()) SWIG_fail
;
24063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24064 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
24065 wxPyEndAllowThreads(__tstate
);
24066 if (PyErr_Occurred()) SWIG_fail
;
24068 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
24083 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24084 PyObject
*resultobj
= 0;
24085 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24088 PyObject
*swig_obj
[1] ;
24090 if (!args
) SWIG_fail
;
24091 swig_obj
[0] = args
;
24092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
24093 if (!SWIG_IsOK(res1
)) {
24094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24096 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24101 wxPyEndAllowThreads(__tstate
);
24102 if (PyErr_Occurred()) SWIG_fail
;
24104 resultobj
= SWIG_Py_Void();
24111 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24112 PyObject
*resultobj
= 0;
24113 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24117 PyObject
*swig_obj
[1] ;
24119 if (!args
) SWIG_fail
;
24120 swig_obj
[0] = args
;
24121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24122 if (!SWIG_IsOK(res1
)) {
24123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24125 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24128 result
= (bool)(arg1
)->IsOk();
24129 wxPyEndAllowThreads(__tstate
);
24130 if (PyErr_Occurred()) SWIG_fail
;
24133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24141 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24142 PyObject
*resultobj
= 0;
24143 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24144 int arg2
= (int) 0 ;
24145 int arg3
= (int) 0 ;
24153 PyObject
* obj0
= 0 ;
24154 PyObject
* obj1
= 0 ;
24155 PyObject
* obj2
= 0 ;
24156 char * kwnames
[] = {
24157 (char *) "self",(char *) "width",(char *) "height", NULL
24160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24162 if (!SWIG_IsOK(res1
)) {
24163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24165 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24168 if (!SWIG_IsOK(ecode2
)) {
24169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
24171 arg2
= static_cast< int >(val2
);
24174 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24175 if (!SWIG_IsOK(ecode3
)) {
24176 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
24178 arg3
= static_cast< int >(val3
);
24181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24182 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
24183 wxPyEndAllowThreads(__tstate
);
24184 if (PyErr_Occurred()) SWIG_fail
;
24187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24195 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24196 PyObject
*resultobj
= 0;
24197 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24201 PyObject
*swig_obj
[1] ;
24203 if (!args
) SWIG_fail
;
24204 swig_obj
[0] = args
;
24205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24206 if (!SWIG_IsOK(res1
)) {
24207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24209 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24212 result
= (arg1
)->GetSize();
24213 wxPyEndAllowThreads(__tstate
);
24214 if (PyErr_Occurred()) SWIG_fail
;
24216 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24223 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24224 PyObject
*resultobj
= 0;
24225 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24229 PyObject
*swig_obj
[1] ;
24231 if (!args
) SWIG_fail
;
24232 swig_obj
[0] = args
;
24233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24234 if (!SWIG_IsOK(res1
)) {
24235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24237 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24240 result
= (int)(arg1
)->GetWidth();
24241 wxPyEndAllowThreads(__tstate
);
24242 if (PyErr_Occurred()) SWIG_fail
;
24244 resultobj
= SWIG_From_int(static_cast< int >(result
));
24251 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24252 PyObject
*resultobj
= 0;
24253 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24257 PyObject
*swig_obj
[1] ;
24259 if (!args
) SWIG_fail
;
24260 swig_obj
[0] = args
;
24261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24262 if (!SWIG_IsOK(res1
)) {
24263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24265 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24268 result
= (int)(arg1
)->GetHeight();
24269 wxPyEndAllowThreads(__tstate
);
24270 if (PyErr_Occurred()) SWIG_fail
;
24272 resultobj
= SWIG_From_int(static_cast< int >(result
));
24279 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24281 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24282 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
24283 return SWIG_Py_Void();
24286 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24287 return SWIG_Python_InitShadowInstance(args
);
24290 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24291 PyObject
*resultobj
= 0;
24292 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24293 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24294 int arg2
= (int) 0 ;
24295 int arg3
= (int) 0 ;
24296 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24297 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24298 wxMetaFileDC
*result
= 0 ;
24299 bool temp1
= false ;
24304 bool temp4
= false ;
24305 PyObject
* obj0
= 0 ;
24306 PyObject
* obj1
= 0 ;
24307 PyObject
* obj2
= 0 ;
24308 PyObject
* obj3
= 0 ;
24309 char * kwnames
[] = {
24310 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
24313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24316 arg1
= wxString_in_helper(obj0
);
24317 if (arg1
== NULL
) SWIG_fail
;
24322 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24323 if (!SWIG_IsOK(ecode2
)) {
24324 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
24326 arg2
= static_cast< int >(val2
);
24329 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24330 if (!SWIG_IsOK(ecode3
)) {
24331 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
24333 arg3
= static_cast< int >(val3
);
24337 arg4
= wxString_in_helper(obj3
);
24338 if (arg4
== NULL
) SWIG_fail
;
24343 if (!wxPyCheckForApp()) SWIG_fail
;
24344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24345 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
24346 wxPyEndAllowThreads(__tstate
);
24347 if (PyErr_Occurred()) SWIG_fail
;
24349 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
24372 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24373 PyObject
*resultobj
= 0;
24374 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
24375 wxMetaFile
*result
= 0 ;
24378 PyObject
*swig_obj
[1] ;
24380 if (!args
) SWIG_fail
;
24381 swig_obj
[0] = args
;
24382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
24383 if (!SWIG_IsOK(res1
)) {
24384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
24386 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
24388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24389 result
= (wxMetaFile
*)(arg1
)->Close();
24390 wxPyEndAllowThreads(__tstate
);
24391 if (PyErr_Occurred()) SWIG_fail
;
24393 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24400 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24402 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24403 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
24404 return SWIG_Py_Void();
24407 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24408 return SWIG_Python_InitShadowInstance(args
);
24411 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24412 PyObject
*resultobj
= 0;
24413 wxPrintData
*arg1
= 0 ;
24414 wxPrinterDC
*result
= 0 ;
24417 PyObject
* obj0
= 0 ;
24418 char * kwnames
[] = {
24419 (char *) "printData", NULL
24422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
24423 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24424 if (!SWIG_IsOK(res1
)) {
24425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24428 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24430 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24432 if (!wxPyCheckForApp()) SWIG_fail
;
24433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24434 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
24435 wxPyEndAllowThreads(__tstate
);
24436 if (PyErr_Occurred()) SWIG_fail
;
24438 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
24445 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24447 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24448 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
24449 return SWIG_Py_Void();
24452 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24453 return SWIG_Python_InitShadowInstance(args
);
24456 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24457 PyObject
*resultobj
= 0;
24458 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24461 PyObject
*swig_obj
[1] ;
24463 if (!args
) SWIG_fail
;
24464 swig_obj
[0] = args
;
24465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
24466 if (!SWIG_IsOK(res1
)) {
24467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24469 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24473 if (PyErr_Occurred()) SWIG_fail
;
24475 resultobj
= SWIG_Py_Void();
24482 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24483 PyObject
*resultobj
= 0;
24484 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24493 PyObject
* obj0
= 0 ;
24494 PyObject
* obj1
= 0 ;
24495 PyObject
* obj2
= 0 ;
24496 char * kwnames
[] = {
24497 (char *) "self",(char *) "x",(char *) "y", NULL
24500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_MoveToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24502 if (!SWIG_IsOK(res1
)) {
24503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24505 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24506 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24507 if (!SWIG_IsOK(ecode2
)) {
24508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24510 arg2
= static_cast< wxDouble
>(val2
);
24511 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24512 if (!SWIG_IsOK(ecode3
)) {
24513 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24515 arg3
= static_cast< wxDouble
>(val3
);
24517 (arg1
)->MoveToPoint(arg2
,arg3
);
24518 if (PyErr_Occurred()) SWIG_fail
;
24520 resultobj
= SWIG_Py_Void();
24527 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24528 PyObject
*resultobj
= 0;
24529 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24538 PyObject
* obj0
= 0 ;
24539 PyObject
* obj1
= 0 ;
24540 PyObject
* obj2
= 0 ;
24541 char * kwnames
[] = {
24542 (char *) "self",(char *) "x",(char *) "y", NULL
24545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_AddLineToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24547 if (!SWIG_IsOK(res1
)) {
24548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24550 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24551 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24552 if (!SWIG_IsOK(ecode2
)) {
24553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24555 arg2
= static_cast< wxDouble
>(val2
);
24556 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24557 if (!SWIG_IsOK(ecode3
)) {
24558 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24560 arg3
= static_cast< wxDouble
>(val3
);
24562 (arg1
)->AddLineToPoint(arg2
,arg3
);
24563 if (PyErr_Occurred()) SWIG_fail
;
24565 resultobj
= SWIG_Py_Void();
24572 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24573 PyObject
*resultobj
= 0;
24574 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24595 PyObject
* obj0
= 0 ;
24596 PyObject
* obj1
= 0 ;
24597 PyObject
* obj2
= 0 ;
24598 PyObject
* obj3
= 0 ;
24599 PyObject
* obj4
= 0 ;
24600 PyObject
* obj5
= 0 ;
24601 PyObject
* obj6
= 0 ;
24602 char * kwnames
[] = {
24603 (char *) "self",(char *) "cx1",(char *) "cy1",(char *) "cx2",(char *) "cy2",(char *) "x",(char *) "y", NULL
24606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24608 if (!SWIG_IsOK(res1
)) {
24609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24611 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24612 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24613 if (!SWIG_IsOK(ecode2
)) {
24614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24616 arg2
= static_cast< wxDouble
>(val2
);
24617 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24618 if (!SWIG_IsOK(ecode3
)) {
24619 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24621 arg3
= static_cast< wxDouble
>(val3
);
24622 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24623 if (!SWIG_IsOK(ecode4
)) {
24624 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
24626 arg4
= static_cast< wxDouble
>(val4
);
24627 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24628 if (!SWIG_IsOK(ecode5
)) {
24629 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
24631 arg5
= static_cast< wxDouble
>(val5
);
24632 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
24633 if (!SWIG_IsOK(ecode6
)) {
24634 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
24636 arg6
= static_cast< wxDouble
>(val6
);
24637 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
24638 if (!SWIG_IsOK(ecode7
)) {
24639 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
24641 arg7
= static_cast< wxDouble
>(val7
);
24643 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24644 if (PyErr_Occurred()) SWIG_fail
;
24646 resultobj
= SWIG_Py_Void();
24653 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24654 PyObject
*resultobj
= 0;
24655 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24658 PyObject
*swig_obj
[1] ;
24660 if (!args
) SWIG_fail
;
24661 swig_obj
[0] = args
;
24662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24663 if (!SWIG_IsOK(res1
)) {
24664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24666 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24668 (arg1
)->CloseSubpath();
24669 if (PyErr_Occurred()) SWIG_fail
;
24671 resultobj
= SWIG_Py_Void();
24678 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24679 PyObject
*resultobj
= 0;
24680 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24684 PyObject
*swig_obj
[1] ;
24686 if (!args
) SWIG_fail
;
24687 swig_obj
[0] = args
;
24688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24689 if (!SWIG_IsOK(res1
)) {
24690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24692 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24694 result
= (arg1
)->GetCurrentPoint();
24695 if (PyErr_Occurred()) SWIG_fail
;
24697 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
24704 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24705 PyObject
*resultobj
= 0;
24706 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24727 PyObject
* obj0
= 0 ;
24728 PyObject
* obj1
= 0 ;
24729 PyObject
* obj2
= 0 ;
24730 PyObject
* obj3
= 0 ;
24731 PyObject
* obj4
= 0 ;
24732 PyObject
* obj5
= 0 ;
24733 PyObject
* obj6
= 0 ;
24734 char * kwnames
[] = {
24735 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "startAngle",(char *) "endAngle",(char *) "clockwise", NULL
24738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24740 if (!SWIG_IsOK(res1
)) {
24741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24743 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24744 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24745 if (!SWIG_IsOK(ecode2
)) {
24746 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
24748 arg2
= static_cast< wxDouble
>(val2
);
24749 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24750 if (!SWIG_IsOK(ecode3
)) {
24751 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
24753 arg3
= static_cast< wxDouble
>(val3
);
24754 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24755 if (!SWIG_IsOK(ecode4
)) {
24756 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
24758 arg4
= static_cast< wxDouble
>(val4
);
24759 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24760 if (!SWIG_IsOK(ecode5
)) {
24761 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
24763 arg5
= static_cast< wxDouble
>(val5
);
24764 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
24765 if (!SWIG_IsOK(ecode6
)) {
24766 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
24768 arg6
= static_cast< wxDouble
>(val6
);
24769 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
24770 if (!SWIG_IsOK(ecode7
)) {
24771 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
24773 arg7
= static_cast< bool >(val7
);
24775 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24776 if (PyErr_Occurred()) SWIG_fail
;
24778 resultobj
= SWIG_Py_Void();
24785 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24786 PyObject
*resultobj
= 0;
24787 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24802 PyObject
* obj0
= 0 ;
24803 PyObject
* obj1
= 0 ;
24804 PyObject
* obj2
= 0 ;
24805 PyObject
* obj3
= 0 ;
24806 PyObject
* obj4
= 0 ;
24807 char * kwnames
[] = {
24808 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
24811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24813 if (!SWIG_IsOK(res1
)) {
24814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24816 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24817 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24818 if (!SWIG_IsOK(ecode2
)) {
24819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24821 arg2
= static_cast< wxDouble
>(val2
);
24822 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24823 if (!SWIG_IsOK(ecode3
)) {
24824 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24826 arg3
= static_cast< wxDouble
>(val3
);
24827 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24828 if (!SWIG_IsOK(ecode4
)) {
24829 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
24831 arg4
= static_cast< wxDouble
>(val4
);
24832 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24833 if (!SWIG_IsOK(ecode5
)) {
24834 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
24836 arg5
= static_cast< wxDouble
>(val5
);
24838 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
24839 if (PyErr_Occurred()) SWIG_fail
;
24841 resultobj
= SWIG_Py_Void();
24848 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24849 PyObject
*resultobj
= 0;
24850 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24865 PyObject
* obj0
= 0 ;
24866 PyObject
* obj1
= 0 ;
24867 PyObject
* obj2
= 0 ;
24868 PyObject
* obj3
= 0 ;
24869 PyObject
* obj4
= 0 ;
24870 char * kwnames
[] = {
24871 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24876 if (!SWIG_IsOK(res1
)) {
24877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24879 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24880 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24881 if (!SWIG_IsOK(ecode2
)) {
24882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
24884 arg2
= static_cast< wxDouble
>(val2
);
24885 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24886 if (!SWIG_IsOK(ecode3
)) {
24887 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
24889 arg3
= static_cast< wxDouble
>(val3
);
24890 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24891 if (!SWIG_IsOK(ecode4
)) {
24892 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
24894 arg4
= static_cast< wxDouble
>(val4
);
24895 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24896 if (!SWIG_IsOK(ecode5
)) {
24897 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
24899 arg5
= static_cast< wxDouble
>(val5
);
24901 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
24902 if (PyErr_Occurred()) SWIG_fail
;
24904 resultobj
= SWIG_Py_Void();
24911 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24912 PyObject
*resultobj
= 0;
24913 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24925 PyObject
* obj0
= 0 ;
24926 PyObject
* obj1
= 0 ;
24927 PyObject
* obj2
= 0 ;
24928 PyObject
* obj3
= 0 ;
24929 char * kwnames
[] = {
24930 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
24933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24935 if (!SWIG_IsOK(res1
)) {
24936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24938 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24939 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24940 if (!SWIG_IsOK(ecode2
)) {
24941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
24943 arg2
= static_cast< wxDouble
>(val2
);
24944 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24945 if (!SWIG_IsOK(ecode3
)) {
24946 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
24948 arg3
= static_cast< wxDouble
>(val3
);
24949 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24950 if (!SWIG_IsOK(ecode4
)) {
24951 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
24953 arg4
= static_cast< wxDouble
>(val4
);
24955 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
24956 if (PyErr_Occurred()) SWIG_fail
;
24958 resultobj
= SWIG_Py_Void();
24965 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24966 PyObject
*resultobj
= 0;
24967 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24985 PyObject
* obj0
= 0 ;
24986 PyObject
* obj1
= 0 ;
24987 PyObject
* obj2
= 0 ;
24988 PyObject
* obj3
= 0 ;
24989 PyObject
* obj4
= 0 ;
24990 PyObject
* obj5
= 0 ;
24991 char * kwnames
[] = {
24992 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
24995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
24996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24997 if (!SWIG_IsOK(res1
)) {
24998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
25000 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
25001 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25002 if (!SWIG_IsOK(ecode2
)) {
25003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
25005 arg2
= static_cast< wxDouble
>(val2
);
25006 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25007 if (!SWIG_IsOK(ecode3
)) {
25008 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
25010 arg3
= static_cast< wxDouble
>(val3
);
25011 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25012 if (!SWIG_IsOK(ecode4
)) {
25013 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
25015 arg4
= static_cast< wxDouble
>(val4
);
25016 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25017 if (!SWIG_IsOK(ecode5
)) {
25018 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
25020 arg5
= static_cast< wxDouble
>(val5
);
25021 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25022 if (!SWIG_IsOK(ecode6
)) {
25023 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
25025 arg6
= static_cast< wxDouble
>(val6
);
25027 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
25028 if (PyErr_Occurred()) SWIG_fail
;
25030 resultobj
= SWIG_Py_Void();
25037 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25039 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25040 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
25041 return SWIG_Py_Void();
25044 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25045 PyObject
*resultobj
= 0;
25046 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 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
, SWIG_POINTER_DISOWN
| 0 );
25054 if (!SWIG_IsOK(res1
)) {
25055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25057 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25061 if (PyErr_Occurred()) SWIG_fail
;
25063 resultobj
= SWIG_Py_Void();
25070 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25071 PyObject
*resultobj
= 0;
25072 wxWindowDC
*arg1
= 0 ;
25073 wxGraphicsContext
*result
= 0 ;
25077 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
25079 if (!SWIG_IsOK(res1
)) {
25080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
25083 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
25085 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
25087 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
25088 if (PyErr_Occurred()) SWIG_fail
;
25090 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25097 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25098 PyObject
*resultobj
= 0;
25099 wxWindow
*arg1
= (wxWindow
*) 0 ;
25100 wxGraphicsContext
*result
= 0 ;
25104 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25106 if (!SWIG_IsOK(res1
)) {
25107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
25109 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25111 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
25112 if (PyErr_Occurred()) SWIG_fail
;
25114 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25121 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
25125 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
25130 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
25131 _v
= SWIG_CheckState(res
);
25133 if (!_v
) goto check_1
;
25134 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
25139 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
25143 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
25148 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25149 PyObject
*resultobj
= 0;
25150 void *arg1
= (void *) 0 ;
25151 wxGraphicsContext
*result
= 0 ;
25153 PyObject
* obj0
= 0 ;
25154 char * kwnames
[] = {
25155 (char *) "context", NULL
25158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
25159 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
25160 if (!SWIG_IsOK(res1
)) {
25161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
25164 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
25165 if (PyErr_Occurred()) SWIG_fail
;
25167 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25174 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25175 PyObject
*resultobj
= 0;
25176 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25177 wxGraphicsPath
*result
= 0 ;
25180 PyObject
*swig_obj
[1] ;
25182 if (!args
) SWIG_fail
;
25183 swig_obj
[0] = args
;
25184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25185 if (!SWIG_IsOK(res1
)) {
25186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25188 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25190 result
= (wxGraphicsPath
*)(arg1
)->CreatePath();
25191 if (PyErr_Occurred()) SWIG_fail
;
25193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25200 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25201 PyObject
*resultobj
= 0;
25202 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25205 PyObject
*swig_obj
[1] ;
25207 if (!args
) SWIG_fail
;
25208 swig_obj
[0] = args
;
25209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25210 if (!SWIG_IsOK(res1
)) {
25211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25213 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25215 (arg1
)->PushState();
25216 if (PyErr_Occurred()) SWIG_fail
;
25218 resultobj
= SWIG_Py_Void();
25225 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25226 PyObject
*resultobj
= 0;
25227 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25230 PyObject
*swig_obj
[1] ;
25232 if (!args
) SWIG_fail
;
25233 swig_obj
[0] = args
;
25234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25235 if (!SWIG_IsOK(res1
)) {
25236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25238 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25240 (arg1
)->PopState();
25241 if (PyErr_Occurred()) SWIG_fail
;
25243 resultobj
= SWIG_Py_Void();
25250 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25251 PyObject
*resultobj
= 0;
25252 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25253 wxRegion
*arg2
= 0 ;
25258 PyObject
* obj0
= 0 ;
25259 PyObject
* obj1
= 0 ;
25260 char * kwnames
[] = {
25261 (char *) "self",(char *) "region", NULL
25264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25266 if (!SWIG_IsOK(res1
)) {
25267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25269 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25270 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
25271 if (!SWIG_IsOK(res2
)) {
25272 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
25275 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
25277 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
25279 (arg1
)->Clip((wxRegion
const &)*arg2
);
25280 if (PyErr_Occurred()) SWIG_fail
;
25282 resultobj
= SWIG_Py_Void();
25289 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25290 PyObject
*resultobj
= 0;
25291 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25306 PyObject
* obj0
= 0 ;
25307 PyObject
* obj1
= 0 ;
25308 PyObject
* obj2
= 0 ;
25309 PyObject
* obj3
= 0 ;
25310 PyObject
* obj4
= 0 ;
25311 char * kwnames
[] = {
25312 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25317 if (!SWIG_IsOK(res1
)) {
25318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25320 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25321 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25322 if (!SWIG_IsOK(ecode2
)) {
25323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
25325 arg2
= static_cast< wxDouble
>(val2
);
25326 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25327 if (!SWIG_IsOK(ecode3
)) {
25328 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
25330 arg3
= static_cast< wxDouble
>(val3
);
25331 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25332 if (!SWIG_IsOK(ecode4
)) {
25333 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
25335 arg4
= static_cast< wxDouble
>(val4
);
25336 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25337 if (!SWIG_IsOK(ecode5
)) {
25338 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
25340 arg5
= static_cast< wxDouble
>(val5
);
25342 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
25343 if (PyErr_Occurred()) SWIG_fail
;
25345 resultobj
= SWIG_Py_Void();
25352 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25353 PyObject
*resultobj
= 0;
25354 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25357 PyObject
*swig_obj
[1] ;
25359 if (!args
) SWIG_fail
;
25360 swig_obj
[0] = args
;
25361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25362 if (!SWIG_IsOK(res1
)) {
25363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25365 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25367 (arg1
)->ResetClip();
25368 if (PyErr_Occurred()) SWIG_fail
;
25370 resultobj
= SWIG_Py_Void();
25377 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25378 PyObject
*resultobj
= 0;
25379 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25383 PyObject
*swig_obj
[1] ;
25385 if (!args
) SWIG_fail
;
25386 swig_obj
[0] = args
;
25387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25388 if (!SWIG_IsOK(res1
)) {
25389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25391 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25393 result
= (void *)(arg1
)->GetNativeContext();
25394 if (PyErr_Occurred()) SWIG_fail
;
25396 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
25403 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25404 PyObject
*resultobj
= 0;
25405 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25414 PyObject
* obj0
= 0 ;
25415 PyObject
* obj1
= 0 ;
25416 PyObject
* obj2
= 0 ;
25417 char * kwnames
[] = {
25418 (char *) "self",(char *) "dx",(char *) "dy", NULL
25421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25423 if (!SWIG_IsOK(res1
)) {
25424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25426 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25427 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25428 if (!SWIG_IsOK(ecode2
)) {
25429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
25431 arg2
= static_cast< wxDouble
>(val2
);
25432 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25433 if (!SWIG_IsOK(ecode3
)) {
25434 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
25436 arg3
= static_cast< wxDouble
>(val3
);
25438 (arg1
)->Translate(arg2
,arg3
);
25439 if (PyErr_Occurred()) SWIG_fail
;
25441 resultobj
= SWIG_Py_Void();
25448 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25449 PyObject
*resultobj
= 0;
25450 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25459 PyObject
* obj0
= 0 ;
25460 PyObject
* obj1
= 0 ;
25461 PyObject
* obj2
= 0 ;
25462 char * kwnames
[] = {
25463 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
25466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25468 if (!SWIG_IsOK(res1
)) {
25469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25471 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25472 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25473 if (!SWIG_IsOK(ecode2
)) {
25474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
25476 arg2
= static_cast< wxDouble
>(val2
);
25477 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25478 if (!SWIG_IsOK(ecode3
)) {
25479 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
25481 arg3
= static_cast< wxDouble
>(val3
);
25483 (arg1
)->Scale(arg2
,arg3
);
25484 if (PyErr_Occurred()) SWIG_fail
;
25486 resultobj
= SWIG_Py_Void();
25493 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25494 PyObject
*resultobj
= 0;
25495 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25501 PyObject
* obj0
= 0 ;
25502 PyObject
* obj1
= 0 ;
25503 char * kwnames
[] = {
25504 (char *) "self",(char *) "angle", NULL
25507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25509 if (!SWIG_IsOK(res1
)) {
25510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25512 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25513 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25514 if (!SWIG_IsOK(ecode2
)) {
25515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
25517 arg2
= static_cast< wxDouble
>(val2
);
25519 (arg1
)->Rotate(arg2
);
25520 if (PyErr_Occurred()) SWIG_fail
;
25522 resultobj
= SWIG_Py_Void();
25529 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25530 PyObject
*resultobj
= 0;
25531 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25537 PyObject
* obj0
= 0 ;
25538 PyObject
* obj1
= 0 ;
25539 char * kwnames
[] = {
25540 (char *) "self",(char *) "pen", NULL
25543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25545 if (!SWIG_IsOK(res1
)) {
25546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25548 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25549 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
25550 if (!SWIG_IsOK(res2
)) {
25551 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
25554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
25556 arg2
= reinterpret_cast< wxPen
* >(argp2
);
25558 (arg1
)->SetPen((wxPen
const &)*arg2
);
25559 if (PyErr_Occurred()) SWIG_fail
;
25561 resultobj
= SWIG_Py_Void();
25568 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25569 PyObject
*resultobj
= 0;
25570 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25571 wxBrush
*arg2
= 0 ;
25576 PyObject
* obj0
= 0 ;
25577 PyObject
* obj1
= 0 ;
25578 char * kwnames
[] = {
25579 (char *) "self",(char *) "brush", NULL
25582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25584 if (!SWIG_IsOK(res1
)) {
25585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25587 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25588 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
25589 if (!SWIG_IsOK(res2
)) {
25590 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
25593 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
25595 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
25597 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
25598 if (PyErr_Occurred()) SWIG_fail
;
25600 resultobj
= SWIG_Py_Void();
25607 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25608 PyObject
*resultobj
= 0;
25609 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25614 wxColour
*arg6
= 0 ;
25615 wxColour
*arg7
= 0 ;
25628 PyObject
* obj0
= 0 ;
25629 PyObject
* obj1
= 0 ;
25630 PyObject
* obj2
= 0 ;
25631 PyObject
* obj3
= 0 ;
25632 PyObject
* obj4
= 0 ;
25633 PyObject
* obj5
= 0 ;
25634 PyObject
* obj6
= 0 ;
25635 char * kwnames
[] = {
25636 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
25639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_SetLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25641 if (!SWIG_IsOK(res1
)) {
25642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25644 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25645 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25646 if (!SWIG_IsOK(ecode2
)) {
25647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
25649 arg2
= static_cast< wxDouble
>(val2
);
25650 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25651 if (!SWIG_IsOK(ecode3
)) {
25652 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
25654 arg3
= static_cast< wxDouble
>(val3
);
25655 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25656 if (!SWIG_IsOK(ecode4
)) {
25657 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
25659 arg4
= static_cast< wxDouble
>(val4
);
25660 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25661 if (!SWIG_IsOK(ecode5
)) {
25662 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
25664 arg5
= static_cast< wxDouble
>(val5
);
25667 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
25671 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
25674 (arg1
)->SetLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
25675 if (PyErr_Occurred()) SWIG_fail
;
25677 resultobj
= SWIG_Py_Void();
25684 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25685 PyObject
*resultobj
= 0;
25686 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25692 wxColour
*arg7
= 0 ;
25693 wxColour
*arg8
= 0 ;
25708 PyObject
* obj0
= 0 ;
25709 PyObject
* obj1
= 0 ;
25710 PyObject
* obj2
= 0 ;
25711 PyObject
* obj3
= 0 ;
25712 PyObject
* obj4
= 0 ;
25713 PyObject
* obj5
= 0 ;
25714 PyObject
* obj6
= 0 ;
25715 PyObject
* obj7
= 0 ;
25716 char * kwnames
[] = {
25717 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
25720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_SetRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
25721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25722 if (!SWIG_IsOK(res1
)) {
25723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25725 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25726 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25727 if (!SWIG_IsOK(ecode2
)) {
25728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
25730 arg2
= static_cast< wxDouble
>(val2
);
25731 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25732 if (!SWIG_IsOK(ecode3
)) {
25733 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
25735 arg3
= static_cast< wxDouble
>(val3
);
25736 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25737 if (!SWIG_IsOK(ecode4
)) {
25738 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
25740 arg4
= static_cast< wxDouble
>(val4
);
25741 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25742 if (!SWIG_IsOK(ecode5
)) {
25743 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
25745 arg5
= static_cast< wxDouble
>(val5
);
25746 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25747 if (!SWIG_IsOK(ecode6
)) {
25748 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
25750 arg6
= static_cast< wxDouble
>(val6
);
25753 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
25757 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
25760 (arg1
)->SetRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
25761 if (PyErr_Occurred()) SWIG_fail
;
25763 resultobj
= SWIG_Py_Void();
25770 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25771 PyObject
*resultobj
= 0;
25772 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25778 PyObject
* obj0
= 0 ;
25779 PyObject
* obj1
= 0 ;
25780 char * kwnames
[] = {
25781 (char *) "self",(char *) "font", NULL
25784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25786 if (!SWIG_IsOK(res1
)) {
25787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25789 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25790 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25791 if (!SWIG_IsOK(res2
)) {
25792 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25795 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25797 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25799 (arg1
)->SetFont((wxFont
const &)*arg2
);
25800 if (PyErr_Occurred()) SWIG_fail
;
25802 resultobj
= SWIG_Py_Void();
25809 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTextColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25810 PyObject
*resultobj
= 0;
25811 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25812 wxColour
*arg2
= 0 ;
25816 PyObject
* obj0
= 0 ;
25817 PyObject
* obj1
= 0 ;
25818 char * kwnames
[] = {
25819 (char *) "self",(char *) "col", NULL
25822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTextColor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25824 if (!SWIG_IsOK(res1
)) {
25825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTextColor" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25827 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25830 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25833 (arg1
)->SetTextColor((wxColour
const &)*arg2
);
25834 if (PyErr_Occurred()) SWIG_fail
;
25836 resultobj
= SWIG_Py_Void();
25843 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25844 PyObject
*resultobj
= 0;
25845 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25846 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
25851 PyObject
* obj0
= 0 ;
25852 PyObject
* obj1
= 0 ;
25853 char * kwnames
[] = {
25854 (char *) "self",(char *) "path", NULL
25857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25859 if (!SWIG_IsOK(res1
)) {
25860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25862 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25863 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25864 if (!SWIG_IsOK(res2
)) {
25865 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
25867 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
25869 (arg1
)->StrokePath((wxGraphicsPath
const *)arg2
);
25870 if (PyErr_Occurred()) SWIG_fail
;
25872 resultobj
= SWIG_Py_Void();
25879 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25880 PyObject
*resultobj
= 0;
25881 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25882 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
25883 int arg3
= (int) wxWINDING_RULE
;
25890 PyObject
* obj0
= 0 ;
25891 PyObject
* obj1
= 0 ;
25892 PyObject
* obj2
= 0 ;
25893 char * kwnames
[] = {
25894 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
25897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25899 if (!SWIG_IsOK(res1
)) {
25900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25902 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25903 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25904 if (!SWIG_IsOK(res2
)) {
25905 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
25907 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
25909 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25910 if (!SWIG_IsOK(ecode3
)) {
25911 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
25913 arg3
= static_cast< int >(val3
);
25916 (arg1
)->FillPath((wxGraphicsPath
const *)arg2
,arg3
);
25917 if (PyErr_Occurred()) SWIG_fail
;
25919 resultobj
= SWIG_Py_Void();
25926 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25927 PyObject
*resultobj
= 0;
25928 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25929 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
25930 int arg3
= (int) wxWINDING_RULE
;
25937 PyObject
* obj0
= 0 ;
25938 PyObject
* obj1
= 0 ;
25939 PyObject
* obj2
= 0 ;
25940 char * kwnames
[] = {
25941 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
25944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25946 if (!SWIG_IsOK(res1
)) {
25947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25949 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25950 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25951 if (!SWIG_IsOK(res2
)) {
25952 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
25954 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
25956 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25957 if (!SWIG_IsOK(ecode3
)) {
25958 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
25960 arg3
= static_cast< int >(val3
);
25963 (arg1
)->DrawPath((wxGraphicsPath
const *)arg2
,arg3
);
25964 if (PyErr_Occurred()) SWIG_fail
;
25966 resultobj
= SWIG_Py_Void();
25973 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25974 PyObject
*resultobj
= 0;
25975 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25976 wxString
*arg2
= 0 ;
25981 bool temp2
= false ;
25986 PyObject
* obj0
= 0 ;
25987 PyObject
* obj1
= 0 ;
25988 PyObject
* obj2
= 0 ;
25989 PyObject
* obj3
= 0 ;
25990 char * kwnames
[] = {
25991 (char *) "self",(char *) "str",(char *) "x",(char *) "y", NULL
25994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25996 if (!SWIG_IsOK(res1
)) {
25997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25999 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26001 arg2
= wxString_in_helper(obj1
);
26002 if (arg2
== NULL
) SWIG_fail
;
26005 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26006 if (!SWIG_IsOK(ecode3
)) {
26007 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
26009 arg3
= static_cast< wxDouble
>(val3
);
26010 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26011 if (!SWIG_IsOK(ecode4
)) {
26012 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
26014 arg4
= static_cast< wxDouble
>(val4
);
26016 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
26017 if (PyErr_Occurred()) SWIG_fail
;
26019 resultobj
= SWIG_Py_Void();
26034 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26035 PyObject
*resultobj
= 0;
26036 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26037 wxString
*arg2
= 0 ;
26043 bool temp2
= false ;
26050 PyObject
* obj0
= 0 ;
26051 PyObject
* obj1
= 0 ;
26052 PyObject
* obj2
= 0 ;
26053 PyObject
* obj3
= 0 ;
26054 PyObject
* obj4
= 0 ;
26055 char * kwnames
[] = {
26056 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle", NULL
26059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26061 if (!SWIG_IsOK(res1
)) {
26062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26064 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26066 arg2
= wxString_in_helper(obj1
);
26067 if (arg2
== NULL
) SWIG_fail
;
26070 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26071 if (!SWIG_IsOK(ecode3
)) {
26072 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
26074 arg3
= static_cast< wxDouble
>(val3
);
26075 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26076 if (!SWIG_IsOK(ecode4
)) {
26077 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
26079 arg4
= static_cast< wxDouble
>(val4
);
26080 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26081 if (!SWIG_IsOK(ecode5
)) {
26082 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
26084 arg5
= static_cast< wxDouble
>(val5
);
26086 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26087 if (PyErr_Occurred()) SWIG_fail
;
26089 resultobj
= SWIG_Py_Void();
26104 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26105 PyObject
*resultobj
= 0;
26106 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26107 wxString
*arg2
= 0 ;
26108 wxDouble
*arg3
= (wxDouble
*) 0 ;
26109 wxDouble
*arg4
= (wxDouble
*) 0 ;
26110 wxDouble
*arg5
= (wxDouble
*) 0 ;
26111 wxDouble
*arg6
= (wxDouble
*) 0 ;
26114 bool temp2
= false ;
26116 int res3
= SWIG_TMPOBJ
;
26118 int res4
= SWIG_TMPOBJ
;
26120 int res5
= SWIG_TMPOBJ
;
26122 int res6
= SWIG_TMPOBJ
;
26123 PyObject
* obj0
= 0 ;
26124 PyObject
* obj1
= 0 ;
26125 char * kwnames
[] = {
26126 (char *) "self",(char *) "text", NULL
26133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26135 if (!SWIG_IsOK(res1
)) {
26136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
26138 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26140 arg2
= wxString_in_helper(obj1
);
26141 if (arg2
== NULL
) SWIG_fail
;
26145 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26146 if (PyErr_Occurred()) SWIG_fail
;
26148 resultobj
= SWIG_Py_Void();
26149 if (SWIG_IsTmpObj(res3
)) {
26150 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
26152 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26153 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
26155 if (SWIG_IsTmpObj(res4
)) {
26156 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
26158 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26159 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
26161 if (SWIG_IsTmpObj(res5
)) {
26162 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
26164 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26165 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
26167 if (SWIG_IsTmpObj(res6
)) {
26168 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
26170 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
26171 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
26187 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26188 PyObject
*resultobj
= 0;
26189 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26190 wxString
*arg2
= 0 ;
26191 wxArrayDouble result
;
26194 bool temp2
= false ;
26195 PyObject
* obj0
= 0 ;
26196 PyObject
* obj1
= 0 ;
26197 char * kwnames
[] = {
26198 (char *) "self",(char *) "text", NULL
26201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26203 if (!SWIG_IsOK(res1
)) {
26204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26206 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26208 arg2
= wxString_in_helper(obj1
);
26209 if (arg2
== NULL
) SWIG_fail
;
26213 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
26214 if (PyErr_Occurred()) SWIG_fail
;
26217 resultobj
= wxArrayDouble2PyList_helper(result
);
26233 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26234 PyObject
*resultobj
= 0;
26235 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26236 wxBitmap
*arg2
= 0 ;
26253 PyObject
* obj0
= 0 ;
26254 PyObject
* obj1
= 0 ;
26255 PyObject
* obj2
= 0 ;
26256 PyObject
* obj3
= 0 ;
26257 PyObject
* obj4
= 0 ;
26258 PyObject
* obj5
= 0 ;
26259 char * kwnames
[] = {
26260 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26265 if (!SWIG_IsOK(res1
)) {
26266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26268 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26269 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26270 if (!SWIG_IsOK(res2
)) {
26271 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26274 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26276 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
26277 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26278 if (!SWIG_IsOK(ecode3
)) {
26279 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
26281 arg3
= static_cast< wxDouble
>(val3
);
26282 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26283 if (!SWIG_IsOK(ecode4
)) {
26284 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
26286 arg4
= static_cast< wxDouble
>(val4
);
26287 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26288 if (!SWIG_IsOK(ecode5
)) {
26289 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
26291 arg5
= static_cast< wxDouble
>(val5
);
26292 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26293 if (!SWIG_IsOK(ecode6
)) {
26294 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
26296 arg6
= static_cast< wxDouble
>(val6
);
26298 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26299 if (PyErr_Occurred()) SWIG_fail
;
26301 resultobj
= SWIG_Py_Void();
26308 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26309 PyObject
*resultobj
= 0;
26310 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26328 PyObject
* obj0
= 0 ;
26329 PyObject
* obj1
= 0 ;
26330 PyObject
* obj2
= 0 ;
26331 PyObject
* obj3
= 0 ;
26332 PyObject
* obj4
= 0 ;
26333 PyObject
* obj5
= 0 ;
26334 char * kwnames
[] = {
26335 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26340 if (!SWIG_IsOK(res1
)) {
26341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26343 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26344 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
26345 if (!SWIG_IsOK(res2
)) {
26346 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
26349 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
26351 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
26352 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26353 if (!SWIG_IsOK(ecode3
)) {
26354 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
26356 arg3
= static_cast< wxDouble
>(val3
);
26357 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26358 if (!SWIG_IsOK(ecode4
)) {
26359 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
26361 arg4
= static_cast< wxDouble
>(val4
);
26362 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26363 if (!SWIG_IsOK(ecode5
)) {
26364 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
26366 arg5
= static_cast< wxDouble
>(val5
);
26367 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26368 if (!SWIG_IsOK(ecode6
)) {
26369 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
26371 arg6
= static_cast< wxDouble
>(val6
);
26373 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26374 if (PyErr_Occurred()) SWIG_fail
;
26376 resultobj
= SWIG_Py_Void();
26383 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26384 PyObject
*resultobj
= 0;
26385 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26400 PyObject
* obj0
= 0 ;
26401 PyObject
* obj1
= 0 ;
26402 PyObject
* obj2
= 0 ;
26403 PyObject
* obj3
= 0 ;
26404 PyObject
* obj4
= 0 ;
26405 char * kwnames
[] = {
26406 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
26409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26411 if (!SWIG_IsOK(res1
)) {
26412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26414 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26415 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26416 if (!SWIG_IsOK(ecode2
)) {
26417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
26419 arg2
= static_cast< wxDouble
>(val2
);
26420 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26421 if (!SWIG_IsOK(ecode3
)) {
26422 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
26424 arg3
= static_cast< wxDouble
>(val3
);
26425 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26426 if (!SWIG_IsOK(ecode4
)) {
26427 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
26429 arg4
= static_cast< wxDouble
>(val4
);
26430 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26431 if (!SWIG_IsOK(ecode5
)) {
26432 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
26434 arg5
= static_cast< wxDouble
>(val5
);
26436 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
26437 if (PyErr_Occurred()) SWIG_fail
;
26439 resultobj
= SWIG_Py_Void();
26446 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26447 PyObject
*resultobj
= 0;
26448 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26450 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
26453 PyObject
* obj0
= 0 ;
26454 PyObject
* obj1
= 0 ;
26455 char * kwnames
[] = {
26456 (char *) "self",(char *) "points", NULL
26459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26461 if (!SWIG_IsOK(res1
)) {
26462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26464 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26466 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
26467 if (arg3
== NULL
) SWIG_fail
;
26470 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
26471 if (PyErr_Occurred()) SWIG_fail
;
26473 resultobj
= SWIG_Py_Void();
26475 if (arg3
) delete [] arg3
;
26480 if (arg3
) delete [] arg3
;
26486 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26487 PyObject
*resultobj
= 0;
26488 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26489 PyObject
*arg2
= (PyObject
*) 0 ;
26490 PyObject
*arg3
= (PyObject
*) 0 ;
26493 PyObject
* obj0
= 0 ;
26494 PyObject
* obj1
= 0 ;
26495 PyObject
* obj2
= 0 ;
26496 char * kwnames
[] = {
26497 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
26500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26502 if (!SWIG_IsOK(res1
)) {
26503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26505 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26509 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
26510 if (PyErr_Occurred()) SWIG_fail
;
26512 resultobj
= SWIG_Py_Void();
26519 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26520 PyObject
*resultobj
= 0;
26521 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26523 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
26524 int arg4
= (int) wxWINDING_RULE
;
26529 PyObject
* obj0
= 0 ;
26530 PyObject
* obj1
= 0 ;
26531 PyObject
* obj2
= 0 ;
26532 char * kwnames
[] = {
26533 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
26536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26538 if (!SWIG_IsOK(res1
)) {
26539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26541 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26543 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
26544 if (arg3
== NULL
) SWIG_fail
;
26547 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
26548 if (!SWIG_IsOK(ecode4
)) {
26549 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
26551 arg4
= static_cast< int >(val4
);
26554 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
26555 if (PyErr_Occurred()) SWIG_fail
;
26557 resultobj
= SWIG_Py_Void();
26559 if (arg3
) delete [] arg3
;
26564 if (arg3
) delete [] arg3
;
26570 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26571 PyObject
*resultobj
= 0;
26572 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26587 PyObject
* obj0
= 0 ;
26588 PyObject
* obj1
= 0 ;
26589 PyObject
* obj2
= 0 ;
26590 PyObject
* obj3
= 0 ;
26591 PyObject
* obj4
= 0 ;
26592 char * kwnames
[] = {
26593 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26598 if (!SWIG_IsOK(res1
)) {
26599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26601 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26602 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26603 if (!SWIG_IsOK(ecode2
)) {
26604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26606 arg2
= static_cast< wxDouble
>(val2
);
26607 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26608 if (!SWIG_IsOK(ecode3
)) {
26609 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26611 arg3
= static_cast< wxDouble
>(val3
);
26612 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26613 if (!SWIG_IsOK(ecode4
)) {
26614 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26616 arg4
= static_cast< wxDouble
>(val4
);
26617 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26618 if (!SWIG_IsOK(ecode5
)) {
26619 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26621 arg5
= static_cast< wxDouble
>(val5
);
26623 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
26624 if (PyErr_Occurred()) SWIG_fail
;
26626 resultobj
= SWIG_Py_Void();
26633 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26634 PyObject
*resultobj
= 0;
26635 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26650 PyObject
* obj0
= 0 ;
26651 PyObject
* obj1
= 0 ;
26652 PyObject
* obj2
= 0 ;
26653 PyObject
* obj3
= 0 ;
26654 PyObject
* obj4
= 0 ;
26655 char * kwnames
[] = {
26656 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26661 if (!SWIG_IsOK(res1
)) {
26662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26664 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26665 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26666 if (!SWIG_IsOK(ecode2
)) {
26667 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
26669 arg2
= static_cast< wxDouble
>(val2
);
26670 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26671 if (!SWIG_IsOK(ecode3
)) {
26672 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
26674 arg3
= static_cast< wxDouble
>(val3
);
26675 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26676 if (!SWIG_IsOK(ecode4
)) {
26677 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
26679 arg4
= static_cast< wxDouble
>(val4
);
26680 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26681 if (!SWIG_IsOK(ecode5
)) {
26682 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
26684 arg5
= static_cast< wxDouble
>(val5
);
26686 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
26687 if (PyErr_Occurred()) SWIG_fail
;
26689 resultobj
= SWIG_Py_Void();
26696 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26697 PyObject
*resultobj
= 0;
26698 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26716 PyObject
* obj0
= 0 ;
26717 PyObject
* obj1
= 0 ;
26718 PyObject
* obj2
= 0 ;
26719 PyObject
* obj3
= 0 ;
26720 PyObject
* obj4
= 0 ;
26721 PyObject
* obj5
= 0 ;
26722 char * kwnames
[] = {
26723 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
26726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26728 if (!SWIG_IsOK(res1
)) {
26729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26731 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26732 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26733 if (!SWIG_IsOK(ecode2
)) {
26734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26736 arg2
= static_cast< wxDouble
>(val2
);
26737 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26738 if (!SWIG_IsOK(ecode3
)) {
26739 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26741 arg3
= static_cast< wxDouble
>(val3
);
26742 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26743 if (!SWIG_IsOK(ecode4
)) {
26744 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26746 arg4
= static_cast< wxDouble
>(val4
);
26747 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26748 if (!SWIG_IsOK(ecode5
)) {
26749 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26751 arg5
= static_cast< wxDouble
>(val5
);
26752 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26753 if (!SWIG_IsOK(ecode6
)) {
26754 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
26756 arg6
= static_cast< wxDouble
>(val6
);
26758 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
26759 if (PyErr_Occurred()) SWIG_fail
;
26761 resultobj
= SWIG_Py_Void();
26768 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26770 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26771 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
26772 return SWIG_Py_Void();
26775 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26776 PyObject
*resultobj
= 0;
26777 wxWindowDC
*arg1
= 0 ;
26778 wxGCDC
*result
= 0 ;
26781 PyObject
* obj0
= 0 ;
26782 char * kwnames
[] = {
26783 (char *) "dc", NULL
26786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_GCDC",kwnames
,&obj0
)) SWIG_fail
;
26787 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
26788 if (!SWIG_IsOK(res1
)) {
26789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
26792 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
26794 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
26796 if (!wxPyCheckForApp()) SWIG_fail
;
26797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26798 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
26799 wxPyEndAllowThreads(__tstate
);
26800 if (PyErr_Occurred()) SWIG_fail
;
26802 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
26809 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26810 PyObject
*resultobj
= 0;
26811 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
26814 PyObject
*swig_obj
[1] ;
26816 if (!args
) SWIG_fail
;
26817 swig_obj
[0] = args
;
26818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
26819 if (!SWIG_IsOK(res1
)) {
26820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
26822 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
26826 if (PyErr_Occurred()) SWIG_fail
;
26828 resultobj
= SWIG_Py_Void();
26835 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26836 PyObject
*resultobj
= 0;
26837 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
26838 wxGraphicsContext
*result
= 0 ;
26841 PyObject
*swig_obj
[1] ;
26843 if (!args
) SWIG_fail
;
26844 swig_obj
[0] = args
;
26845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
26846 if (!SWIG_IsOK(res1
)) {
26847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
26849 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
26851 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
26852 if (PyErr_Occurred()) SWIG_fail
;
26854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26861 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26862 PyObject
*resultobj
= 0;
26863 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
26864 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
26869 PyObject
* obj0
= 0 ;
26870 PyObject
* obj1
= 0 ;
26871 char * kwnames
[] = {
26872 (char *) "self",(char *) "ctx", NULL
26875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
26877 if (!SWIG_IsOK(res1
)) {
26878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
26880 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
26881 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26882 if (!SWIG_IsOK(res2
)) {
26883 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
26885 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
26887 (arg1
)->SetGraphicsContext(arg2
);
26888 if (PyErr_Occurred()) SWIG_fail
;
26890 resultobj
= SWIG_Py_Void();
26897 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26899 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26900 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
26901 return SWIG_Py_Void();
26904 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26905 return SWIG_Python_InitShadowInstance(args
);
26908 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26909 PyObject
*resultobj
= 0;
26910 wxOverlay
*result
= 0 ;
26912 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
26914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26915 result
= (wxOverlay
*)new wxOverlay();
26916 wxPyEndAllowThreads(__tstate
);
26917 if (PyErr_Occurred()) SWIG_fail
;
26919 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
26926 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26927 PyObject
*resultobj
= 0;
26928 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
26931 PyObject
*swig_obj
[1] ;
26933 if (!args
) SWIG_fail
;
26934 swig_obj
[0] = args
;
26935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
26936 if (!SWIG_IsOK(res1
)) {
26937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
26939 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
26941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26944 wxPyEndAllowThreads(__tstate
);
26945 if (PyErr_Occurred()) SWIG_fail
;
26947 resultobj
= SWIG_Py_Void();
26954 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26955 PyObject
*resultobj
= 0;
26956 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
26959 PyObject
*swig_obj
[1] ;
26961 if (!args
) SWIG_fail
;
26962 swig_obj
[0] = args
;
26963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
26964 if (!SWIG_IsOK(res1
)) {
26965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
26967 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
26969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26971 wxPyEndAllowThreads(__tstate
);
26972 if (PyErr_Occurred()) SWIG_fail
;
26974 resultobj
= SWIG_Py_Void();
26981 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26983 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26984 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
26985 return SWIG_Py_Void();
26988 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26989 return SWIG_Python_InitShadowInstance(args
);
26992 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26993 PyObject
*resultobj
= 0;
26994 wxOverlay
*arg1
= 0 ;
26995 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
27000 wxDCOverlay
*result
= 0 ;
27014 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
27015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
27016 if (!SWIG_IsOK(res1
)) {
27017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
27020 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
27022 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
27023 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
27024 if (!SWIG_IsOK(res2
)) {
27025 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
27027 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
27028 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
27029 if (!SWIG_IsOK(ecode3
)) {
27030 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
27032 arg3
= static_cast< int >(val3
);
27033 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
27034 if (!SWIG_IsOK(ecode4
)) {
27035 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
27037 arg4
= static_cast< int >(val4
);
27038 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
27039 if (!SWIG_IsOK(ecode5
)) {
27040 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
27042 arg5
= static_cast< int >(val5
);
27043 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
27044 if (!SWIG_IsOK(ecode6
)) {
27045 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
27047 arg6
= static_cast< int >(val6
);
27049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27050 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
27051 wxPyEndAllowThreads(__tstate
);
27052 if (PyErr_Occurred()) SWIG_fail
;
27054 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
27061 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
27062 PyObject
*resultobj
= 0;
27063 wxOverlay
*arg1
= 0 ;
27064 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
27065 wxDCOverlay
*result
= 0 ;
27071 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
27072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
27073 if (!SWIG_IsOK(res1
)) {
27074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
27077 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
27079 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
27080 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
27081 if (!SWIG_IsOK(res2
)) {
27082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
27084 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
27086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27087 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
27088 wxPyEndAllowThreads(__tstate
);
27089 if (PyErr_Occurred()) SWIG_fail
;
27091 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
27098 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
27102 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
27105 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
27108 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
27112 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
27117 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27118 PyObject
*resultobj
= 0;
27119 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
27122 PyObject
*swig_obj
[1] ;
27124 if (!args
) SWIG_fail
;
27125 swig_obj
[0] = args
;
27126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
27127 if (!SWIG_IsOK(res1
)) {
27128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
27130 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
27132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27135 wxPyEndAllowThreads(__tstate
);
27136 if (PyErr_Occurred()) SWIG_fail
;
27138 resultobj
= SWIG_Py_Void();
27145 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27146 PyObject
*resultobj
= 0;
27147 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
27150 PyObject
*swig_obj
[1] ;
27152 if (!args
) SWIG_fail
;
27153 swig_obj
[0] = args
;
27154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
27155 if (!SWIG_IsOK(res1
)) {
27156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
27158 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
27160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27162 wxPyEndAllowThreads(__tstate
);
27163 if (PyErr_Occurred()) SWIG_fail
;
27165 resultobj
= SWIG_Py_Void();
27172 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27174 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27175 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
27176 return SWIG_Py_Void();
27179 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27180 return SWIG_Python_InitShadowInstance(args
);
27183 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27184 PyObject
*resultobj
= 0;
27187 int arg3
= (int) true ;
27188 int arg4
= (int) 1 ;
27189 wxImageList
*result
= 0 ;
27198 PyObject
* obj0
= 0 ;
27199 PyObject
* obj1
= 0 ;
27200 PyObject
* obj2
= 0 ;
27201 PyObject
* obj3
= 0 ;
27202 char * kwnames
[] = {
27203 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
27206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27207 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27208 if (!SWIG_IsOK(ecode1
)) {
27209 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
27211 arg1
= static_cast< int >(val1
);
27212 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27213 if (!SWIG_IsOK(ecode2
)) {
27214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
27216 arg2
= static_cast< int >(val2
);
27218 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27219 if (!SWIG_IsOK(ecode3
)) {
27220 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
27222 arg3
= static_cast< int >(val3
);
27225 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27226 if (!SWIG_IsOK(ecode4
)) {
27227 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
27229 arg4
= static_cast< int >(val4
);
27232 if (!wxPyCheckForApp()) SWIG_fail
;
27233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27234 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
27235 wxPyEndAllowThreads(__tstate
);
27236 if (PyErr_Occurred()) SWIG_fail
;
27238 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
27245 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27246 PyObject
*resultobj
= 0;
27247 wxImageList
*arg1
= (wxImageList
*) 0 ;
27250 PyObject
*swig_obj
[1] ;
27252 if (!args
) SWIG_fail
;
27253 swig_obj
[0] = args
;
27254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
27255 if (!SWIG_IsOK(res1
)) {
27256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
27258 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27263 wxPyEndAllowThreads(__tstate
);
27264 if (PyErr_Occurred()) SWIG_fail
;
27266 resultobj
= SWIG_Py_Void();
27273 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27274 PyObject
*resultobj
= 0;
27275 wxImageList
*arg1
= (wxImageList
*) 0 ;
27276 wxBitmap
*arg2
= 0 ;
27277 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
27278 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
27286 PyObject
* obj0
= 0 ;
27287 PyObject
* obj1
= 0 ;
27288 PyObject
* obj2
= 0 ;
27289 char * kwnames
[] = {
27290 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
27293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27295 if (!SWIG_IsOK(res1
)) {
27296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
27298 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27299 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27300 if (!SWIG_IsOK(res2
)) {
27301 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27304 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27306 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
27308 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27309 if (!SWIG_IsOK(res3
)) {
27310 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27313 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27315 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
27318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27319 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
27320 wxPyEndAllowThreads(__tstate
);
27321 if (PyErr_Occurred()) SWIG_fail
;
27323 resultobj
= SWIG_From_int(static_cast< int >(result
));
27330 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27331 PyObject
*resultobj
= 0;
27332 wxImageList
*arg1
= (wxImageList
*) 0 ;
27333 wxBitmap
*arg2
= 0 ;
27334 wxColour
*arg3
= 0 ;
27341 PyObject
* obj0
= 0 ;
27342 PyObject
* obj1
= 0 ;
27343 PyObject
* obj2
= 0 ;
27344 char * kwnames
[] = {
27345 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
27348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27350 if (!SWIG_IsOK(res1
)) {
27351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
27353 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27354 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27355 if (!SWIG_IsOK(res2
)) {
27356 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27359 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27361 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
27364 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27368 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
27369 wxPyEndAllowThreads(__tstate
);
27370 if (PyErr_Occurred()) SWIG_fail
;
27372 resultobj
= SWIG_From_int(static_cast< int >(result
));
27379 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27380 PyObject
*resultobj
= 0;
27381 wxImageList
*arg1
= (wxImageList
*) 0 ;
27388 PyObject
* obj0
= 0 ;
27389 PyObject
* obj1
= 0 ;
27390 char * kwnames
[] = {
27391 (char *) "self",(char *) "icon", NULL
27394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27396 if (!SWIG_IsOK(res1
)) {
27397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
27399 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27400 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
27401 if (!SWIG_IsOK(res2
)) {
27402 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
27405 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
27407 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
27409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27410 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
27411 wxPyEndAllowThreads(__tstate
);
27412 if (PyErr_Occurred()) SWIG_fail
;
27414 resultobj
= SWIG_From_int(static_cast< int >(result
));
27421 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27422 PyObject
*resultobj
= 0;
27423 wxImageList
*arg1
= (wxImageList
*) 0 ;
27425 SwigValueWrapper
<wxBitmap
> result
;
27430 PyObject
* obj0
= 0 ;
27431 PyObject
* obj1
= 0 ;
27432 char * kwnames
[] = {
27433 (char *) "self",(char *) "index", NULL
27436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27438 if (!SWIG_IsOK(res1
)) {
27439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
27441 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27442 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27443 if (!SWIG_IsOK(ecode2
)) {
27444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
27446 arg2
= static_cast< int >(val2
);
27448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27449 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
27450 wxPyEndAllowThreads(__tstate
);
27451 if (PyErr_Occurred()) SWIG_fail
;
27453 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
27460 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27461 PyObject
*resultobj
= 0;
27462 wxImageList
*arg1
= (wxImageList
*) 0 ;
27469 PyObject
* obj0
= 0 ;
27470 PyObject
* obj1
= 0 ;
27471 char * kwnames
[] = {
27472 (char *) "self",(char *) "index", NULL
27475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27477 if (!SWIG_IsOK(res1
)) {
27478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
27480 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27482 if (!SWIG_IsOK(ecode2
)) {
27483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
27485 arg2
= static_cast< int >(val2
);
27487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27488 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
27489 wxPyEndAllowThreads(__tstate
);
27490 if (PyErr_Occurred()) SWIG_fail
;
27492 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
27499 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27500 PyObject
*resultobj
= 0;
27501 wxImageList
*arg1
= (wxImageList
*) 0 ;
27503 wxBitmap
*arg3
= 0 ;
27504 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
27505 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
27515 PyObject
* obj0
= 0 ;
27516 PyObject
* obj1
= 0 ;
27517 PyObject
* obj2
= 0 ;
27518 PyObject
* obj3
= 0 ;
27519 char * kwnames
[] = {
27520 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
27523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27525 if (!SWIG_IsOK(res1
)) {
27526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
27528 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27529 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27530 if (!SWIG_IsOK(ecode2
)) {
27531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
27533 arg2
= static_cast< int >(val2
);
27534 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27535 if (!SWIG_IsOK(res3
)) {
27536 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27539 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27541 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
27543 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27544 if (!SWIG_IsOK(res4
)) {
27545 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
27548 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
27550 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
27553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27554 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
27555 wxPyEndAllowThreads(__tstate
);
27556 if (PyErr_Occurred()) SWIG_fail
;
27559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27567 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27568 PyObject
*resultobj
= 0;
27569 wxImageList
*arg1
= (wxImageList
*) 0 ;
27574 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
27575 bool arg7
= (bool) (bool)false ;
27591 PyObject
* obj0
= 0 ;
27592 PyObject
* obj1
= 0 ;
27593 PyObject
* obj2
= 0 ;
27594 PyObject
* obj3
= 0 ;
27595 PyObject
* obj4
= 0 ;
27596 PyObject
* obj5
= 0 ;
27597 PyObject
* obj6
= 0 ;
27598 char * kwnames
[] = {
27599 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
27602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27604 if (!SWIG_IsOK(res1
)) {
27605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
27607 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27608 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27609 if (!SWIG_IsOK(ecode2
)) {
27610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
27612 arg2
= static_cast< int >(val2
);
27613 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27614 if (!SWIG_IsOK(res3
)) {
27615 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
27618 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
27620 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27621 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27622 if (!SWIG_IsOK(ecode4
)) {
27623 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
27625 arg4
= static_cast< int >(val4
);
27626 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27627 if (!SWIG_IsOK(ecode5
)) {
27628 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
27630 arg5
= static_cast< int >(val5
);
27632 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
27633 if (!SWIG_IsOK(ecode6
)) {
27634 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
27636 arg6
= static_cast< int >(val6
);
27639 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
27640 if (!SWIG_IsOK(ecode7
)) {
27641 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
27643 arg7
= static_cast< bool >(val7
);
27646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27647 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
27648 wxPyEndAllowThreads(__tstate
);
27649 if (PyErr_Occurred()) SWIG_fail
;
27652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27660 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27661 PyObject
*resultobj
= 0;
27662 wxImageList
*arg1
= (wxImageList
*) 0 ;
27666 PyObject
*swig_obj
[1] ;
27668 if (!args
) SWIG_fail
;
27669 swig_obj
[0] = args
;
27670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27671 if (!SWIG_IsOK(res1
)) {
27672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
27674 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27677 result
= (int)(arg1
)->GetImageCount();
27678 wxPyEndAllowThreads(__tstate
);
27679 if (PyErr_Occurred()) SWIG_fail
;
27681 resultobj
= SWIG_From_int(static_cast< int >(result
));
27688 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27689 PyObject
*resultobj
= 0;
27690 wxImageList
*arg1
= (wxImageList
*) 0 ;
27697 PyObject
* obj0
= 0 ;
27698 PyObject
* obj1
= 0 ;
27699 char * kwnames
[] = {
27700 (char *) "self",(char *) "index", NULL
27703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27705 if (!SWIG_IsOK(res1
)) {
27706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
27708 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27709 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27710 if (!SWIG_IsOK(ecode2
)) {
27711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
27713 arg2
= static_cast< int >(val2
);
27715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27716 result
= (bool)(arg1
)->Remove(arg2
);
27717 wxPyEndAllowThreads(__tstate
);
27718 if (PyErr_Occurred()) SWIG_fail
;
27721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27729 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27730 PyObject
*resultobj
= 0;
27731 wxImageList
*arg1
= (wxImageList
*) 0 ;
27735 PyObject
*swig_obj
[1] ;
27737 if (!args
) SWIG_fail
;
27738 swig_obj
[0] = args
;
27739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27740 if (!SWIG_IsOK(res1
)) {
27741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
27743 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27746 result
= (bool)(arg1
)->RemoveAll();
27747 wxPyEndAllowThreads(__tstate
);
27748 if (PyErr_Occurred()) SWIG_fail
;
27751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27759 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27760 PyObject
*resultobj
= 0;
27761 wxImageList
*arg1
= (wxImageList
*) 0 ;
27770 int res3
= SWIG_TMPOBJ
;
27772 int res4
= SWIG_TMPOBJ
;
27773 PyObject
* obj0
= 0 ;
27774 PyObject
* obj1
= 0 ;
27775 char * kwnames
[] = {
27776 (char *) "self",(char *) "index", NULL
27781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27783 if (!SWIG_IsOK(res1
)) {
27784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
27786 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27787 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27788 if (!SWIG_IsOK(ecode2
)) {
27789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
27791 arg2
= static_cast< int >(val2
);
27793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27794 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
27795 wxPyEndAllowThreads(__tstate
);
27796 if (PyErr_Occurred()) SWIG_fail
;
27798 resultobj
= SWIG_Py_Void();
27799 if (SWIG_IsTmpObj(res3
)) {
27800 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27802 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27803 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27805 if (SWIG_IsTmpObj(res4
)) {
27806 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
27808 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27809 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
27817 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27819 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27820 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
27821 return SWIG_Py_Void();
27824 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27825 return SWIG_Python_InitShadowInstance(args
);
27828 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27829 PyObject
*resultobj
= 0;
27830 wxStockGDI
*result
= 0 ;
27832 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
27834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27835 result
= (wxStockGDI
*)new wxStockGDI();
27836 wxPyEndAllowThreads(__tstate
);
27837 if (PyErr_Occurred()) SWIG_fail
;
27839 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
27846 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27847 PyObject
*resultobj
= 0;
27848 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
27851 PyObject
*swig_obj
[1] ;
27853 if (!args
) SWIG_fail
;
27854 swig_obj
[0] = args
;
27855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
27856 if (!SWIG_IsOK(res1
)) {
27857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
27859 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
27861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27864 wxPyEndAllowThreads(__tstate
);
27865 if (PyErr_Occurred()) SWIG_fail
;
27867 resultobj
= SWIG_Py_Void();
27874 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27875 PyObject
*resultobj
= 0;
27877 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
27879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27880 wxStockGDI::DeleteAll();
27881 wxPyEndAllowThreads(__tstate
);
27882 if (PyErr_Occurred()) SWIG_fail
;
27884 resultobj
= SWIG_Py_Void();
27891 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27892 PyObject
*resultobj
= 0;
27893 wxStockGDI
*result
= 0 ;
27895 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
27897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27899 wxStockGDI
&_result_ref
= wxStockGDI::instance();
27900 result
= (wxStockGDI
*) &_result_ref
;
27902 wxPyEndAllowThreads(__tstate
);
27903 if (PyErr_Occurred()) SWIG_fail
;
27905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
27912 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27913 PyObject
*resultobj
= 0;
27914 wxStockGDI::Item arg1
;
27915 wxBrush
*result
= 0 ;
27918 PyObject
* obj0
= 0 ;
27919 char * kwnames
[] = {
27920 (char *) "item", NULL
27923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
27924 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27925 if (!SWIG_IsOK(ecode1
)) {
27926 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27928 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27931 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
27932 wxPyEndAllowThreads(__tstate
);
27933 if (PyErr_Occurred()) SWIG_fail
;
27935 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
27942 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27943 PyObject
*resultobj
= 0;
27944 wxStockGDI::Item arg1
;
27945 wxColour
*result
= 0 ;
27948 PyObject
* obj0
= 0 ;
27949 char * kwnames
[] = {
27950 (char *) "item", NULL
27953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
27954 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27955 if (!SWIG_IsOK(ecode1
)) {
27956 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27958 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27961 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
27962 wxPyEndAllowThreads(__tstate
);
27963 if (PyErr_Occurred()) SWIG_fail
;
27965 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
27972 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27973 PyObject
*resultobj
= 0;
27974 wxStockGDI::Item arg1
;
27975 wxCursor
*result
= 0 ;
27978 PyObject
* obj0
= 0 ;
27979 char * kwnames
[] = {
27980 (char *) "item", NULL
27983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
27984 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27985 if (!SWIG_IsOK(ecode1
)) {
27986 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27988 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27991 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
27992 wxPyEndAllowThreads(__tstate
);
27993 if (PyErr_Occurred()) SWIG_fail
;
27995 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
28002 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28003 PyObject
*resultobj
= 0;
28004 wxStockGDI::Item arg1
;
28005 wxPen
*result
= 0 ;
28008 PyObject
* obj0
= 0 ;
28009 char * kwnames
[] = {
28010 (char *) "item", NULL
28013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
28014 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28015 if (!SWIG_IsOK(ecode1
)) {
28016 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
28018 arg1
= static_cast< wxStockGDI::Item
>(val1
);
28020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28021 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
28022 wxPyEndAllowThreads(__tstate
);
28023 if (PyErr_Occurred()) SWIG_fail
;
28025 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
28032 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28033 PyObject
*resultobj
= 0;
28034 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
28035 wxStockGDI::Item arg2
;
28036 wxFont
*result
= 0 ;
28041 PyObject
* obj0
= 0 ;
28042 PyObject
* obj1
= 0 ;
28043 char * kwnames
[] = {
28044 (char *) "self",(char *) "item", NULL
28047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
28049 if (!SWIG_IsOK(res1
)) {
28050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
28052 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
28053 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28054 if (!SWIG_IsOK(ecode2
)) {
28055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
28057 arg2
= static_cast< wxStockGDI::Item
>(val2
);
28059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28060 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
28061 wxPyEndAllowThreads(__tstate
);
28062 if (PyErr_Occurred()) SWIG_fail
;
28064 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
28071 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28073 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28074 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
28075 return SWIG_Py_Void();
28078 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28079 return SWIG_Python_InitShadowInstance(args
);
28082 SWIGINTERN
int NullBitmap_set(PyObject
*) {
28083 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
28088 SWIGINTERN PyObject
*NullBitmap_get(void) {
28089 PyObject
*pyobj
= 0;
28091 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
28096 SWIGINTERN
int NullIcon_set(PyObject
*) {
28097 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
28102 SWIGINTERN PyObject
*NullIcon_get(void) {
28103 PyObject
*pyobj
= 0;
28105 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
28110 SWIGINTERN
int NullCursor_set(PyObject
*) {
28111 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
28116 SWIGINTERN PyObject
*NullCursor_get(void) {
28117 PyObject
*pyobj
= 0;
28119 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
28124 SWIGINTERN
int NullPen_set(PyObject
*) {
28125 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
28130 SWIGINTERN PyObject
*NullPen_get(void) {
28131 PyObject
*pyobj
= 0;
28133 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
28138 SWIGINTERN
int NullBrush_set(PyObject
*) {
28139 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
28144 SWIGINTERN PyObject
*NullBrush_get(void) {
28145 PyObject
*pyobj
= 0;
28147 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
28152 SWIGINTERN
int NullPalette_set(PyObject
*) {
28153 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
28158 SWIGINTERN PyObject
*NullPalette_get(void) {
28159 PyObject
*pyobj
= 0;
28161 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
28166 SWIGINTERN
int NullFont_set(PyObject
*) {
28167 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
28172 SWIGINTERN PyObject
*NullFont_get(void) {
28173 PyObject
*pyobj
= 0;
28175 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
28180 SWIGINTERN
int NullColour_set(PyObject
*) {
28181 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
28186 SWIGINTERN PyObject
*NullColour_get(void) {
28187 PyObject
*pyobj
= 0;
28189 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
28194 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28195 PyObject
*resultobj
= 0;
28196 wxGDIObjListBase
*result
= 0 ;
28198 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
28200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28201 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
28202 wxPyEndAllowThreads(__tstate
);
28203 if (PyErr_Occurred()) SWIG_fail
;
28205 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
28212 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28213 PyObject
*resultobj
= 0;
28214 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
28217 PyObject
*swig_obj
[1] ;
28219 if (!args
) SWIG_fail
;
28220 swig_obj
[0] = args
;
28221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
28222 if (!SWIG_IsOK(res1
)) {
28223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
28225 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
28227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28230 wxPyEndAllowThreads(__tstate
);
28231 if (PyErr_Occurred()) SWIG_fail
;
28233 resultobj
= SWIG_Py_Void();
28240 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28242 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28243 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
28244 return SWIG_Py_Void();
28247 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28248 return SWIG_Python_InitShadowInstance(args
);
28251 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28252 PyObject
*resultobj
= 0;
28253 wxPenList
*arg1
= (wxPenList
*) 0 ;
28254 wxColour
*arg2
= 0 ;
28257 wxPen
*result
= 0 ;
28265 PyObject
* obj0
= 0 ;
28266 PyObject
* obj1
= 0 ;
28267 PyObject
* obj2
= 0 ;
28268 PyObject
* obj3
= 0 ;
28269 char * kwnames
[] = {
28270 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
28273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
28275 if (!SWIG_IsOK(res1
)) {
28276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
28278 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
28281 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28283 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28284 if (!SWIG_IsOK(ecode3
)) {
28285 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
28287 arg3
= static_cast< int >(val3
);
28288 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28289 if (!SWIG_IsOK(ecode4
)) {
28290 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
28292 arg4
= static_cast< int >(val4
);
28294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28295 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
28296 wxPyEndAllowThreads(__tstate
);
28297 if (PyErr_Occurred()) SWIG_fail
;
28299 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
28306 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28307 PyObject
*resultobj
= 0;
28308 wxPenList
*arg1
= (wxPenList
*) 0 ;
28309 wxPen
*arg2
= (wxPen
*) 0 ;
28314 PyObject
* obj0
= 0 ;
28315 PyObject
* obj1
= 0 ;
28316 char * kwnames
[] = {
28317 (char *) "self",(char *) "pen", NULL
28320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
28322 if (!SWIG_IsOK(res1
)) {
28323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
28325 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
28326 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
28327 if (!SWIG_IsOK(res2
)) {
28328 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
28330 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28333 (arg1
)->AddPen(arg2
);
28334 wxPyEndAllowThreads(__tstate
);
28335 if (PyErr_Occurred()) SWIG_fail
;
28337 resultobj
= SWIG_Py_Void();
28344 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28345 PyObject
*resultobj
= 0;
28346 wxPenList
*arg1
= (wxPenList
*) 0 ;
28347 wxPen
*arg2
= (wxPen
*) 0 ;
28352 PyObject
* obj0
= 0 ;
28353 PyObject
* obj1
= 0 ;
28354 char * kwnames
[] = {
28355 (char *) "self",(char *) "pen", NULL
28358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
28360 if (!SWIG_IsOK(res1
)) {
28361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
28363 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
28364 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
28365 if (!SWIG_IsOK(res2
)) {
28366 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
28368 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28371 (arg1
)->RemovePen(arg2
);
28372 wxPyEndAllowThreads(__tstate
);
28373 if (PyErr_Occurred()) SWIG_fail
;
28375 resultobj
= SWIG_Py_Void();
28382 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28384 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28385 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
28386 return SWIG_Py_Void();
28389 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28390 PyObject
*resultobj
= 0;
28391 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
28392 wxColour
*arg2
= 0 ;
28393 int arg3
= (int) wxSOLID
;
28394 wxBrush
*result
= 0 ;
28400 PyObject
* obj0
= 0 ;
28401 PyObject
* obj1
= 0 ;
28402 PyObject
* obj2
= 0 ;
28403 char * kwnames
[] = {
28404 (char *) "self",(char *) "colour",(char *) "style", NULL
28407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
28409 if (!SWIG_IsOK(res1
)) {
28410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
28412 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
28415 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28418 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28419 if (!SWIG_IsOK(ecode3
)) {
28420 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
28422 arg3
= static_cast< int >(val3
);
28425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28426 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
28427 wxPyEndAllowThreads(__tstate
);
28428 if (PyErr_Occurred()) SWIG_fail
;
28430 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
28437 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28438 PyObject
*resultobj
= 0;
28439 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
28440 wxBrush
*arg2
= (wxBrush
*) 0 ;
28445 PyObject
* obj0
= 0 ;
28446 PyObject
* obj1
= 0 ;
28447 char * kwnames
[] = {
28448 (char *) "self",(char *) "brush", NULL
28451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
28453 if (!SWIG_IsOK(res1
)) {
28454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
28456 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
28457 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
28458 if (!SWIG_IsOK(res2
)) {
28459 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
28461 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28464 (arg1
)->AddBrush(arg2
);
28465 wxPyEndAllowThreads(__tstate
);
28466 if (PyErr_Occurred()) SWIG_fail
;
28468 resultobj
= SWIG_Py_Void();
28475 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28476 PyObject
*resultobj
= 0;
28477 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
28478 wxBrush
*arg2
= (wxBrush
*) 0 ;
28483 PyObject
* obj0
= 0 ;
28484 PyObject
* obj1
= 0 ;
28485 char * kwnames
[] = {
28486 (char *) "self",(char *) "brush", NULL
28489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
28491 if (!SWIG_IsOK(res1
)) {
28492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
28494 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
28495 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
28496 if (!SWIG_IsOK(res2
)) {
28497 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
28499 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28502 (arg1
)->RemoveBrush(arg2
);
28503 wxPyEndAllowThreads(__tstate
);
28504 if (PyErr_Occurred()) SWIG_fail
;
28506 resultobj
= SWIG_Py_Void();
28513 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28515 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28516 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
28517 return SWIG_Py_Void();
28520 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28521 PyObject
*resultobj
= 0;
28522 wxFontList
*arg1
= (wxFontList
*) 0 ;
28527 bool arg6
= (bool) false ;
28528 wxString
const &arg7_defvalue
= wxPyEmptyString
;
28529 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28530 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
28531 wxFont
*result
= 0 ;
28544 bool temp7
= false ;
28547 PyObject
* obj0
= 0 ;
28548 PyObject
* obj1
= 0 ;
28549 PyObject
* obj2
= 0 ;
28550 PyObject
* obj3
= 0 ;
28551 PyObject
* obj4
= 0 ;
28552 PyObject
* obj5
= 0 ;
28553 PyObject
* obj6
= 0 ;
28554 PyObject
* obj7
= 0 ;
28555 char * kwnames
[] = {
28556 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
28559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
28561 if (!SWIG_IsOK(res1
)) {
28562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
28564 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
28565 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28566 if (!SWIG_IsOK(ecode2
)) {
28567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
28569 arg2
= static_cast< int >(val2
);
28570 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28571 if (!SWIG_IsOK(ecode3
)) {
28572 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
28574 arg3
= static_cast< int >(val3
);
28575 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28576 if (!SWIG_IsOK(ecode4
)) {
28577 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
28579 arg4
= static_cast< int >(val4
);
28580 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28581 if (!SWIG_IsOK(ecode5
)) {
28582 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
28584 arg5
= static_cast< int >(val5
);
28586 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
28587 if (!SWIG_IsOK(ecode6
)) {
28588 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
28590 arg6
= static_cast< bool >(val6
);
28594 arg7
= wxString_in_helper(obj6
);
28595 if (arg7
== NULL
) SWIG_fail
;
28600 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
28601 if (!SWIG_IsOK(ecode8
)) {
28602 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
28604 arg8
= static_cast< wxFontEncoding
>(val8
);
28607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28608 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
28609 wxPyEndAllowThreads(__tstate
);
28610 if (PyErr_Occurred()) SWIG_fail
;
28612 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
28627 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28628 PyObject
*resultobj
= 0;
28629 wxFontList
*arg1
= (wxFontList
*) 0 ;
28630 wxFont
*arg2
= (wxFont
*) 0 ;
28635 PyObject
* obj0
= 0 ;
28636 PyObject
* obj1
= 0 ;
28637 char * kwnames
[] = {
28638 (char *) "self",(char *) "font", NULL
28641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
28643 if (!SWIG_IsOK(res1
)) {
28644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
28646 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
28647 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
28648 if (!SWIG_IsOK(res2
)) {
28649 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
28651 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28654 (arg1
)->AddFont(arg2
);
28655 wxPyEndAllowThreads(__tstate
);
28656 if (PyErr_Occurred()) SWIG_fail
;
28658 resultobj
= SWIG_Py_Void();
28665 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28666 PyObject
*resultobj
= 0;
28667 wxFontList
*arg1
= (wxFontList
*) 0 ;
28668 wxFont
*arg2
= (wxFont
*) 0 ;
28673 PyObject
* obj0
= 0 ;
28674 PyObject
* obj1
= 0 ;
28675 char * kwnames
[] = {
28676 (char *) "self",(char *) "font", NULL
28679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
28681 if (!SWIG_IsOK(res1
)) {
28682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
28684 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
28685 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
28686 if (!SWIG_IsOK(res2
)) {
28687 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
28689 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28692 (arg1
)->RemoveFont(arg2
);
28693 wxPyEndAllowThreads(__tstate
);
28694 if (PyErr_Occurred()) SWIG_fail
;
28696 resultobj
= SWIG_Py_Void();
28703 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28705 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28706 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
28707 return SWIG_Py_Void();
28710 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28711 PyObject
*resultobj
= 0;
28712 wxColourDatabase
*result
= 0 ;
28714 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
28716 if (!wxPyCheckForApp()) SWIG_fail
;
28717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28718 result
= (wxColourDatabase
*)new wxColourDatabase();
28719 wxPyEndAllowThreads(__tstate
);
28720 if (PyErr_Occurred()) SWIG_fail
;
28722 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
28729 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28730 PyObject
*resultobj
= 0;
28731 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28734 PyObject
*swig_obj
[1] ;
28736 if (!args
) SWIG_fail
;
28737 swig_obj
[0] = args
;
28738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
28739 if (!SWIG_IsOK(res1
)) {
28740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
28742 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28747 wxPyEndAllowThreads(__tstate
);
28748 if (PyErr_Occurred()) SWIG_fail
;
28750 resultobj
= SWIG_Py_Void();
28757 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28758 PyObject
*resultobj
= 0;
28759 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28760 wxString
*arg2
= 0 ;
28764 bool temp2
= false ;
28765 PyObject
* obj0
= 0 ;
28766 PyObject
* obj1
= 0 ;
28767 char * kwnames
[] = {
28768 (char *) "self",(char *) "name", NULL
28771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28773 if (!SWIG_IsOK(res1
)) {
28774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
28776 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28778 arg2
= wxString_in_helper(obj1
);
28779 if (arg2
== NULL
) SWIG_fail
;
28783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28784 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
28785 wxPyEndAllowThreads(__tstate
);
28786 if (PyErr_Occurred()) SWIG_fail
;
28788 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28803 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28804 PyObject
*resultobj
= 0;
28805 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28806 wxColour
*arg2
= 0 ;
28811 PyObject
* obj0
= 0 ;
28812 PyObject
* obj1
= 0 ;
28813 char * kwnames
[] = {
28814 (char *) "self",(char *) "colour", NULL
28817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28819 if (!SWIG_IsOK(res1
)) {
28820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
28822 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28825 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28829 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
28830 wxPyEndAllowThreads(__tstate
);
28831 if (PyErr_Occurred()) SWIG_fail
;
28835 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28837 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28846 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28847 PyObject
*resultobj
= 0;
28848 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28849 wxString
*arg2
= 0 ;
28850 wxColour
*arg3
= 0 ;
28853 bool temp2
= false ;
28855 PyObject
* obj0
= 0 ;
28856 PyObject
* obj1
= 0 ;
28857 PyObject
* obj2
= 0 ;
28858 char * kwnames
[] = {
28859 (char *) "self",(char *) "name",(char *) "colour", NULL
28862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28864 if (!SWIG_IsOK(res1
)) {
28865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
28867 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28869 arg2
= wxString_in_helper(obj1
);
28870 if (arg2
== NULL
) SWIG_fail
;
28875 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28879 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
28880 wxPyEndAllowThreads(__tstate
);
28881 if (PyErr_Occurred()) SWIG_fail
;
28883 resultobj
= SWIG_Py_Void();
28898 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28899 PyObject
*resultobj
= 0;
28900 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28901 wxString
*arg2
= 0 ;
28907 bool temp2
= false ;
28914 PyObject
* obj0
= 0 ;
28915 PyObject
* obj1
= 0 ;
28916 PyObject
* obj2
= 0 ;
28917 PyObject
* obj3
= 0 ;
28918 PyObject
* obj4
= 0 ;
28919 char * kwnames
[] = {
28920 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
28923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28925 if (!SWIG_IsOK(res1
)) {
28926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
28928 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28930 arg2
= wxString_in_helper(obj1
);
28931 if (arg2
== NULL
) SWIG_fail
;
28934 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28935 if (!SWIG_IsOK(ecode3
)) {
28936 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
28938 arg3
= static_cast< int >(val3
);
28939 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28940 if (!SWIG_IsOK(ecode4
)) {
28941 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
28943 arg4
= static_cast< int >(val4
);
28944 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28945 if (!SWIG_IsOK(ecode5
)) {
28946 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
28948 arg5
= static_cast< int >(val5
);
28950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28951 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
28952 wxPyEndAllowThreads(__tstate
);
28953 if (PyErr_Occurred()) SWIG_fail
;
28955 resultobj
= SWIG_Py_Void();
28970 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28972 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28973 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
28974 return SWIG_Py_Void();
28977 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28978 return SWIG_Python_InitShadowInstance(args
);
28981 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28982 PyObject
*resultobj
= 0;
28983 wxFontList
*result
= 0 ;
28985 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
28987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28988 result
= (wxFontList
*)_wxPyInitTheFontList();
28989 wxPyEndAllowThreads(__tstate
);
28990 if (PyErr_Occurred()) SWIG_fail
;
28992 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
28999 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29000 PyObject
*resultobj
= 0;
29001 wxPenList
*result
= 0 ;
29003 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
29005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29006 result
= (wxPenList
*)_wxPyInitThePenList();
29007 wxPyEndAllowThreads(__tstate
);
29008 if (PyErr_Occurred()) SWIG_fail
;
29010 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
29017 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29018 PyObject
*resultobj
= 0;
29019 wxBrushList
*result
= 0 ;
29021 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
29023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29024 result
= (wxBrushList
*)_wxPyInitTheBrushList();
29025 wxPyEndAllowThreads(__tstate
);
29026 if (PyErr_Occurred()) SWIG_fail
;
29028 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
29035 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29036 PyObject
*resultobj
= 0;
29037 wxColourDatabase
*result
= 0 ;
29039 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
29041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29042 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
29043 wxPyEndAllowThreads(__tstate
);
29044 if (PyErr_Occurred()) SWIG_fail
;
29046 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
29053 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29054 PyObject
*resultobj
= 0;
29055 wxEffects
*result
= 0 ;
29057 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
29059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29060 result
= (wxEffects
*)new wxEffects();
29061 wxPyEndAllowThreads(__tstate
);
29062 if (PyErr_Occurred()) SWIG_fail
;
29064 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
29071 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29072 PyObject
*resultobj
= 0;
29073 wxEffects
*arg1
= (wxEffects
*) 0 ;
29077 PyObject
*swig_obj
[1] ;
29079 if (!args
) SWIG_fail
;
29080 swig_obj
[0] = args
;
29081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29082 if (!SWIG_IsOK(res1
)) {
29083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
29085 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29088 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
29089 wxPyEndAllowThreads(__tstate
);
29090 if (PyErr_Occurred()) SWIG_fail
;
29092 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29099 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29100 PyObject
*resultobj
= 0;
29101 wxEffects
*arg1
= (wxEffects
*) 0 ;
29105 PyObject
*swig_obj
[1] ;
29107 if (!args
) SWIG_fail
;
29108 swig_obj
[0] = args
;
29109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29110 if (!SWIG_IsOK(res1
)) {
29111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
29113 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29116 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
29117 wxPyEndAllowThreads(__tstate
);
29118 if (PyErr_Occurred()) SWIG_fail
;
29120 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29127 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29128 PyObject
*resultobj
= 0;
29129 wxEffects
*arg1
= (wxEffects
*) 0 ;
29133 PyObject
*swig_obj
[1] ;
29135 if (!args
) SWIG_fail
;
29136 swig_obj
[0] = args
;
29137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29138 if (!SWIG_IsOK(res1
)) {
29139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
29141 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29144 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
29145 wxPyEndAllowThreads(__tstate
);
29146 if (PyErr_Occurred()) SWIG_fail
;
29148 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29155 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29156 PyObject
*resultobj
= 0;
29157 wxEffects
*arg1
= (wxEffects
*) 0 ;
29161 PyObject
*swig_obj
[1] ;
29163 if (!args
) SWIG_fail
;
29164 swig_obj
[0] = args
;
29165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29166 if (!SWIG_IsOK(res1
)) {
29167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
29169 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29172 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
29173 wxPyEndAllowThreads(__tstate
);
29174 if (PyErr_Occurred()) SWIG_fail
;
29176 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29183 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29184 PyObject
*resultobj
= 0;
29185 wxEffects
*arg1
= (wxEffects
*) 0 ;
29189 PyObject
*swig_obj
[1] ;
29191 if (!args
) SWIG_fail
;
29192 swig_obj
[0] = args
;
29193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29194 if (!SWIG_IsOK(res1
)) {
29195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
29197 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29200 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
29201 wxPyEndAllowThreads(__tstate
);
29202 if (PyErr_Occurred()) SWIG_fail
;
29204 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29211 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29212 PyObject
*resultobj
= 0;
29213 wxEffects
*arg1
= (wxEffects
*) 0 ;
29214 wxColour
*arg2
= 0 ;
29218 PyObject
* obj0
= 0 ;
29219 PyObject
* obj1
= 0 ;
29220 char * kwnames
[] = {
29221 (char *) "self",(char *) "c", NULL
29224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29226 if (!SWIG_IsOK(res1
)) {
29227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
29229 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29232 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29236 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
29237 wxPyEndAllowThreads(__tstate
);
29238 if (PyErr_Occurred()) SWIG_fail
;
29240 resultobj
= SWIG_Py_Void();
29247 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29248 PyObject
*resultobj
= 0;
29249 wxEffects
*arg1
= (wxEffects
*) 0 ;
29250 wxColour
*arg2
= 0 ;
29254 PyObject
* obj0
= 0 ;
29255 PyObject
* obj1
= 0 ;
29256 char * kwnames
[] = {
29257 (char *) "self",(char *) "c", NULL
29260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29262 if (!SWIG_IsOK(res1
)) {
29263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
29265 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29268 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29272 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
29273 wxPyEndAllowThreads(__tstate
);
29274 if (PyErr_Occurred()) SWIG_fail
;
29276 resultobj
= SWIG_Py_Void();
29283 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29284 PyObject
*resultobj
= 0;
29285 wxEffects
*arg1
= (wxEffects
*) 0 ;
29286 wxColour
*arg2
= 0 ;
29290 PyObject
* obj0
= 0 ;
29291 PyObject
* obj1
= 0 ;
29292 char * kwnames
[] = {
29293 (char *) "self",(char *) "c", NULL
29296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29298 if (!SWIG_IsOK(res1
)) {
29299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
29301 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29304 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29308 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
29309 wxPyEndAllowThreads(__tstate
);
29310 if (PyErr_Occurred()) SWIG_fail
;
29312 resultobj
= SWIG_Py_Void();
29319 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29320 PyObject
*resultobj
= 0;
29321 wxEffects
*arg1
= (wxEffects
*) 0 ;
29322 wxColour
*arg2
= 0 ;
29326 PyObject
* obj0
= 0 ;
29327 PyObject
* obj1
= 0 ;
29328 char * kwnames
[] = {
29329 (char *) "self",(char *) "c", NULL
29332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29334 if (!SWIG_IsOK(res1
)) {
29335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
29337 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29340 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29344 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
29345 wxPyEndAllowThreads(__tstate
);
29346 if (PyErr_Occurred()) SWIG_fail
;
29348 resultobj
= SWIG_Py_Void();
29355 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29356 PyObject
*resultobj
= 0;
29357 wxEffects
*arg1
= (wxEffects
*) 0 ;
29358 wxColour
*arg2
= 0 ;
29362 PyObject
* obj0
= 0 ;
29363 PyObject
* obj1
= 0 ;
29364 char * kwnames
[] = {
29365 (char *) "self",(char *) "c", NULL
29368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29370 if (!SWIG_IsOK(res1
)) {
29371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
29373 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29376 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29380 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
29381 wxPyEndAllowThreads(__tstate
);
29382 if (PyErr_Occurred()) SWIG_fail
;
29384 resultobj
= SWIG_Py_Void();
29391 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29392 PyObject
*resultobj
= 0;
29393 wxEffects
*arg1
= (wxEffects
*) 0 ;
29394 wxColour
*arg2
= 0 ;
29395 wxColour
*arg3
= 0 ;
29396 wxColour
*arg4
= 0 ;
29397 wxColour
*arg5
= 0 ;
29398 wxColour
*arg6
= 0 ;
29406 PyObject
* obj0
= 0 ;
29407 PyObject
* obj1
= 0 ;
29408 PyObject
* obj2
= 0 ;
29409 PyObject
* obj3
= 0 ;
29410 PyObject
* obj4
= 0 ;
29411 PyObject
* obj5
= 0 ;
29412 char * kwnames
[] = {
29413 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
29416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29418 if (!SWIG_IsOK(res1
)) {
29419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
29421 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29424 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29428 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29432 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
29436 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
29440 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
29443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29444 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
29445 wxPyEndAllowThreads(__tstate
);
29446 if (PyErr_Occurred()) SWIG_fail
;
29448 resultobj
= SWIG_Py_Void();
29455 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29456 PyObject
*resultobj
= 0;
29457 wxEffects
*arg1
= (wxEffects
*) 0 ;
29460 int arg4
= (int) 1 ;
29468 PyObject
* obj0
= 0 ;
29469 PyObject
* obj1
= 0 ;
29470 PyObject
* obj2
= 0 ;
29471 PyObject
* obj3
= 0 ;
29472 char * kwnames
[] = {
29473 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
29476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29478 if (!SWIG_IsOK(res1
)) {
29479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
29481 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29482 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
29483 if (!SWIG_IsOK(res2
)) {
29484 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
29487 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
29489 arg2
= reinterpret_cast< wxDC
* >(argp2
);
29492 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
29495 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29496 if (!SWIG_IsOK(ecode4
)) {
29497 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
29499 arg4
= static_cast< int >(val4
);
29502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29503 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
29504 wxPyEndAllowThreads(__tstate
);
29505 if (PyErr_Occurred()) SWIG_fail
;
29507 resultobj
= SWIG_Py_Void();
29514 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29515 PyObject
*resultobj
= 0;
29516 wxEffects
*arg1
= (wxEffects
*) 0 ;
29519 wxBitmap
*arg4
= 0 ;
29528 PyObject
* obj0
= 0 ;
29529 PyObject
* obj1
= 0 ;
29530 PyObject
* obj2
= 0 ;
29531 PyObject
* obj3
= 0 ;
29532 char * kwnames
[] = {
29533 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
29536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29538 if (!SWIG_IsOK(res1
)) {
29539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
29541 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29544 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29546 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29547 if (!SWIG_IsOK(res3
)) {
29548 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
29551 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
29553 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29554 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
29555 if (!SWIG_IsOK(res4
)) {
29556 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
29559 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
29561 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
29563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29564 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
29565 wxPyEndAllowThreads(__tstate
);
29566 if (PyErr_Occurred()) SWIG_fail
;
29569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29577 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29579 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29580 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
29581 return SWIG_Py_Void();
29584 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29585 return SWIG_Python_InitShadowInstance(args
);
29588 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29589 PyObject
*resultobj
= 0;
29593 wxSplitterRenderParams
*result
= 0 ;
29600 PyObject
* obj0
= 0 ;
29601 PyObject
* obj1
= 0 ;
29602 PyObject
* obj2
= 0 ;
29603 char * kwnames
[] = {
29604 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
29607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29608 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29609 if (!SWIG_IsOK(ecode1
)) {
29610 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
29612 arg1
= static_cast< int >(val1
);
29613 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29614 if (!SWIG_IsOK(ecode2
)) {
29615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
29617 arg2
= static_cast< int >(val2
);
29618 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29619 if (!SWIG_IsOK(ecode3
)) {
29620 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
29622 arg3
= static_cast< bool >(val3
);
29624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29625 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
29626 wxPyEndAllowThreads(__tstate
);
29627 if (PyErr_Occurred()) SWIG_fail
;
29629 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
29636 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29637 PyObject
*resultobj
= 0;
29638 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29641 PyObject
*swig_obj
[1] ;
29643 if (!args
) SWIG_fail
;
29644 swig_obj
[0] = args
;
29645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
29646 if (!SWIG_IsOK(res1
)) {
29647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29649 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29654 wxPyEndAllowThreads(__tstate
);
29655 if (PyErr_Occurred()) SWIG_fail
;
29657 resultobj
= SWIG_Py_Void();
29664 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29665 PyObject
*resultobj
= 0;
29666 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29670 PyObject
*swig_obj
[1] ;
29672 if (!args
) SWIG_fail
;
29673 swig_obj
[0] = args
;
29674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
29675 if (!SWIG_IsOK(res1
)) {
29676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29678 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29679 result
= (int)(int) ((arg1
)->widthSash
);
29680 resultobj
= SWIG_From_int(static_cast< int >(result
));
29687 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29688 PyObject
*resultobj
= 0;
29689 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29693 PyObject
*swig_obj
[1] ;
29695 if (!args
) SWIG_fail
;
29696 swig_obj
[0] = args
;
29697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
29698 if (!SWIG_IsOK(res1
)) {
29699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29701 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29702 result
= (int)(int) ((arg1
)->border
);
29703 resultobj
= SWIG_From_int(static_cast< int >(result
));
29710 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29711 PyObject
*resultobj
= 0;
29712 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29716 PyObject
*swig_obj
[1] ;
29718 if (!args
) SWIG_fail
;
29719 swig_obj
[0] = args
;
29720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
29721 if (!SWIG_IsOK(res1
)) {
29722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29724 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29725 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
29726 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
29733 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29735 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29736 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
29737 return SWIG_Py_Void();
29740 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29741 return SWIG_Python_InitShadowInstance(args
);
29744 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29745 PyObject
*resultobj
= 0;
29746 wxHeaderButtonParams
*result
= 0 ;
29748 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
29750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29751 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
29752 wxPyEndAllowThreads(__tstate
);
29753 if (PyErr_Occurred()) SWIG_fail
;
29755 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
29762 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29763 PyObject
*resultobj
= 0;
29764 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29767 PyObject
*swig_obj
[1] ;
29769 if (!args
) SWIG_fail
;
29770 swig_obj
[0] = args
;
29771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
29772 if (!SWIG_IsOK(res1
)) {
29773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29775 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29780 wxPyEndAllowThreads(__tstate
);
29781 if (PyErr_Occurred()) SWIG_fail
;
29783 resultobj
= SWIG_Py_Void();
29790 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29791 PyObject
*resultobj
= 0;
29792 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29793 wxColour
*arg2
= (wxColour
*) 0 ;
29797 PyObject
*swig_obj
[2] ;
29799 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
29800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29801 if (!SWIG_IsOK(res1
)) {
29802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29804 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29807 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
29809 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
29811 resultobj
= SWIG_Py_Void();
29818 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29819 PyObject
*resultobj
= 0;
29820 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29821 wxColour
*result
= 0 ;
29824 PyObject
*swig_obj
[1] ;
29826 if (!args
) SWIG_fail
;
29827 swig_obj
[0] = args
;
29828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29829 if (!SWIG_IsOK(res1
)) {
29830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29832 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29833 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
29834 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29841 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29842 PyObject
*resultobj
= 0;
29843 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29844 wxColour
*arg2
= (wxColour
*) 0 ;
29848 PyObject
*swig_obj
[2] ;
29850 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
29851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29852 if (!SWIG_IsOK(res1
)) {
29853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29855 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29858 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
29860 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
29862 resultobj
= SWIG_Py_Void();
29869 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29870 PyObject
*resultobj
= 0;
29871 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29872 wxColour
*result
= 0 ;
29875 PyObject
*swig_obj
[1] ;
29877 if (!args
) SWIG_fail
;
29878 swig_obj
[0] = args
;
29879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29880 if (!SWIG_IsOK(res1
)) {
29881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29883 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29884 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
29885 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29892 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29893 PyObject
*resultobj
= 0;
29894 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29895 wxString
*arg2
= (wxString
*) 0 ;
29898 bool temp2
= false ;
29899 PyObject
*swig_obj
[2] ;
29901 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
29902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29903 if (!SWIG_IsOK(res1
)) {
29904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29906 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29908 arg2
= wxString_in_helper(swig_obj
[1]);
29909 if (arg2
== NULL
) SWIG_fail
;
29912 if (arg1
) (arg1
)->m_labelText
= *arg2
;
29914 resultobj
= SWIG_Py_Void();
29929 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29930 PyObject
*resultobj
= 0;
29931 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29932 wxString
*result
= 0 ;
29935 PyObject
*swig_obj
[1] ;
29937 if (!args
) SWIG_fail
;
29938 swig_obj
[0] = args
;
29939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29940 if (!SWIG_IsOK(res1
)) {
29941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29943 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29944 result
= (wxString
*)& ((arg1
)->m_labelText
);
29947 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29949 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29958 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29959 PyObject
*resultobj
= 0;
29960 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29961 wxFont
*arg2
= (wxFont
*) 0 ;
29966 PyObject
*swig_obj
[2] ;
29968 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
29969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29970 if (!SWIG_IsOK(res1
)) {
29971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29973 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29974 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
29975 if (!SWIG_IsOK(res2
)) {
29976 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
29978 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29979 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
29981 resultobj
= SWIG_Py_Void();
29988 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29989 PyObject
*resultobj
= 0;
29990 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29991 wxFont
*result
= 0 ;
29994 PyObject
*swig_obj
[1] ;
29996 if (!args
) SWIG_fail
;
29997 swig_obj
[0] = args
;
29998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29999 if (!SWIG_IsOK(res1
)) {
30000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30002 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30003 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
30004 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
30011 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30012 PyObject
*resultobj
= 0;
30013 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30014 wxColour
*arg2
= (wxColour
*) 0 ;
30018 PyObject
*swig_obj
[2] ;
30020 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
30021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30022 if (!SWIG_IsOK(res1
)) {
30023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30025 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30028 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
30030 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
30032 resultobj
= SWIG_Py_Void();
30039 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30040 PyObject
*resultobj
= 0;
30041 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30042 wxColour
*result
= 0 ;
30045 PyObject
*swig_obj
[1] ;
30047 if (!args
) SWIG_fail
;
30048 swig_obj
[0] = args
;
30049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30050 if (!SWIG_IsOK(res1
)) {
30051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30053 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30054 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
30055 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
30062 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30063 PyObject
*resultobj
= 0;
30064 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30065 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
30070 PyObject
*swig_obj
[2] ;
30072 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
30073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30074 if (!SWIG_IsOK(res1
)) {
30075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30077 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30078 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
30079 if (!SWIG_IsOK(res2
)) {
30080 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
30082 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30083 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
30085 resultobj
= SWIG_Py_Void();
30092 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30093 PyObject
*resultobj
= 0;
30094 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30095 wxBitmap
*result
= 0 ;
30098 PyObject
*swig_obj
[1] ;
30100 if (!args
) SWIG_fail
;
30101 swig_obj
[0] = args
;
30102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30103 if (!SWIG_IsOK(res1
)) {
30104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30106 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30107 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
30108 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
30115 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30116 PyObject
*resultobj
= 0;
30117 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30123 PyObject
*swig_obj
[2] ;
30125 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
30126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30127 if (!SWIG_IsOK(res1
)) {
30128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30130 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30131 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
30132 if (!SWIG_IsOK(ecode2
)) {
30133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
30135 arg2
= static_cast< int >(val2
);
30136 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
30138 resultobj
= SWIG_Py_Void();
30145 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30146 PyObject
*resultobj
= 0;
30147 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
30151 PyObject
*swig_obj
[1] ;
30153 if (!args
) SWIG_fail
;
30154 swig_obj
[0] = args
;
30155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30156 if (!SWIG_IsOK(res1
)) {
30157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
30159 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
30160 result
= (int) ((arg1
)->m_labelAlignment
);
30161 resultobj
= SWIG_From_int(static_cast< int >(result
));
30168 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30170 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30171 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
30172 return SWIG_Py_Void();
30175 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30176 return SWIG_Python_InitShadowInstance(args
);
30179 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30180 PyObject
*resultobj
= 0;
30183 wxRendererVersion
*result
= 0 ;
30188 PyObject
* obj0
= 0 ;
30189 PyObject
* obj1
= 0 ;
30190 char * kwnames
[] = {
30191 (char *) "version_",(char *) "age_", NULL
30194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30195 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30196 if (!SWIG_IsOK(ecode1
)) {
30197 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
30199 arg1
= static_cast< int >(val1
);
30200 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30201 if (!SWIG_IsOK(ecode2
)) {
30202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
30204 arg2
= static_cast< int >(val2
);
30206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30207 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
30208 wxPyEndAllowThreads(__tstate
);
30209 if (PyErr_Occurred()) SWIG_fail
;
30211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
30218 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30219 PyObject
*resultobj
= 0;
30220 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
30223 PyObject
*swig_obj
[1] ;
30225 if (!args
) SWIG_fail
;
30226 swig_obj
[0] = args
;
30227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
30228 if (!SWIG_IsOK(res1
)) {
30229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
30231 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30236 wxPyEndAllowThreads(__tstate
);
30237 if (PyErr_Occurred()) SWIG_fail
;
30239 resultobj
= SWIG_Py_Void();
30246 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30247 PyObject
*resultobj
= 0;
30248 wxRendererVersion
*arg1
= 0 ;
30252 PyObject
* obj0
= 0 ;
30253 char * kwnames
[] = {
30254 (char *) "ver", NULL
30257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
30258 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
30259 if (!SWIG_IsOK(res1
)) {
30260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
30263 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
30265 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30268 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
30269 wxPyEndAllowThreads(__tstate
);
30270 if (PyErr_Occurred()) SWIG_fail
;
30273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30281 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30282 PyObject
*resultobj
= 0;
30283 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
30287 PyObject
*swig_obj
[1] ;
30289 if (!args
) SWIG_fail
;
30290 swig_obj
[0] = args
;
30291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
30292 if (!SWIG_IsOK(res1
)) {
30293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
30295 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30296 result
= (int)(int) ((arg1
)->version
);
30297 resultobj
= SWIG_From_int(static_cast< int >(result
));
30304 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30305 PyObject
*resultobj
= 0;
30306 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
30310 PyObject
*swig_obj
[1] ;
30312 if (!args
) SWIG_fail
;
30313 swig_obj
[0] = args
;
30314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
30315 if (!SWIG_IsOK(res1
)) {
30316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
30318 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30319 result
= (int)(int) ((arg1
)->age
);
30320 resultobj
= SWIG_From_int(static_cast< int >(result
));
30327 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30329 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30330 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
30331 return SWIG_Py_Void();
30334 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30335 return SWIG_Python_InitShadowInstance(args
);
30338 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30339 PyObject
*resultobj
= 0;
30340 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30341 wxWindow
*arg2
= (wxWindow
*) 0 ;
30344 int arg5
= (int) 0 ;
30345 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
30346 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
30360 PyObject
* obj0
= 0 ;
30361 PyObject
* obj1
= 0 ;
30362 PyObject
* obj2
= 0 ;
30363 PyObject
* obj3
= 0 ;
30364 PyObject
* obj4
= 0 ;
30365 PyObject
* obj5
= 0 ;
30366 PyObject
* obj6
= 0 ;
30367 char * kwnames
[] = {
30368 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
30371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) 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_DrawHeaderButton" "', 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_DrawHeaderButton" "', 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_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
30387 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', 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_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
30399 arg5
= static_cast< int >(val5
);
30402 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30403 if (!SWIG_IsOK(ecode6
)) {
30404 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
30406 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
30409 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30410 if (!SWIG_IsOK(res7
)) {
30411 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
30413 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
30416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30417 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
30418 wxPyEndAllowThreads(__tstate
);
30419 if (PyErr_Occurred()) SWIG_fail
;
30421 resultobj
= SWIG_Py_Void();
30428 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30429 PyObject
*resultobj
= 0;
30430 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30431 wxWindow
*arg2
= (wxWindow
*) 0 ;
30434 int arg5
= (int) 0 ;
30435 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
30436 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
30450 PyObject
* obj0
= 0 ;
30451 PyObject
* obj1
= 0 ;
30452 PyObject
* obj2
= 0 ;
30453 PyObject
* obj3
= 0 ;
30454 PyObject
* obj4
= 0 ;
30455 PyObject
* obj5
= 0 ;
30456 PyObject
* obj6
= 0 ;
30457 char * kwnames
[] = {
30458 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
30461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30463 if (!SWIG_IsOK(res1
)) {
30464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30466 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30467 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30468 if (!SWIG_IsOK(res2
)) {
30469 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
30471 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30472 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30473 if (!SWIG_IsOK(res3
)) {
30474 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
30477 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
30479 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30482 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30485 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30486 if (!SWIG_IsOK(ecode5
)) {
30487 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
30489 arg5
= static_cast< int >(val5
);
30492 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30493 if (!SWIG_IsOK(ecode6
)) {
30494 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
30496 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
30499 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30500 if (!SWIG_IsOK(res7
)) {
30501 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
30503 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
30506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30507 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
30508 wxPyEndAllowThreads(__tstate
);
30509 if (PyErr_Occurred()) SWIG_fail
;
30511 resultobj
= SWIG_Py_Void();
30518 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30519 PyObject
*resultobj
= 0;
30520 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30521 wxWindow
*arg2
= (wxWindow
*) 0 ;
30527 PyObject
* obj0
= 0 ;
30528 PyObject
* obj1
= 0 ;
30529 char * kwnames
[] = {
30530 (char *) "self",(char *) "win", NULL
30533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30535 if (!SWIG_IsOK(res1
)) {
30536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30538 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30539 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30540 if (!SWIG_IsOK(res2
)) {
30541 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
30543 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30546 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
30547 wxPyEndAllowThreads(__tstate
);
30548 if (PyErr_Occurred()) SWIG_fail
;
30550 resultobj
= SWIG_From_int(static_cast< int >(result
));
30557 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30558 PyObject
*resultobj
= 0;
30559 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30560 wxWindow
*arg2
= (wxWindow
*) 0 ;
30563 int arg5
= (int) 0 ;
30573 PyObject
* obj0
= 0 ;
30574 PyObject
* obj1
= 0 ;
30575 PyObject
* obj2
= 0 ;
30576 PyObject
* obj3
= 0 ;
30577 PyObject
* obj4
= 0 ;
30578 char * kwnames
[] = {
30579 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30584 if (!SWIG_IsOK(res1
)) {
30585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30587 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30588 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30589 if (!SWIG_IsOK(res2
)) {
30590 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30592 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30593 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30594 if (!SWIG_IsOK(res3
)) {
30595 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
30598 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
30600 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30603 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30606 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30607 if (!SWIG_IsOK(ecode5
)) {
30608 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
30610 arg5
= static_cast< int >(val5
);
30613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30614 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30615 wxPyEndAllowThreads(__tstate
);
30616 if (PyErr_Occurred()) SWIG_fail
;
30618 resultobj
= SWIG_Py_Void();
30625 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30626 PyObject
*resultobj
= 0;
30627 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30628 wxWindow
*arg2
= (wxWindow
*) 0 ;
30631 int arg5
= (int) 0 ;
30641 PyObject
* obj0
= 0 ;
30642 PyObject
* obj1
= 0 ;
30643 PyObject
* obj2
= 0 ;
30644 PyObject
* obj3
= 0 ;
30645 PyObject
* obj4
= 0 ;
30646 char * kwnames
[] = {
30647 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30652 if (!SWIG_IsOK(res1
)) {
30653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30655 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30656 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30657 if (!SWIG_IsOK(res2
)) {
30658 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
30660 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30661 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30662 if (!SWIG_IsOK(res3
)) {
30663 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
30666 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
30668 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30671 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30674 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30675 if (!SWIG_IsOK(ecode5
)) {
30676 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
30678 arg5
= static_cast< int >(val5
);
30681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30682 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30683 wxPyEndAllowThreads(__tstate
);
30684 if (PyErr_Occurred()) SWIG_fail
;
30686 resultobj
= SWIG_Py_Void();
30693 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30694 PyObject
*resultobj
= 0;
30695 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30696 wxWindow
*arg2
= (wxWindow
*) 0 ;
30700 wxOrientation arg6
;
30701 int arg7
= (int) 0 ;
30715 PyObject
* obj0
= 0 ;
30716 PyObject
* obj1
= 0 ;
30717 PyObject
* obj2
= 0 ;
30718 PyObject
* obj3
= 0 ;
30719 PyObject
* obj4
= 0 ;
30720 PyObject
* obj5
= 0 ;
30721 PyObject
* obj6
= 0 ;
30722 char * kwnames
[] = {
30723 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
30726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30728 if (!SWIG_IsOK(res1
)) {
30729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30731 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30732 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30733 if (!SWIG_IsOK(res2
)) {
30734 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
30736 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30737 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30738 if (!SWIG_IsOK(res3
)) {
30739 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
30742 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
30744 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30747 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30749 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30750 if (!SWIG_IsOK(ecode5
)) {
30751 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
30753 arg5
= static_cast< int >(val5
);
30754 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30755 if (!SWIG_IsOK(ecode6
)) {
30756 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
30758 arg6
= static_cast< wxOrientation
>(val6
);
30760 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
30761 if (!SWIG_IsOK(ecode7
)) {
30762 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
30764 arg7
= static_cast< int >(val7
);
30767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30768 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
30769 wxPyEndAllowThreads(__tstate
);
30770 if (PyErr_Occurred()) SWIG_fail
;
30772 resultobj
= SWIG_Py_Void();
30779 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30780 PyObject
*resultobj
= 0;
30781 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30782 wxWindow
*arg2
= (wxWindow
*) 0 ;
30785 int arg5
= (int) 0 ;
30795 PyObject
* obj0
= 0 ;
30796 PyObject
* obj1
= 0 ;
30797 PyObject
* obj2
= 0 ;
30798 PyObject
* obj3
= 0 ;
30799 PyObject
* obj4
= 0 ;
30800 char * kwnames
[] = {
30801 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30806 if (!SWIG_IsOK(res1
)) {
30807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30809 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30810 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30811 if (!SWIG_IsOK(res2
)) {
30812 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30814 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30815 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30816 if (!SWIG_IsOK(res3
)) {
30817 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
30820 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
30822 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30825 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30828 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30829 if (!SWIG_IsOK(ecode5
)) {
30830 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
30832 arg5
= static_cast< int >(val5
);
30835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30836 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30837 wxPyEndAllowThreads(__tstate
);
30838 if (PyErr_Occurred()) SWIG_fail
;
30840 resultobj
= SWIG_Py_Void();
30847 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30848 PyObject
*resultobj
= 0;
30849 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30850 wxWindow
*arg2
= (wxWindow
*) 0 ;
30853 int arg5
= (int) 0 ;
30863 PyObject
* obj0
= 0 ;
30864 PyObject
* obj1
= 0 ;
30865 PyObject
* obj2
= 0 ;
30866 PyObject
* obj3
= 0 ;
30867 PyObject
* obj4
= 0 ;
30868 char * kwnames
[] = {
30869 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30874 if (!SWIG_IsOK(res1
)) {
30875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30877 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30878 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30879 if (!SWIG_IsOK(res2
)) {
30880 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
30882 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30883 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30884 if (!SWIG_IsOK(res3
)) {
30885 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
30888 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
30890 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30893 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30896 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30897 if (!SWIG_IsOK(ecode5
)) {
30898 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
30900 arg5
= static_cast< int >(val5
);
30903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30904 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30905 wxPyEndAllowThreads(__tstate
);
30906 if (PyErr_Occurred()) SWIG_fail
;
30908 resultobj
= SWIG_Py_Void();
30915 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30916 PyObject
*resultobj
= 0;
30917 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30918 wxWindow
*arg2
= (wxWindow
*) 0 ;
30921 int arg5
= (int) 0 ;
30931 PyObject
* obj0
= 0 ;
30932 PyObject
* obj1
= 0 ;
30933 PyObject
* obj2
= 0 ;
30934 PyObject
* obj3
= 0 ;
30935 PyObject
* obj4
= 0 ;
30936 char * kwnames
[] = {
30937 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30942 if (!SWIG_IsOK(res1
)) {
30943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30945 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30946 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30947 if (!SWIG_IsOK(res2
)) {
30948 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
30950 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30951 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30952 if (!SWIG_IsOK(res3
)) {
30953 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
30956 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
30958 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30961 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30964 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30965 if (!SWIG_IsOK(ecode5
)) {
30966 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
30968 arg5
= static_cast< int >(val5
);
30971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30972 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30973 wxPyEndAllowThreads(__tstate
);
30974 if (PyErr_Occurred()) SWIG_fail
;
30976 resultobj
= SWIG_Py_Void();
30983 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30984 PyObject
*resultobj
= 0;
30985 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30986 wxWindow
*arg2
= (wxWindow
*) 0 ;
30989 int arg5
= (int) 0 ;
30999 PyObject
* obj0
= 0 ;
31000 PyObject
* obj1
= 0 ;
31001 PyObject
* obj2
= 0 ;
31002 PyObject
* obj3
= 0 ;
31003 PyObject
* obj4
= 0 ;
31004 char * kwnames
[] = {
31005 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31010 if (!SWIG_IsOK(res1
)) {
31011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31013 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31014 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31015 if (!SWIG_IsOK(res2
)) {
31016 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
31018 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31019 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31020 if (!SWIG_IsOK(res3
)) {
31021 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
31024 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
31026 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31029 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31032 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31033 if (!SWIG_IsOK(ecode5
)) {
31034 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
31036 arg5
= static_cast< int >(val5
);
31039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31040 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31041 wxPyEndAllowThreads(__tstate
);
31042 if (PyErr_Occurred()) SWIG_fail
;
31044 resultobj
= SWIG_Py_Void();
31051 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31052 PyObject
*resultobj
= 0;
31053 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31054 wxWindow
*arg2
= (wxWindow
*) 0 ;
31057 int arg5
= (int) 0 ;
31067 PyObject
* obj0
= 0 ;
31068 PyObject
* obj1
= 0 ;
31069 PyObject
* obj2
= 0 ;
31070 PyObject
* obj3
= 0 ;
31071 PyObject
* obj4
= 0 ;
31072 char * kwnames
[] = {
31073 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
31076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31078 if (!SWIG_IsOK(res1
)) {
31079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31081 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31082 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31083 if (!SWIG_IsOK(res2
)) {
31084 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
31086 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31087 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
31088 if (!SWIG_IsOK(res3
)) {
31089 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
31092 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
31094 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31097 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31100 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31101 if (!SWIG_IsOK(ecode5
)) {
31102 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
31104 arg5
= static_cast< int >(val5
);
31107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31108 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
31109 wxPyEndAllowThreads(__tstate
);
31110 if (PyErr_Occurred()) SWIG_fail
;
31112 resultobj
= SWIG_Py_Void();
31119 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31120 PyObject
*resultobj
= 0;
31121 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31122 wxWindow
*arg2
= (wxWindow
*) 0 ;
31123 SwigValueWrapper
<wxSplitterRenderParams
> result
;
31128 PyObject
* obj0
= 0 ;
31129 PyObject
* obj1
= 0 ;
31130 char * kwnames
[] = {
31131 (char *) "self",(char *) "win", NULL
31134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31136 if (!SWIG_IsOK(res1
)) {
31137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31139 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31140 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31141 if (!SWIG_IsOK(res2
)) {
31142 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
31144 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31147 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
31148 wxPyEndAllowThreads(__tstate
);
31149 if (PyErr_Occurred()) SWIG_fail
;
31151 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
31158 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31159 PyObject
*resultobj
= 0;
31160 wxRendererNative
*result
= 0 ;
31162 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
31164 if (!wxPyCheckForApp()) SWIG_fail
;
31165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31167 wxRendererNative
&_result_ref
= wxRendererNative::Get();
31168 result
= (wxRendererNative
*) &_result_ref
;
31170 wxPyEndAllowThreads(__tstate
);
31171 if (PyErr_Occurred()) SWIG_fail
;
31173 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31180 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31181 PyObject
*resultobj
= 0;
31182 wxRendererNative
*result
= 0 ;
31184 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
31186 if (!wxPyCheckForApp()) SWIG_fail
;
31187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31189 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
31190 result
= (wxRendererNative
*) &_result_ref
;
31192 wxPyEndAllowThreads(__tstate
);
31193 if (PyErr_Occurred()) SWIG_fail
;
31195 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31202 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31203 PyObject
*resultobj
= 0;
31204 wxRendererNative
*result
= 0 ;
31206 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
31208 if (!wxPyCheckForApp()) SWIG_fail
;
31209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31211 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
31212 result
= (wxRendererNative
*) &_result_ref
;
31214 wxPyEndAllowThreads(__tstate
);
31215 if (PyErr_Occurred()) SWIG_fail
;
31217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31224 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31225 PyObject
*resultobj
= 0;
31226 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31227 wxRendererNative
*result
= 0 ;
31230 PyObject
* obj0
= 0 ;
31231 char * kwnames
[] = {
31232 (char *) "renderer", NULL
31235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
31236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31237 if (!SWIG_IsOK(res1
)) {
31238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31240 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31242 if (!wxPyCheckForApp()) SWIG_fail
;
31243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31244 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
31245 wxPyEndAllowThreads(__tstate
);
31246 if (PyErr_Occurred()) SWIG_fail
;
31248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31255 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31256 PyObject
*resultobj
= 0;
31257 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31258 SwigValueWrapper
<wxRendererVersion
> result
;
31261 PyObject
*swig_obj
[1] ;
31263 if (!args
) SWIG_fail
;
31264 swig_obj
[0] = args
;
31265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31266 if (!SWIG_IsOK(res1
)) {
31267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
31269 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31272 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
31273 wxPyEndAllowThreads(__tstate
);
31274 if (PyErr_Occurred()) SWIG_fail
;
31276 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
31283 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31285 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31286 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
31287 return SWIG_Py_Void();
31290 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31291 PyObject
*resultobj
= 0;
31292 wxPseudoDC
*result
= 0 ;
31294 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
31296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31297 result
= (wxPseudoDC
*)new wxPseudoDC();
31298 wxPyEndAllowThreads(__tstate
);
31299 if (PyErr_Occurred()) SWIG_fail
;
31301 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
31308 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31309 PyObject
*resultobj
= 0;
31310 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31313 PyObject
*swig_obj
[1] ;
31315 if (!args
) SWIG_fail
;
31316 swig_obj
[0] = args
;
31317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31318 if (!SWIG_IsOK(res1
)) {
31319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31321 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31324 (arg1
)->BeginDrawing();
31325 wxPyEndAllowThreads(__tstate
);
31326 if (PyErr_Occurred()) SWIG_fail
;
31328 resultobj
= SWIG_Py_Void();
31335 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31336 PyObject
*resultobj
= 0;
31337 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31340 PyObject
*swig_obj
[1] ;
31342 if (!args
) SWIG_fail
;
31343 swig_obj
[0] = args
;
31344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31345 if (!SWIG_IsOK(res1
)) {
31346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31348 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31351 (arg1
)->EndDrawing();
31352 wxPyEndAllowThreads(__tstate
);
31353 if (PyErr_Occurred()) SWIG_fail
;
31355 resultobj
= SWIG_Py_Void();
31362 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31363 PyObject
*resultobj
= 0;
31364 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31367 PyObject
*swig_obj
[1] ;
31369 if (!args
) SWIG_fail
;
31370 swig_obj
[0] = args
;
31371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
31372 if (!SWIG_IsOK(res1
)) {
31373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31375 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31380 wxPyEndAllowThreads(__tstate
);
31381 if (PyErr_Occurred()) SWIG_fail
;
31383 resultobj
= SWIG_Py_Void();
31390 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31391 PyObject
*resultobj
= 0;
31392 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31395 PyObject
*swig_obj
[1] ;
31397 if (!args
) SWIG_fail
;
31398 swig_obj
[0] = args
;
31399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31400 if (!SWIG_IsOK(res1
)) {
31401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31403 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31406 (arg1
)->RemoveAll();
31407 wxPyEndAllowThreads(__tstate
);
31408 if (PyErr_Occurred()) SWIG_fail
;
31410 resultobj
= SWIG_Py_Void();
31417 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31418 PyObject
*resultobj
= 0;
31419 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31423 PyObject
*swig_obj
[1] ;
31425 if (!args
) SWIG_fail
;
31426 swig_obj
[0] = args
;
31427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31428 if (!SWIG_IsOK(res1
)) {
31429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31431 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31434 result
= (int)(arg1
)->GetLen();
31435 wxPyEndAllowThreads(__tstate
);
31436 if (PyErr_Occurred()) SWIG_fail
;
31438 resultobj
= SWIG_From_int(static_cast< int >(result
));
31445 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31446 PyObject
*resultobj
= 0;
31447 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31453 PyObject
* obj0
= 0 ;
31454 PyObject
* obj1
= 0 ;
31455 char * kwnames
[] = {
31456 (char *) "self",(char *) "id", NULL
31459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31461 if (!SWIG_IsOK(res1
)) {
31462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31464 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31466 if (!SWIG_IsOK(ecode2
)) {
31467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
31469 arg2
= static_cast< int >(val2
);
31471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31472 (arg1
)->SetId(arg2
);
31473 wxPyEndAllowThreads(__tstate
);
31474 if (PyErr_Occurred()) SWIG_fail
;
31476 resultobj
= SWIG_Py_Void();
31483 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31484 PyObject
*resultobj
= 0;
31485 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31491 PyObject
* obj0
= 0 ;
31492 PyObject
* obj1
= 0 ;
31493 char * kwnames
[] = {
31494 (char *) "self",(char *) "id", NULL
31497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31499 if (!SWIG_IsOK(res1
)) {
31500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31502 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31504 if (!SWIG_IsOK(ecode2
)) {
31505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
31507 arg2
= static_cast< int >(val2
);
31509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31510 (arg1
)->ClearId(arg2
);
31511 wxPyEndAllowThreads(__tstate
);
31512 if (PyErr_Occurred()) SWIG_fail
;
31514 resultobj
= SWIG_Py_Void();
31521 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31522 PyObject
*resultobj
= 0;
31523 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31529 PyObject
* obj0
= 0 ;
31530 PyObject
* obj1
= 0 ;
31531 char * kwnames
[] = {
31532 (char *) "self",(char *) "id", NULL
31535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31537 if (!SWIG_IsOK(res1
)) {
31538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31540 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31541 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31542 if (!SWIG_IsOK(ecode2
)) {
31543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
31545 arg2
= static_cast< int >(val2
);
31547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31548 (arg1
)->RemoveId(arg2
);
31549 wxPyEndAllowThreads(__tstate
);
31550 if (PyErr_Occurred()) SWIG_fail
;
31552 resultobj
= SWIG_Py_Void();
31559 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31560 PyObject
*resultobj
= 0;
31561 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31573 PyObject
* obj0
= 0 ;
31574 PyObject
* obj1
= 0 ;
31575 PyObject
* obj2
= 0 ;
31576 PyObject
* obj3
= 0 ;
31577 char * kwnames
[] = {
31578 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
31581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31583 if (!SWIG_IsOK(res1
)) {
31584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31586 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31587 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31588 if (!SWIG_IsOK(ecode2
)) {
31589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
31591 arg2
= static_cast< int >(val2
);
31592 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31593 if (!SWIG_IsOK(ecode3
)) {
31594 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
31596 arg3
= static_cast< int >(val3
);
31597 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31598 if (!SWIG_IsOK(ecode4
)) {
31599 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
31601 arg4
= static_cast< int >(val4
);
31603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31604 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
31605 wxPyEndAllowThreads(__tstate
);
31606 if (PyErr_Occurred()) SWIG_fail
;
31608 resultobj
= SWIG_Py_Void();
31615 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31616 PyObject
*resultobj
= 0;
31617 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31619 bool arg3
= (bool) true ;
31626 PyObject
* obj0
= 0 ;
31627 PyObject
* obj1
= 0 ;
31628 PyObject
* obj2
= 0 ;
31629 char * kwnames
[] = {
31630 (char *) "self",(char *) "id",(char *) "greyout", NULL
31633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31635 if (!SWIG_IsOK(res1
)) {
31636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31638 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31639 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31640 if (!SWIG_IsOK(ecode2
)) {
31641 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
31643 arg2
= static_cast< int >(val2
);
31645 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31646 if (!SWIG_IsOK(ecode3
)) {
31647 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
31649 arg3
= static_cast< bool >(val3
);
31652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31653 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
31654 wxPyEndAllowThreads(__tstate
);
31655 if (PyErr_Occurred()) SWIG_fail
;
31657 resultobj
= SWIG_Py_Void();
31664 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31665 PyObject
*resultobj
= 0;
31666 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31673 PyObject
* obj0
= 0 ;
31674 PyObject
* obj1
= 0 ;
31675 char * kwnames
[] = {
31676 (char *) "self",(char *) "id", NULL
31679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31681 if (!SWIG_IsOK(res1
)) {
31682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31684 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31685 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31686 if (!SWIG_IsOK(ecode2
)) {
31687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
31689 arg2
= static_cast< int >(val2
);
31691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31692 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
31693 wxPyEndAllowThreads(__tstate
);
31694 if (PyErr_Occurred()) SWIG_fail
;
31697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31705 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31706 PyObject
*resultobj
= 0;
31707 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31710 int arg4
= (int) 1 ;
31711 wxColor
const &arg5_defvalue
= *wxWHITE
;
31712 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
31713 PyObject
*result
= 0 ;
31724 PyObject
* obj0
= 0 ;
31725 PyObject
* obj1
= 0 ;
31726 PyObject
* obj2
= 0 ;
31727 PyObject
* obj3
= 0 ;
31728 PyObject
* obj4
= 0 ;
31729 char * kwnames
[] = {
31730 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
31733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31735 if (!SWIG_IsOK(res1
)) {
31736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31738 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31739 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31740 if (!SWIG_IsOK(ecode2
)) {
31741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
31743 arg2
= static_cast< int >(val2
);
31744 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31745 if (!SWIG_IsOK(ecode3
)) {
31746 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
31748 arg3
= static_cast< int >(val3
);
31750 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31751 if (!SWIG_IsOK(ecode4
)) {
31752 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
31754 arg4
= static_cast< int >(val4
);
31757 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
31758 if (!SWIG_IsOK(res5
)) {
31759 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
31762 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
31764 arg5
= reinterpret_cast< wxColor
* >(argp5
);
31767 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
31768 if (PyErr_Occurred()) SWIG_fail
;
31770 resultobj
= result
;
31777 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31778 PyObject
*resultobj
= 0;
31779 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31782 PyObject
*result
= 0 ;
31789 PyObject
* obj0
= 0 ;
31790 PyObject
* obj1
= 0 ;
31791 PyObject
* obj2
= 0 ;
31792 char * kwnames
[] = {
31793 (char *) "self",(char *) "x",(char *) "y", NULL
31796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31798 if (!SWIG_IsOK(res1
)) {
31799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31801 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31802 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31803 if (!SWIG_IsOK(ecode2
)) {
31804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
31806 arg2
= static_cast< int >(val2
);
31807 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31808 if (!SWIG_IsOK(ecode3
)) {
31809 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
31811 arg3
= static_cast< int >(val3
);
31813 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
31814 if (PyErr_Occurred()) SWIG_fail
;
31816 resultobj
= result
;
31823 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31824 PyObject
*resultobj
= 0;
31825 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31827 wxDC
*arg3
= (wxDC
*) 0 ;
31834 PyObject
* obj0
= 0 ;
31835 PyObject
* obj1
= 0 ;
31836 PyObject
* obj2
= 0 ;
31837 char * kwnames
[] = {
31838 (char *) "self",(char *) "id",(char *) "dc", NULL
31841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31843 if (!SWIG_IsOK(res1
)) {
31844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31846 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31847 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31848 if (!SWIG_IsOK(ecode2
)) {
31849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
31851 arg2
= static_cast< int >(val2
);
31852 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
31853 if (!SWIG_IsOK(res3
)) {
31854 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
31856 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31859 (arg1
)->DrawIdToDC(arg2
,arg3
);
31860 wxPyEndAllowThreads(__tstate
);
31861 if (PyErr_Occurred()) SWIG_fail
;
31863 resultobj
= SWIG_Py_Void();
31870 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31871 PyObject
*resultobj
= 0;
31872 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31880 PyObject
* obj0
= 0 ;
31881 PyObject
* obj1
= 0 ;
31882 PyObject
* obj2
= 0 ;
31883 char * kwnames
[] = {
31884 (char *) "self",(char *) "id",(char *) "rect", NULL
31887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31889 if (!SWIG_IsOK(res1
)) {
31890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31892 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31893 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31894 if (!SWIG_IsOK(ecode2
)) {
31895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
31897 arg2
= static_cast< int >(val2
);
31900 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
31903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31904 (arg1
)->SetIdBounds(arg2
,*arg3
);
31905 wxPyEndAllowThreads(__tstate
);
31906 if (PyErr_Occurred()) SWIG_fail
;
31908 resultobj
= SWIG_Py_Void();
31915 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31916 PyObject
*resultobj
= 0;
31917 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31924 PyObject
* obj0
= 0 ;
31925 PyObject
* obj1
= 0 ;
31926 char * kwnames
[] = {
31927 (char *) "self",(char *) "id", NULL
31930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31932 if (!SWIG_IsOK(res1
)) {
31933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31935 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31936 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31937 if (!SWIG_IsOK(ecode2
)) {
31938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
31940 arg2
= static_cast< int >(val2
);
31942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31943 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
31944 wxPyEndAllowThreads(__tstate
);
31945 if (PyErr_Occurred()) SWIG_fail
;
31947 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
31954 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31955 PyObject
*resultobj
= 0;
31956 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31957 wxDC
*arg2
= (wxDC
*) 0 ;
31964 PyObject
* obj0
= 0 ;
31965 PyObject
* obj1
= 0 ;
31966 PyObject
* obj2
= 0 ;
31967 char * kwnames
[] = {
31968 (char *) "self",(char *) "dc",(char *) "rect", NULL
31971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31973 if (!SWIG_IsOK(res1
)) {
31974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31976 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31977 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
31978 if (!SWIG_IsOK(res2
)) {
31979 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
31981 arg2
= reinterpret_cast< wxDC
* >(argp2
);
31984 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
31987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31988 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
31989 wxPyEndAllowThreads(__tstate
);
31990 if (PyErr_Occurred()) SWIG_fail
;
31992 resultobj
= SWIG_Py_Void();
31999 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32000 PyObject
*resultobj
= 0;
32001 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32002 wxDC
*arg2
= (wxDC
*) 0 ;
32003 wxRegion
*arg3
= 0 ;
32010 PyObject
* obj0
= 0 ;
32011 PyObject
* obj1
= 0 ;
32012 PyObject
* obj2
= 0 ;
32013 char * kwnames
[] = {
32014 (char *) "self",(char *) "dc",(char *) "region", NULL
32017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32019 if (!SWIG_IsOK(res1
)) {
32020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32022 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32023 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
32024 if (!SWIG_IsOK(res2
)) {
32025 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
32027 arg2
= reinterpret_cast< wxDC
* >(argp2
);
32028 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
32029 if (!SWIG_IsOK(res3
)) {
32030 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
32033 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
32035 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
32037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32038 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
32039 wxPyEndAllowThreads(__tstate
);
32040 if (PyErr_Occurred()) SWIG_fail
;
32042 resultobj
= SWIG_Py_Void();
32049 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32050 PyObject
*resultobj
= 0;
32051 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32052 wxDC
*arg2
= (wxDC
*) 0 ;
32057 PyObject
* obj0
= 0 ;
32058 PyObject
* obj1
= 0 ;
32059 char * kwnames
[] = {
32060 (char *) "self",(char *) "dc", NULL
32063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32065 if (!SWIG_IsOK(res1
)) {
32066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32068 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32069 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
32070 if (!SWIG_IsOK(res2
)) {
32071 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
32073 arg2
= reinterpret_cast< wxDC
* >(argp2
);
32075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32076 (arg1
)->DrawToDC(arg2
);
32077 wxPyEndAllowThreads(__tstate
);
32078 if (PyErr_Occurred()) SWIG_fail
;
32080 resultobj
= SWIG_Py_Void();
32087 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32088 PyObject
*resultobj
= 0;
32089 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32092 wxColour
*arg4
= 0 ;
32093 int arg5
= (int) wxFLOOD_SURFACE
;
32103 PyObject
* obj0
= 0 ;
32104 PyObject
* obj1
= 0 ;
32105 PyObject
* obj2
= 0 ;
32106 PyObject
* obj3
= 0 ;
32107 PyObject
* obj4
= 0 ;
32108 char * kwnames
[] = {
32109 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
32112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32114 if (!SWIG_IsOK(res1
)) {
32115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32117 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32118 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32119 if (!SWIG_IsOK(ecode2
)) {
32120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
32122 arg2
= static_cast< int >(val2
);
32123 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32124 if (!SWIG_IsOK(ecode3
)) {
32125 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
32127 arg3
= static_cast< int >(val3
);
32130 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
32133 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32134 if (!SWIG_IsOK(ecode5
)) {
32135 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
32137 arg5
= static_cast< int >(val5
);
32140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32141 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
32142 wxPyEndAllowThreads(__tstate
);
32143 if (PyErr_Occurred()) SWIG_fail
;
32145 resultobj
= SWIG_Py_Void();
32152 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32153 PyObject
*resultobj
= 0;
32154 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32155 wxPoint
*arg2
= 0 ;
32156 wxColour
*arg3
= 0 ;
32157 int arg4
= (int) wxFLOOD_SURFACE
;
32164 PyObject
* obj0
= 0 ;
32165 PyObject
* obj1
= 0 ;
32166 PyObject
* obj2
= 0 ;
32167 PyObject
* obj3
= 0 ;
32168 char * kwnames
[] = {
32169 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
32172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32174 if (!SWIG_IsOK(res1
)) {
32175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32177 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32180 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32184 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32187 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32188 if (!SWIG_IsOK(ecode4
)) {
32189 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
32191 arg4
= static_cast< int >(val4
);
32194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32195 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
32196 wxPyEndAllowThreads(__tstate
);
32197 if (PyErr_Occurred()) SWIG_fail
;
32199 resultobj
= SWIG_Py_Void();
32206 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32207 PyObject
*resultobj
= 0;
32208 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32223 PyObject
* obj0
= 0 ;
32224 PyObject
* obj1
= 0 ;
32225 PyObject
* obj2
= 0 ;
32226 PyObject
* obj3
= 0 ;
32227 PyObject
* obj4
= 0 ;
32228 char * kwnames
[] = {
32229 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
32232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32234 if (!SWIG_IsOK(res1
)) {
32235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32237 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32238 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32239 if (!SWIG_IsOK(ecode2
)) {
32240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
32242 arg2
= static_cast< int >(val2
);
32243 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32244 if (!SWIG_IsOK(ecode3
)) {
32245 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
32247 arg3
= static_cast< int >(val3
);
32248 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32249 if (!SWIG_IsOK(ecode4
)) {
32250 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
32252 arg4
= static_cast< int >(val4
);
32253 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32254 if (!SWIG_IsOK(ecode5
)) {
32255 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
32257 arg5
= static_cast< int >(val5
);
32259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32260 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
32261 wxPyEndAllowThreads(__tstate
);
32262 if (PyErr_Occurred()) SWIG_fail
;
32264 resultobj
= SWIG_Py_Void();
32271 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32272 PyObject
*resultobj
= 0;
32273 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32274 wxPoint
*arg2
= 0 ;
32275 wxPoint
*arg3
= 0 ;
32280 PyObject
* obj0
= 0 ;
32281 PyObject
* obj1
= 0 ;
32282 PyObject
* obj2
= 0 ;
32283 char * kwnames
[] = {
32284 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
32287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32289 if (!SWIG_IsOK(res1
)) {
32290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32292 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32295 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32299 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32303 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
32304 wxPyEndAllowThreads(__tstate
);
32305 if (PyErr_Occurred()) SWIG_fail
;
32307 resultobj
= SWIG_Py_Void();
32314 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32315 PyObject
*resultobj
= 0;
32316 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32325 PyObject
* obj0
= 0 ;
32326 PyObject
* obj1
= 0 ;
32327 PyObject
* obj2
= 0 ;
32328 char * kwnames
[] = {
32329 (char *) "self",(char *) "x",(char *) "y", NULL
32332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32334 if (!SWIG_IsOK(res1
)) {
32335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32337 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32338 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32339 if (!SWIG_IsOK(ecode2
)) {
32340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
32342 arg2
= static_cast< int >(val2
);
32343 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32344 if (!SWIG_IsOK(ecode3
)) {
32345 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
32347 arg3
= static_cast< int >(val3
);
32349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32350 (arg1
)->CrossHair(arg2
,arg3
);
32351 wxPyEndAllowThreads(__tstate
);
32352 if (PyErr_Occurred()) SWIG_fail
;
32354 resultobj
= SWIG_Py_Void();
32361 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32362 PyObject
*resultobj
= 0;
32363 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32364 wxPoint
*arg2
= 0 ;
32368 PyObject
* obj0
= 0 ;
32369 PyObject
* obj1
= 0 ;
32370 char * kwnames
[] = {
32371 (char *) "self",(char *) "pt", NULL
32374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32376 if (!SWIG_IsOK(res1
)) {
32377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32379 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32382 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32386 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
32387 wxPyEndAllowThreads(__tstate
);
32388 if (PyErr_Occurred()) SWIG_fail
;
32390 resultobj
= SWIG_Py_Void();
32397 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32398 PyObject
*resultobj
= 0;
32399 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32420 PyObject
* obj0
= 0 ;
32421 PyObject
* obj1
= 0 ;
32422 PyObject
* obj2
= 0 ;
32423 PyObject
* obj3
= 0 ;
32424 PyObject
* obj4
= 0 ;
32425 PyObject
* obj5
= 0 ;
32426 PyObject
* obj6
= 0 ;
32427 char * kwnames
[] = {
32428 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
32431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32433 if (!SWIG_IsOK(res1
)) {
32434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32436 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32437 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32438 if (!SWIG_IsOK(ecode2
)) {
32439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
32441 arg2
= static_cast< int >(val2
);
32442 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32443 if (!SWIG_IsOK(ecode3
)) {
32444 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
32446 arg3
= static_cast< int >(val3
);
32447 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32448 if (!SWIG_IsOK(ecode4
)) {
32449 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
32451 arg4
= static_cast< int >(val4
);
32452 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32453 if (!SWIG_IsOK(ecode5
)) {
32454 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
32456 arg5
= static_cast< int >(val5
);
32457 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
32458 if (!SWIG_IsOK(ecode6
)) {
32459 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
32461 arg6
= static_cast< int >(val6
);
32462 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
32463 if (!SWIG_IsOK(ecode7
)) {
32464 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
32466 arg7
= static_cast< int >(val7
);
32468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32469 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
32470 wxPyEndAllowThreads(__tstate
);
32471 if (PyErr_Occurred()) SWIG_fail
;
32473 resultobj
= SWIG_Py_Void();
32480 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32481 PyObject
*resultobj
= 0;
32482 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32483 wxPoint
*arg2
= 0 ;
32484 wxPoint
*arg3
= 0 ;
32485 wxPoint
*arg4
= 0 ;
32491 PyObject
* obj0
= 0 ;
32492 PyObject
* obj1
= 0 ;
32493 PyObject
* obj2
= 0 ;
32494 PyObject
* obj3
= 0 ;
32495 char * kwnames
[] = {
32496 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
32499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32501 if (!SWIG_IsOK(res1
)) {
32502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32504 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32507 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32511 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32515 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32519 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
32520 wxPyEndAllowThreads(__tstate
);
32521 if (PyErr_Occurred()) SWIG_fail
;
32523 resultobj
= SWIG_Py_Void();
32530 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32531 PyObject
*resultobj
= 0;
32532 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32547 PyObject
* obj0
= 0 ;
32548 PyObject
* obj1
= 0 ;
32549 PyObject
* obj2
= 0 ;
32550 PyObject
* obj3
= 0 ;
32551 PyObject
* obj4
= 0 ;
32552 char * kwnames
[] = {
32553 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32561 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32562 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32563 if (!SWIG_IsOK(ecode2
)) {
32564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
32566 arg2
= static_cast< int >(val2
);
32567 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32568 if (!SWIG_IsOK(ecode3
)) {
32569 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
32571 arg3
= static_cast< int >(val3
);
32572 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32573 if (!SWIG_IsOK(ecode4
)) {
32574 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
32576 arg4
= static_cast< int >(val4
);
32577 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32578 if (!SWIG_IsOK(ecode5
)) {
32579 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
32581 arg5
= static_cast< int >(val5
);
32583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32584 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
32585 wxPyEndAllowThreads(__tstate
);
32586 if (PyErr_Occurred()) SWIG_fail
;
32588 resultobj
= SWIG_Py_Void();
32595 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32596 PyObject
*resultobj
= 0;
32597 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32602 PyObject
* obj0
= 0 ;
32603 PyObject
* obj1
= 0 ;
32604 char * kwnames
[] = {
32605 (char *) "self",(char *) "rect", NULL
32608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32610 if (!SWIG_IsOK(res1
)) {
32611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32613 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32616 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32620 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
32621 wxPyEndAllowThreads(__tstate
);
32622 if (PyErr_Occurred()) SWIG_fail
;
32624 resultobj
= SWIG_Py_Void();
32631 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32632 PyObject
*resultobj
= 0;
32633 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32654 PyObject
* obj0
= 0 ;
32655 PyObject
* obj1
= 0 ;
32656 PyObject
* obj2
= 0 ;
32657 PyObject
* obj3
= 0 ;
32658 PyObject
* obj4
= 0 ;
32659 PyObject
* obj5
= 0 ;
32660 PyObject
* obj6
= 0 ;
32661 char * kwnames
[] = {
32662 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
32665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32667 if (!SWIG_IsOK(res1
)) {
32668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32670 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32671 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32672 if (!SWIG_IsOK(ecode2
)) {
32673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
32675 arg2
= static_cast< int >(val2
);
32676 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32677 if (!SWIG_IsOK(ecode3
)) {
32678 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
32680 arg3
= static_cast< int >(val3
);
32681 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32682 if (!SWIG_IsOK(ecode4
)) {
32683 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
32685 arg4
= static_cast< int >(val4
);
32686 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32687 if (!SWIG_IsOK(ecode5
)) {
32688 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
32690 arg5
= static_cast< int >(val5
);
32691 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
32692 if (!SWIG_IsOK(ecode6
)) {
32693 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
32695 arg6
= static_cast< double >(val6
);
32696 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
32697 if (!SWIG_IsOK(ecode7
)) {
32698 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
32700 arg7
= static_cast< double >(val7
);
32702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32703 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
32704 wxPyEndAllowThreads(__tstate
);
32705 if (PyErr_Occurred()) SWIG_fail
;
32707 resultobj
= SWIG_Py_Void();
32714 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32715 PyObject
*resultobj
= 0;
32716 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32717 wxPoint
*arg2
= 0 ;
32729 PyObject
* obj0
= 0 ;
32730 PyObject
* obj1
= 0 ;
32731 PyObject
* obj2
= 0 ;
32732 PyObject
* obj3
= 0 ;
32733 PyObject
* obj4
= 0 ;
32734 char * kwnames
[] = {
32735 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
32738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32740 if (!SWIG_IsOK(res1
)) {
32741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32743 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32746 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32750 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32752 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
32753 if (!SWIG_IsOK(ecode4
)) {
32754 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
32756 arg4
= static_cast< double >(val4
);
32757 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
32758 if (!SWIG_IsOK(ecode5
)) {
32759 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
32761 arg5
= static_cast< double >(val5
);
32763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32764 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
32765 wxPyEndAllowThreads(__tstate
);
32766 if (PyErr_Occurred()) SWIG_fail
;
32768 resultobj
= SWIG_Py_Void();
32775 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32776 PyObject
*resultobj
= 0;
32777 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32786 PyObject
* obj0
= 0 ;
32787 PyObject
* obj1
= 0 ;
32788 PyObject
* obj2
= 0 ;
32789 char * kwnames
[] = {
32790 (char *) "self",(char *) "x",(char *) "y", NULL
32793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32795 if (!SWIG_IsOK(res1
)) {
32796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32798 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32799 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32800 if (!SWIG_IsOK(ecode2
)) {
32801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
32803 arg2
= static_cast< int >(val2
);
32804 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32805 if (!SWIG_IsOK(ecode3
)) {
32806 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
32808 arg3
= static_cast< int >(val3
);
32810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32811 (arg1
)->DrawPoint(arg2
,arg3
);
32812 wxPyEndAllowThreads(__tstate
);
32813 if (PyErr_Occurred()) SWIG_fail
;
32815 resultobj
= SWIG_Py_Void();
32822 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32823 PyObject
*resultobj
= 0;
32824 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32825 wxPoint
*arg2
= 0 ;
32829 PyObject
* obj0
= 0 ;
32830 PyObject
* obj1
= 0 ;
32831 char * kwnames
[] = {
32832 (char *) "self",(char *) "pt", NULL
32835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32837 if (!SWIG_IsOK(res1
)) {
32838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32840 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32843 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32847 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
32848 wxPyEndAllowThreads(__tstate
);
32849 if (PyErr_Occurred()) SWIG_fail
;
32851 resultobj
= SWIG_Py_Void();
32858 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32859 PyObject
*resultobj
= 0;
32860 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32875 PyObject
* obj0
= 0 ;
32876 PyObject
* obj1
= 0 ;
32877 PyObject
* obj2
= 0 ;
32878 PyObject
* obj3
= 0 ;
32879 PyObject
* obj4
= 0 ;
32880 char * kwnames
[] = {
32881 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32886 if (!SWIG_IsOK(res1
)) {
32887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32889 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32891 if (!SWIG_IsOK(ecode2
)) {
32892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
32894 arg2
= static_cast< int >(val2
);
32895 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32896 if (!SWIG_IsOK(ecode3
)) {
32897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
32899 arg3
= static_cast< int >(val3
);
32900 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32901 if (!SWIG_IsOK(ecode4
)) {
32902 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
32904 arg4
= static_cast< int >(val4
);
32905 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32906 if (!SWIG_IsOK(ecode5
)) {
32907 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
32909 arg5
= static_cast< int >(val5
);
32911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32912 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
32913 wxPyEndAllowThreads(__tstate
);
32914 if (PyErr_Occurred()) SWIG_fail
;
32916 resultobj
= SWIG_Py_Void();
32923 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32924 PyObject
*resultobj
= 0;
32925 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32930 PyObject
* obj0
= 0 ;
32931 PyObject
* obj1
= 0 ;
32932 char * kwnames
[] = {
32933 (char *) "self",(char *) "rect", NULL
32936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32938 if (!SWIG_IsOK(res1
)) {
32939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32941 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32944 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32948 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
32949 wxPyEndAllowThreads(__tstate
);
32950 if (PyErr_Occurred()) SWIG_fail
;
32952 resultobj
= SWIG_Py_Void();
32959 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32960 PyObject
*resultobj
= 0;
32961 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32962 wxPoint
*arg2
= 0 ;
32968 PyObject
* obj0
= 0 ;
32969 PyObject
* obj1
= 0 ;
32970 PyObject
* obj2
= 0 ;
32971 char * kwnames
[] = {
32972 (char *) "self",(char *) "pt",(char *) "sz", NULL
32975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32977 if (!SWIG_IsOK(res1
)) {
32978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32980 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32983 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32987 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32991 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
32992 wxPyEndAllowThreads(__tstate
);
32993 if (PyErr_Occurred()) SWIG_fail
;
32995 resultobj
= SWIG_Py_Void();
33002 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33003 PyObject
*resultobj
= 0;
33004 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33022 PyObject
* obj0
= 0 ;
33023 PyObject
* obj1
= 0 ;
33024 PyObject
* obj2
= 0 ;
33025 PyObject
* obj3
= 0 ;
33026 PyObject
* obj4
= 0 ;
33027 PyObject
* obj5
= 0 ;
33028 char * kwnames
[] = {
33029 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
33032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33034 if (!SWIG_IsOK(res1
)) {
33035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33037 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33038 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33039 if (!SWIG_IsOK(ecode2
)) {
33040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
33042 arg2
= static_cast< int >(val2
);
33043 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33044 if (!SWIG_IsOK(ecode3
)) {
33045 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
33047 arg3
= static_cast< int >(val3
);
33048 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33049 if (!SWIG_IsOK(ecode4
)) {
33050 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
33052 arg4
= static_cast< int >(val4
);
33053 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33054 if (!SWIG_IsOK(ecode5
)) {
33055 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
33057 arg5
= static_cast< int >(val5
);
33058 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
33059 if (!SWIG_IsOK(ecode6
)) {
33060 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
33062 arg6
= static_cast< double >(val6
);
33064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33065 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
33066 wxPyEndAllowThreads(__tstate
);
33067 if (PyErr_Occurred()) SWIG_fail
;
33069 resultobj
= SWIG_Py_Void();
33076 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33077 PyObject
*resultobj
= 0;
33078 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33086 PyObject
* obj0
= 0 ;
33087 PyObject
* obj1
= 0 ;
33088 PyObject
* obj2
= 0 ;
33089 char * kwnames
[] = {
33090 (char *) "self",(char *) "r",(char *) "radius", NULL
33093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33095 if (!SWIG_IsOK(res1
)) {
33096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33098 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33101 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33103 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
33104 if (!SWIG_IsOK(ecode3
)) {
33105 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
33107 arg3
= static_cast< double >(val3
);
33109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33110 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
33111 wxPyEndAllowThreads(__tstate
);
33112 if (PyErr_Occurred()) SWIG_fail
;
33114 resultobj
= SWIG_Py_Void();
33121 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33122 PyObject
*resultobj
= 0;
33123 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33124 wxPoint
*arg2
= 0 ;
33133 PyObject
* obj0
= 0 ;
33134 PyObject
* obj1
= 0 ;
33135 PyObject
* obj2
= 0 ;
33136 PyObject
* obj3
= 0 ;
33137 char * kwnames
[] = {
33138 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
33141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33143 if (!SWIG_IsOK(res1
)) {
33144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33146 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33149 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33153 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33155 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
33156 if (!SWIG_IsOK(ecode4
)) {
33157 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
33159 arg4
= static_cast< double >(val4
);
33161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33162 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
33163 wxPyEndAllowThreads(__tstate
);
33164 if (PyErr_Occurred()) SWIG_fail
;
33166 resultobj
= SWIG_Py_Void();
33173 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33174 PyObject
*resultobj
= 0;
33175 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33187 PyObject
* obj0
= 0 ;
33188 PyObject
* obj1
= 0 ;
33189 PyObject
* obj2
= 0 ;
33190 PyObject
* obj3
= 0 ;
33191 char * kwnames
[] = {
33192 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
33195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33197 if (!SWIG_IsOK(res1
)) {
33198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33200 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33201 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33202 if (!SWIG_IsOK(ecode2
)) {
33203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
33205 arg2
= static_cast< int >(val2
);
33206 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33207 if (!SWIG_IsOK(ecode3
)) {
33208 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
33210 arg3
= static_cast< int >(val3
);
33211 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33212 if (!SWIG_IsOK(ecode4
)) {
33213 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
33215 arg4
= static_cast< int >(val4
);
33217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33218 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
33219 wxPyEndAllowThreads(__tstate
);
33220 if (PyErr_Occurred()) SWIG_fail
;
33222 resultobj
= SWIG_Py_Void();
33229 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33230 PyObject
*resultobj
= 0;
33231 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33232 wxPoint
*arg2
= 0 ;
33239 PyObject
* obj0
= 0 ;
33240 PyObject
* obj1
= 0 ;
33241 PyObject
* obj2
= 0 ;
33242 char * kwnames
[] = {
33243 (char *) "self",(char *) "pt",(char *) "radius", NULL
33246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33248 if (!SWIG_IsOK(res1
)) {
33249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33251 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33254 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33256 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33257 if (!SWIG_IsOK(ecode3
)) {
33258 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
33260 arg3
= static_cast< int >(val3
);
33262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33263 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
33264 wxPyEndAllowThreads(__tstate
);
33265 if (PyErr_Occurred()) SWIG_fail
;
33267 resultobj
= SWIG_Py_Void();
33274 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33275 PyObject
*resultobj
= 0;
33276 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33291 PyObject
* obj0
= 0 ;
33292 PyObject
* obj1
= 0 ;
33293 PyObject
* obj2
= 0 ;
33294 PyObject
* obj3
= 0 ;
33295 PyObject
* obj4
= 0 ;
33296 char * kwnames
[] = {
33297 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33302 if (!SWIG_IsOK(res1
)) {
33303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33305 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33306 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33307 if (!SWIG_IsOK(ecode2
)) {
33308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
33310 arg2
= static_cast< int >(val2
);
33311 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33312 if (!SWIG_IsOK(ecode3
)) {
33313 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
33315 arg3
= static_cast< int >(val3
);
33316 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33317 if (!SWIG_IsOK(ecode4
)) {
33318 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
33320 arg4
= static_cast< int >(val4
);
33321 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33322 if (!SWIG_IsOK(ecode5
)) {
33323 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
33325 arg5
= static_cast< int >(val5
);
33327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33328 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
33329 wxPyEndAllowThreads(__tstate
);
33330 if (PyErr_Occurred()) SWIG_fail
;
33332 resultobj
= SWIG_Py_Void();
33339 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33340 PyObject
*resultobj
= 0;
33341 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33346 PyObject
* obj0
= 0 ;
33347 PyObject
* obj1
= 0 ;
33348 char * kwnames
[] = {
33349 (char *) "self",(char *) "rect", NULL
33352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33354 if (!SWIG_IsOK(res1
)) {
33355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33357 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33360 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33364 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
33365 wxPyEndAllowThreads(__tstate
);
33366 if (PyErr_Occurred()) SWIG_fail
;
33368 resultobj
= SWIG_Py_Void();
33375 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33376 PyObject
*resultobj
= 0;
33377 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33378 wxPoint
*arg2
= 0 ;
33384 PyObject
* obj0
= 0 ;
33385 PyObject
* obj1
= 0 ;
33386 PyObject
* obj2
= 0 ;
33387 char * kwnames
[] = {
33388 (char *) "self",(char *) "pt",(char *) "sz", NULL
33391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33393 if (!SWIG_IsOK(res1
)) {
33394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33396 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33399 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33403 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33407 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
33408 wxPyEndAllowThreads(__tstate
);
33409 if (PyErr_Occurred()) SWIG_fail
;
33411 resultobj
= SWIG_Py_Void();
33418 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33419 PyObject
*resultobj
= 0;
33420 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33432 PyObject
* obj0
= 0 ;
33433 PyObject
* obj1
= 0 ;
33434 PyObject
* obj2
= 0 ;
33435 PyObject
* obj3
= 0 ;
33436 char * kwnames
[] = {
33437 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
33440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33442 if (!SWIG_IsOK(res1
)) {
33443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33445 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33446 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
33447 if (!SWIG_IsOK(res2
)) {
33448 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
33451 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
33453 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
33454 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33455 if (!SWIG_IsOK(ecode3
)) {
33456 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
33458 arg3
= static_cast< int >(val3
);
33459 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33460 if (!SWIG_IsOK(ecode4
)) {
33461 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
33463 arg4
= static_cast< int >(val4
);
33465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33466 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
33467 wxPyEndAllowThreads(__tstate
);
33468 if (PyErr_Occurred()) SWIG_fail
;
33470 resultobj
= SWIG_Py_Void();
33477 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33478 PyObject
*resultobj
= 0;
33479 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33481 wxPoint
*arg3
= 0 ;
33487 PyObject
* obj0
= 0 ;
33488 PyObject
* obj1
= 0 ;
33489 PyObject
* obj2
= 0 ;
33490 char * kwnames
[] = {
33491 (char *) "self",(char *) "icon",(char *) "pt", NULL
33494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33496 if (!SWIG_IsOK(res1
)) {
33497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33499 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33500 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
33501 if (!SWIG_IsOK(res2
)) {
33502 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
33505 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
33507 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
33510 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33514 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
33515 wxPyEndAllowThreads(__tstate
);
33516 if (PyErr_Occurred()) SWIG_fail
;
33518 resultobj
= SWIG_Py_Void();
33525 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33526 PyObject
*resultobj
= 0;
33527 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33528 wxBitmap
*arg2
= 0 ;
33531 bool arg5
= (bool) false ;
33542 PyObject
* obj0
= 0 ;
33543 PyObject
* obj1
= 0 ;
33544 PyObject
* obj2
= 0 ;
33545 PyObject
* obj3
= 0 ;
33546 PyObject
* obj4
= 0 ;
33547 char * kwnames
[] = {
33548 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
33551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33553 if (!SWIG_IsOK(res1
)) {
33554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33556 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33557 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33558 if (!SWIG_IsOK(res2
)) {
33559 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33562 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33564 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33565 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33566 if (!SWIG_IsOK(ecode3
)) {
33567 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
33569 arg3
= static_cast< int >(val3
);
33570 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33571 if (!SWIG_IsOK(ecode4
)) {
33572 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
33574 arg4
= static_cast< int >(val4
);
33576 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
33577 if (!SWIG_IsOK(ecode5
)) {
33578 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
33580 arg5
= static_cast< bool >(val5
);
33583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33584 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
33585 wxPyEndAllowThreads(__tstate
);
33586 if (PyErr_Occurred()) SWIG_fail
;
33588 resultobj
= SWIG_Py_Void();
33595 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33596 PyObject
*resultobj
= 0;
33597 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33598 wxBitmap
*arg2
= 0 ;
33599 wxPoint
*arg3
= 0 ;
33600 bool arg4
= (bool) false ;
33608 PyObject
* obj0
= 0 ;
33609 PyObject
* obj1
= 0 ;
33610 PyObject
* obj2
= 0 ;
33611 PyObject
* obj3
= 0 ;
33612 char * kwnames
[] = {
33613 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
33616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33618 if (!SWIG_IsOK(res1
)) {
33619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33621 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33622 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33623 if (!SWIG_IsOK(res2
)) {
33624 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33627 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33629 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33632 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33635 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
33636 if (!SWIG_IsOK(ecode4
)) {
33637 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
33639 arg4
= static_cast< bool >(val4
);
33642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33643 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
33644 wxPyEndAllowThreads(__tstate
);
33645 if (PyErr_Occurred()) SWIG_fail
;
33647 resultobj
= SWIG_Py_Void();
33654 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33655 PyObject
*resultobj
= 0;
33656 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33657 wxString
*arg2
= 0 ;
33662 bool temp2
= false ;
33667 PyObject
* obj0
= 0 ;
33668 PyObject
* obj1
= 0 ;
33669 PyObject
* obj2
= 0 ;
33670 PyObject
* obj3
= 0 ;
33671 char * kwnames
[] = {
33672 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
33675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33677 if (!SWIG_IsOK(res1
)) {
33678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33680 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33682 arg2
= wxString_in_helper(obj1
);
33683 if (arg2
== NULL
) SWIG_fail
;
33686 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33687 if (!SWIG_IsOK(ecode3
)) {
33688 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
33690 arg3
= static_cast< int >(val3
);
33691 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33692 if (!SWIG_IsOK(ecode4
)) {
33693 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
33695 arg4
= static_cast< int >(val4
);
33697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33698 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
33699 wxPyEndAllowThreads(__tstate
);
33700 if (PyErr_Occurred()) SWIG_fail
;
33702 resultobj
= SWIG_Py_Void();
33717 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33718 PyObject
*resultobj
= 0;
33719 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33720 wxString
*arg2
= 0 ;
33721 wxPoint
*arg3
= 0 ;
33724 bool temp2
= false ;
33726 PyObject
* obj0
= 0 ;
33727 PyObject
* obj1
= 0 ;
33728 PyObject
* obj2
= 0 ;
33729 char * kwnames
[] = {
33730 (char *) "self",(char *) "text",(char *) "pt", NULL
33733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33735 if (!SWIG_IsOK(res1
)) {
33736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33738 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33740 arg2
= wxString_in_helper(obj1
);
33741 if (arg2
== NULL
) SWIG_fail
;
33746 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33750 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
33751 wxPyEndAllowThreads(__tstate
);
33752 if (PyErr_Occurred()) SWIG_fail
;
33754 resultobj
= SWIG_Py_Void();
33769 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33770 PyObject
*resultobj
= 0;
33771 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33772 wxString
*arg2
= 0 ;
33778 bool temp2
= false ;
33785 PyObject
* obj0
= 0 ;
33786 PyObject
* obj1
= 0 ;
33787 PyObject
* obj2
= 0 ;
33788 PyObject
* obj3
= 0 ;
33789 PyObject
* obj4
= 0 ;
33790 char * kwnames
[] = {
33791 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
33794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33796 if (!SWIG_IsOK(res1
)) {
33797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33799 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33801 arg2
= wxString_in_helper(obj1
);
33802 if (arg2
== NULL
) SWIG_fail
;
33805 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33806 if (!SWIG_IsOK(ecode3
)) {
33807 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
33809 arg3
= static_cast< int >(val3
);
33810 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33811 if (!SWIG_IsOK(ecode4
)) {
33812 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
33814 arg4
= static_cast< int >(val4
);
33815 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
33816 if (!SWIG_IsOK(ecode5
)) {
33817 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
33819 arg5
= static_cast< double >(val5
);
33821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33822 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
33823 wxPyEndAllowThreads(__tstate
);
33824 if (PyErr_Occurred()) SWIG_fail
;
33826 resultobj
= SWIG_Py_Void();
33841 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33842 PyObject
*resultobj
= 0;
33843 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33844 wxString
*arg2
= 0 ;
33845 wxPoint
*arg3
= 0 ;
33849 bool temp2
= false ;
33853 PyObject
* obj0
= 0 ;
33854 PyObject
* obj1
= 0 ;
33855 PyObject
* obj2
= 0 ;
33856 PyObject
* obj3
= 0 ;
33857 char * kwnames
[] = {
33858 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
33861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33863 if (!SWIG_IsOK(res1
)) {
33864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33866 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33868 arg2
= wxString_in_helper(obj1
);
33869 if (arg2
== NULL
) SWIG_fail
;
33874 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33876 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
33877 if (!SWIG_IsOK(ecode4
)) {
33878 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
33880 arg4
= static_cast< double >(val4
);
33882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33883 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
33884 wxPyEndAllowThreads(__tstate
);
33885 if (PyErr_Occurred()) SWIG_fail
;
33887 resultobj
= SWIG_Py_Void();
33902 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33903 PyObject
*resultobj
= 0;
33904 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33906 wxPoint
*arg3
= (wxPoint
*) 0 ;
33907 int arg4
= (int) 0 ;
33908 int arg5
= (int) 0 ;
33915 PyObject
* obj0
= 0 ;
33916 PyObject
* obj1
= 0 ;
33917 PyObject
* obj2
= 0 ;
33918 PyObject
* obj3
= 0 ;
33919 char * kwnames
[] = {
33920 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
33923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33925 if (!SWIG_IsOK(res1
)) {
33926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33928 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33930 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
33931 if (arg3
== NULL
) SWIG_fail
;
33934 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
33935 if (!SWIG_IsOK(ecode4
)) {
33936 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
33938 arg4
= static_cast< int >(val4
);
33941 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
33942 if (!SWIG_IsOK(ecode5
)) {
33943 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
33945 arg5
= static_cast< int >(val5
);
33948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33949 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
33950 wxPyEndAllowThreads(__tstate
);
33951 if (PyErr_Occurred()) SWIG_fail
;
33953 resultobj
= SWIG_Py_Void();
33955 if (arg3
) delete [] arg3
;
33960 if (arg3
) delete [] arg3
;
33966 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33967 PyObject
*resultobj
= 0;
33968 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33970 wxPoint
*arg3
= (wxPoint
*) 0 ;
33971 int arg4
= (int) 0 ;
33972 int arg5
= (int) 0 ;
33973 int arg6
= (int) wxODDEVEN_RULE
;
33982 PyObject
* obj0
= 0 ;
33983 PyObject
* obj1
= 0 ;
33984 PyObject
* obj2
= 0 ;
33985 PyObject
* obj3
= 0 ;
33986 PyObject
* obj4
= 0 ;
33987 char * kwnames
[] = {
33988 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
33991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33993 if (!SWIG_IsOK(res1
)) {
33994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33996 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33998 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
33999 if (arg3
== NULL
) SWIG_fail
;
34002 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
34003 if (!SWIG_IsOK(ecode4
)) {
34004 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
34006 arg4
= static_cast< int >(val4
);
34009 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
34010 if (!SWIG_IsOK(ecode5
)) {
34011 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
34013 arg5
= static_cast< int >(val5
);
34016 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
34017 if (!SWIG_IsOK(ecode6
)) {
34018 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
34020 arg6
= static_cast< int >(val6
);
34023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34024 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
34025 wxPyEndAllowThreads(__tstate
);
34026 if (PyErr_Occurred()) SWIG_fail
;
34028 resultobj
= SWIG_Py_Void();
34030 if (arg3
) delete [] arg3
;
34035 if (arg3
) delete [] arg3
;
34041 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34042 PyObject
*resultobj
= 0;
34043 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34044 wxString
*arg2
= 0 ;
34046 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
34047 int arg5
= (int) -1 ;
34050 bool temp2
= false ;
34056 PyObject
* obj0
= 0 ;
34057 PyObject
* obj1
= 0 ;
34058 PyObject
* obj2
= 0 ;
34059 PyObject
* obj3
= 0 ;
34060 PyObject
* obj4
= 0 ;
34061 char * kwnames
[] = {
34062 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
34065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34067 if (!SWIG_IsOK(res1
)) {
34068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34070 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34072 arg2
= wxString_in_helper(obj1
);
34073 if (arg2
== NULL
) SWIG_fail
;
34078 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
34081 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34082 if (!SWIG_IsOK(ecode4
)) {
34083 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
34085 arg4
= static_cast< int >(val4
);
34088 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34089 if (!SWIG_IsOK(ecode5
)) {
34090 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
34092 arg5
= static_cast< int >(val5
);
34095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34096 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
34097 wxPyEndAllowThreads(__tstate
);
34098 if (PyErr_Occurred()) SWIG_fail
;
34100 resultobj
= SWIG_Py_Void();
34115 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34116 PyObject
*resultobj
= 0;
34117 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34118 wxString
*arg2
= 0 ;
34119 wxBitmap
*arg3
= 0 ;
34121 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
34122 int arg6
= (int) -1 ;
34125 bool temp2
= false ;
34133 PyObject
* obj0
= 0 ;
34134 PyObject
* obj1
= 0 ;
34135 PyObject
* obj2
= 0 ;
34136 PyObject
* obj3
= 0 ;
34137 PyObject
* obj4
= 0 ;
34138 PyObject
* obj5
= 0 ;
34139 char * kwnames
[] = {
34140 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
34143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
34144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34145 if (!SWIG_IsOK(res1
)) {
34146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34148 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34150 arg2
= wxString_in_helper(obj1
);
34151 if (arg2
== NULL
) SWIG_fail
;
34154 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
34155 if (!SWIG_IsOK(res3
)) {
34156 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
34159 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
34161 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
34164 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
34167 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34168 if (!SWIG_IsOK(ecode5
)) {
34169 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
34171 arg5
= static_cast< int >(val5
);
34174 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
34175 if (!SWIG_IsOK(ecode6
)) {
34176 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
34178 arg6
= static_cast< int >(val6
);
34181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34182 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
34183 wxPyEndAllowThreads(__tstate
);
34184 if (PyErr_Occurred()) SWIG_fail
;
34186 resultobj
= SWIG_Py_Void();
34201 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34202 PyObject
*resultobj
= 0;
34203 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34205 wxPoint
*arg3
= (wxPoint
*) 0 ;
34208 PyObject
* obj0
= 0 ;
34209 PyObject
* obj1
= 0 ;
34210 char * kwnames
[] = {
34211 (char *) "self",(char *) "points", NULL
34214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34216 if (!SWIG_IsOK(res1
)) {
34217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34219 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34221 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
34222 if (arg3
== NULL
) SWIG_fail
;
34225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34226 (arg1
)->DrawSpline(arg2
,arg3
);
34227 wxPyEndAllowThreads(__tstate
);
34228 if (PyErr_Occurred()) SWIG_fail
;
34230 resultobj
= SWIG_Py_Void();
34232 if (arg3
) delete [] arg3
;
34237 if (arg3
) delete [] arg3
;
34243 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34244 PyObject
*resultobj
= 0;
34245 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34248 PyObject
*swig_obj
[1] ;
34250 if (!args
) SWIG_fail
;
34251 swig_obj
[0] = args
;
34252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34253 if (!SWIG_IsOK(res1
)) {
34254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34256 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34260 wxPyEndAllowThreads(__tstate
);
34261 if (PyErr_Occurred()) SWIG_fail
;
34263 resultobj
= SWIG_Py_Void();
34270 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34271 PyObject
*resultobj
= 0;
34272 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34278 PyObject
* obj0
= 0 ;
34279 PyObject
* obj1
= 0 ;
34280 char * kwnames
[] = {
34281 (char *) "self",(char *) "font", NULL
34284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34286 if (!SWIG_IsOK(res1
)) {
34287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34289 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34290 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
34291 if (!SWIG_IsOK(res2
)) {
34292 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
34295 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
34297 arg2
= reinterpret_cast< wxFont
* >(argp2
);
34299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34300 (arg1
)->SetFont((wxFont
const &)*arg2
);
34301 wxPyEndAllowThreads(__tstate
);
34302 if (PyErr_Occurred()) SWIG_fail
;
34304 resultobj
= SWIG_Py_Void();
34311 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34312 PyObject
*resultobj
= 0;
34313 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34319 PyObject
* obj0
= 0 ;
34320 PyObject
* obj1
= 0 ;
34321 char * kwnames
[] = {
34322 (char *) "self",(char *) "pen", NULL
34325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34327 if (!SWIG_IsOK(res1
)) {
34328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34330 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34331 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
34332 if (!SWIG_IsOK(res2
)) {
34333 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
34336 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
34338 arg2
= reinterpret_cast< wxPen
* >(argp2
);
34340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34341 (arg1
)->SetPen((wxPen
const &)*arg2
);
34342 wxPyEndAllowThreads(__tstate
);
34343 if (PyErr_Occurred()) SWIG_fail
;
34345 resultobj
= SWIG_Py_Void();
34352 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34353 PyObject
*resultobj
= 0;
34354 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34355 wxBrush
*arg2
= 0 ;
34360 PyObject
* obj0
= 0 ;
34361 PyObject
* obj1
= 0 ;
34362 char * kwnames
[] = {
34363 (char *) "self",(char *) "brush", NULL
34366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34368 if (!SWIG_IsOK(res1
)) {
34369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34371 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34372 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
34373 if (!SWIG_IsOK(res2
)) {
34374 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
34377 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
34379 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
34381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34382 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
34383 wxPyEndAllowThreads(__tstate
);
34384 if (PyErr_Occurred()) SWIG_fail
;
34386 resultobj
= SWIG_Py_Void();
34393 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34394 PyObject
*resultobj
= 0;
34395 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34396 wxBrush
*arg2
= 0 ;
34401 PyObject
* obj0
= 0 ;
34402 PyObject
* obj1
= 0 ;
34403 char * kwnames
[] = {
34404 (char *) "self",(char *) "brush", NULL
34407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34409 if (!SWIG_IsOK(res1
)) {
34410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34412 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34413 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
34414 if (!SWIG_IsOK(res2
)) {
34415 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
34418 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
34420 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
34422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34423 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
34424 wxPyEndAllowThreads(__tstate
);
34425 if (PyErr_Occurred()) SWIG_fail
;
34427 resultobj
= SWIG_Py_Void();
34434 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34435 PyObject
*resultobj
= 0;
34436 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34442 PyObject
* obj0
= 0 ;
34443 PyObject
* obj1
= 0 ;
34444 char * kwnames
[] = {
34445 (char *) "self",(char *) "mode", NULL
34448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34450 if (!SWIG_IsOK(res1
)) {
34451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34453 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34454 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34455 if (!SWIG_IsOK(ecode2
)) {
34456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
34458 arg2
= static_cast< int >(val2
);
34460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34461 (arg1
)->SetBackgroundMode(arg2
);
34462 wxPyEndAllowThreads(__tstate
);
34463 if (PyErr_Occurred()) SWIG_fail
;
34465 resultobj
= SWIG_Py_Void();
34472 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34473 PyObject
*resultobj
= 0;
34474 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34475 wxPalette
*arg2
= 0 ;
34480 PyObject
* obj0
= 0 ;
34481 PyObject
* obj1
= 0 ;
34482 char * kwnames
[] = {
34483 (char *) "self",(char *) "palette", NULL
34486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34488 if (!SWIG_IsOK(res1
)) {
34489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34491 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34492 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
34493 if (!SWIG_IsOK(res2
)) {
34494 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
34497 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
34499 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
34501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34502 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
34503 wxPyEndAllowThreads(__tstate
);
34504 if (PyErr_Occurred()) SWIG_fail
;
34506 resultobj
= SWIG_Py_Void();
34513 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34514 PyObject
*resultobj
= 0;
34515 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34516 wxColour
*arg2
= 0 ;
34520 PyObject
* obj0
= 0 ;
34521 PyObject
* obj1
= 0 ;
34522 char * kwnames
[] = {
34523 (char *) "self",(char *) "colour", NULL
34526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34528 if (!SWIG_IsOK(res1
)) {
34529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34531 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34534 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34538 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
34539 wxPyEndAllowThreads(__tstate
);
34540 if (PyErr_Occurred()) SWIG_fail
;
34542 resultobj
= SWIG_Py_Void();
34549 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34550 PyObject
*resultobj
= 0;
34551 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34552 wxColour
*arg2
= 0 ;
34556 PyObject
* obj0
= 0 ;
34557 PyObject
* obj1
= 0 ;
34558 char * kwnames
[] = {
34559 (char *) "self",(char *) "colour", NULL
34562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34564 if (!SWIG_IsOK(res1
)) {
34565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34567 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34570 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34574 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
34575 wxPyEndAllowThreads(__tstate
);
34576 if (PyErr_Occurred()) SWIG_fail
;
34578 resultobj
= SWIG_Py_Void();
34585 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34586 PyObject
*resultobj
= 0;
34587 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34593 PyObject
* obj0
= 0 ;
34594 PyObject
* obj1
= 0 ;
34595 char * kwnames
[] = {
34596 (char *) "self",(char *) "function", NULL
34599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34601 if (!SWIG_IsOK(res1
)) {
34602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34604 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34606 if (!SWIG_IsOK(ecode2
)) {
34607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
34609 arg2
= static_cast< int >(val2
);
34611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34612 (arg1
)->SetLogicalFunction(arg2
);
34613 wxPyEndAllowThreads(__tstate
);
34614 if (PyErr_Occurred()) SWIG_fail
;
34616 resultobj
= SWIG_Py_Void();
34623 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34625 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34626 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
34627 return SWIG_Py_Void();
34630 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34631 return SWIG_Python_InitShadowInstance(args
);
34634 static PyMethodDef SwigMethods
[] = {
34635 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
34636 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
34637 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
34638 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
34639 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
34640 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34641 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34642 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34643 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
34644 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
34645 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
34646 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
34647 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
34648 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
34649 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34650 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34651 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34652 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34653 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
34654 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34655 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34656 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34657 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
34658 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
34659 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
34660 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34661 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
34662 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34663 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34664 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
34665 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
34666 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
34667 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
34668 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34669 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
34670 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
34671 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
34672 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
34673 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
34674 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
34675 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
34676 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34677 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34678 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34679 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34680 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34681 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34682 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
34683 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34684 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34685 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34686 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
34687 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
34688 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34689 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34690 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
34691 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34692 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34693 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34694 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
34695 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
34696 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
34697 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
34698 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
34699 { (char *)"Brush_MacGetTheme", (PyCFunction
)_wrap_Brush_MacGetTheme
, METH_O
, NULL
},
34700 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34701 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
34702 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
34703 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34704 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
34705 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34706 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34707 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34708 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34709 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34710 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
34711 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
34712 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
34713 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
34714 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
34715 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
34716 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
34717 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34718 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34719 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34720 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34721 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34722 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
34723 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34724 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34725 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34726 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34727 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34728 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34729 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34730 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
34731 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
34732 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34733 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34734 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34735 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
34736 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
34737 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
34738 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
34739 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
34740 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
34741 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
34742 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
34743 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
34744 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
34745 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
34746 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
34747 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
34748 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
34749 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
34750 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34751 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
34752 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
34753 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34754 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34755 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34756 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34757 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34758 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
34759 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
34760 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
34761 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
34762 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
34763 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
34764 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
34765 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
34766 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
34767 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
34768 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
34769 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
34770 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34771 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
34772 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
34773 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34774 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34775 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34776 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34777 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34778 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
34779 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
34780 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
34781 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34782 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
34783 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
34784 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
34785 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34786 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
34787 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
34788 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34789 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34790 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34791 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
34792 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
34793 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
34794 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
34795 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34796 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34797 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34798 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34799 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
34800 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
34801 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34802 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
34803 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
34804 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34805 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
34806 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34807 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
34808 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
34809 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
34810 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
34811 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34812 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34813 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
34814 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34815 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34816 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34817 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
34818 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
34819 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34820 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
34821 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34822 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34823 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
34824 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
34825 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
34826 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34827 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34828 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34829 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34830 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
34831 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
34832 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34833 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34834 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34835 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34836 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34837 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
34838 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34839 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34840 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34841 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
34842 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34843 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34844 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34845 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34846 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34847 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34848 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34849 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34850 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34851 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34852 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
34853 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34854 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34855 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
34856 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
34857 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34858 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
34859 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
34860 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
34861 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
34862 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
34863 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
34864 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
34865 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
34866 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
34867 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
34868 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
34869 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
34870 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
34871 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
34872 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
34873 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
34874 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
34875 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34876 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
34877 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
34878 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
34879 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
34880 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
34881 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
34882 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
34883 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34884 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34885 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34886 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34887 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34888 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34889 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34890 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34891 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
34892 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
34893 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34894 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
34895 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
34896 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
34897 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
34898 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
34899 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
34900 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
34901 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
34902 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
34903 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34904 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
34905 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
34906 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
34907 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34908 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34909 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
34910 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
34911 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
34912 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34913 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34914 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
34915 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34916 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34917 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34918 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34919 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34920 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
34921 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34922 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34923 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34924 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34925 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
34926 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
34927 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34928 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
34929 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34930 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34931 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34932 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34933 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34934 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
34935 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34936 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34937 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
34938 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
34939 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
34940 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
34941 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
34942 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
34943 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
34944 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
34945 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
34946 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
34947 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
34948 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
34949 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
34950 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34951 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34952 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34953 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34954 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34955 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34956 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34957 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34958 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34959 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34960 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34961 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
34962 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
34963 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
34964 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34965 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
34966 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
34967 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34968 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
34969 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
34970 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
34971 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
34972 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34973 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34974 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34975 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
34976 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
34977 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34978 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
34979 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
34980 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
34981 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
34982 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
34983 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
34984 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
34985 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
34986 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
34987 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34988 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
34989 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34990 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34991 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
34992 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
34993 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
34994 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
34995 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
34996 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
34997 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
34998 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
34999 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35000 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35001 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35002 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35003 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35004 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35005 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35006 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35007 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35008 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
35009 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
35010 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
35011 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35012 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
35013 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35014 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35015 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35016 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
35017 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
35018 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
35019 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
35020 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
35021 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
35022 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35023 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35024 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35025 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35026 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35027 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
35028 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
35029 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
35030 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35031 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35032 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35033 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35034 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35035 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35036 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35037 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35038 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35039 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35040 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35041 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35042 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35043 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35044 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35045 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35046 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35047 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35048 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35049 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35050 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35051 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35052 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35053 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35054 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35055 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35056 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35057 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35058 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35059 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35060 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35061 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35062 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35063 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35064 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35065 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35066 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35067 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35068 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35069 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35070 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35071 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35072 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35073 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35074 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35075 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35076 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35077 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35078 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
35079 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35080 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
35081 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
35082 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
35083 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35084 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35085 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35086 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35087 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35088 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35089 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
35090 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
35091 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
35092 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
35093 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
35094 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35095 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35096 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35097 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35098 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
35099 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
35100 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
35101 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
35102 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35103 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35104 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35105 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35106 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35107 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35108 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35109 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35110 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
35111 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
35112 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
35113 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
35114 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
35115 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
35116 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
35117 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
35118 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
35119 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
35120 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
35121 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
35122 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35123 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35124 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
35125 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35126 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
35127 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35128 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
35129 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35130 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
35131 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
35132 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35133 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35134 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
35135 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
35136 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35137 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35138 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35139 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
35140 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35141 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
35142 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35143 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35144 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
35145 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
35146 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
35147 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
35148 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
35149 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
35150 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
35151 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35152 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35153 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35154 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35155 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35156 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35157 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35158 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
35159 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35160 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35161 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35162 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
35163 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
35164 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
35165 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35166 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35167 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
35168 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
35169 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
35170 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35171 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
35172 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
35173 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35174 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
35175 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
35176 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35177 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
35178 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
35179 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
35180 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
35181 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
35182 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
35183 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
35184 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35185 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
35186 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
35187 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35188 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
35189 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
35190 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35191 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35192 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
35193 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
35194 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35195 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
35196 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35197 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35198 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
35199 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
35200 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
35201 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35202 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
35203 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
35204 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35205 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
35206 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
35207 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
35208 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
35209 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
35210 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35211 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
35212 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
35213 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
35214 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35215 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
35216 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
35217 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
35218 { (char *)"GraphicsPath_MoveToPoint", (PyCFunction
) _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35219 { (char *)"GraphicsPath_AddLineToPoint", (PyCFunction
) _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35220 { (char *)"GraphicsPath_AddCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35221 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
35222 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
35223 { (char *)"GraphicsPath_AddArc", (PyCFunction
) _wrap_GraphicsPath_AddArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35224 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35225 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35226 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35227 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35228 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
35229 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
35230 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
35231 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35232 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
35233 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
35234 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
35235 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35236 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35237 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
35238 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
35239 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35240 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35241 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35242 { (char *)"GraphicsContext_SetPen", (PyCFunction
) _wrap_GraphicsContext_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35243 { (char *)"GraphicsContext_SetBrush", (PyCFunction
) _wrap_GraphicsContext_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35244 { (char *)"GraphicsContext_SetLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35245 { (char *)"GraphicsContext_SetRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35246 { (char *)"GraphicsContext_SetFont", (PyCFunction
) _wrap_GraphicsContext_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35247 { (char *)"GraphicsContext_SetTextColor", (PyCFunction
) _wrap_GraphicsContext_SetTextColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35248 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35249 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35250 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35251 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35252 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35253 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35254 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35255 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35256 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35257 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35258 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35259 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35260 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35261 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35262 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35263 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35264 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
35265 { (char *)"new_GCDC", (PyCFunction
) _wrap_new_GCDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35266 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
35267 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
35268 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35269 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
35270 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
35271 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
35272 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
35273 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
35274 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
35275 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
35276 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
35277 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
35278 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
35279 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
35280 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
35281 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35282 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
35283 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35284 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35285 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35286 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35287 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35288 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35289 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35290 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
35291 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35292 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
35293 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35294 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
35295 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
35296 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
35297 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
35298 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
35299 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
35300 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35301 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35302 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35303 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35304 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35305 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
35306 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
35307 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
35308 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
35309 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
35310 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
35311 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35312 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35313 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35314 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
35315 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35316 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35317 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35318 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
35319 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35320 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35321 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35322 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
35323 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
35324 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
35325 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35326 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35327 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35328 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35329 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
35330 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
35331 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
35332 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
35333 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
35334 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
35335 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
35336 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
35337 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
35338 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
35339 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
35340 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
35341 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35342 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35343 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35344 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35345 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35346 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35347 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35348 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35349 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
35350 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
35351 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35352 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
35353 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
35354 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
35355 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
35356 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
35357 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
35358 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
35359 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
35360 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
35361 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
35362 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
35363 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
35364 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
35365 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
35366 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
35367 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
35368 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
35369 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
35370 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
35371 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
35372 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
35373 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
35374 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
35375 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
35376 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35377 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
35378 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35379 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
35380 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
35381 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
35382 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
35383 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35384 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35385 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35386 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35387 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35388 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35389 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35390 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35391 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35392 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35393 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35394 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35395 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
35396 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
35397 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
35398 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35399 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
35400 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
35401 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
35402 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
35403 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
35404 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
35405 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
35406 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
35407 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35408 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35409 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35410 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35411 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35412 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35413 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35414 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35415 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35416 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35417 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35418 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35419 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35420 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35421 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35422 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35423 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35424 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35425 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35426 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35427 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35428 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35429 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35430 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35431 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35432 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35433 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35434 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35435 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35436 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35437 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35438 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35439 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35440 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35441 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35442 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35443 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35444 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35445 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35446 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35447 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35448 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35449 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35450 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35451 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35452 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35453 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35454 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35455 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35456 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35457 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35458 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35459 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
35460 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35461 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35462 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35463 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35464 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35465 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35466 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35467 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35468 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35469 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
35470 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
35471 { NULL
, NULL
, 0, NULL
}
35475 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35477 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
35478 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
35480 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
35481 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
35483 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
35484 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35486 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
35487 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
35489 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
35490 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
35492 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
35493 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
35495 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
35496 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
35498 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
35499 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
35501 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
35502 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
35504 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
35505 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
35507 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
35508 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
35510 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
35511 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
35513 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
35514 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
35516 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
35517 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
35519 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
35520 return (void *)((wxDC
*) ((wxGCDC
*) x
));
35522 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
35523 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
35525 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
35526 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
35528 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
35529 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
35531 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
35532 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
35534 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
35535 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
35537 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
35538 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
35540 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
35541 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
35543 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
35544 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
35546 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
35547 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35549 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
35550 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
35552 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
35553 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
35555 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
35556 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
35558 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
35559 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
35561 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
35562 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
35564 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
35565 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
35567 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
35568 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35570 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
35571 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
35573 static void *_p_wxPenTo_p_wxObject(void *x
) {
35574 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
35576 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
35577 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
35579 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
35580 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
35582 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
35583 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
35585 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
35586 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
35588 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
35589 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
35591 static void *_p_wxIconTo_p_wxObject(void *x
) {
35592 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
35594 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
35595 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35597 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
35598 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
35600 static void *_p_wxSizerTo_p_wxObject(void *x
) {
35601 return (void *)((wxObject
*) ((wxSizer
*) x
));
35603 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
35604 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35606 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
35607 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35609 static void *_p_wxEventTo_p_wxObject(void *x
) {
35610 return (void *)((wxObject
*) ((wxEvent
*) x
));
35612 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
35613 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35615 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
35616 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
35618 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
35619 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
35621 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
35622 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
35624 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
35625 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
35627 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
35628 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
35630 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
35631 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
35633 static void *_p_wxDCTo_p_wxObject(void *x
) {
35634 return (void *)((wxObject
*) ((wxDC
*) x
));
35636 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
35637 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35639 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
35640 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35642 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
35643 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35645 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
35646 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35648 static void *_p_wxControlTo_p_wxObject(void *x
) {
35649 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
35651 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
35652 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
35654 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
35655 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
35657 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
35658 return (void *)((wxObject
*) ((wxFSFile
*) x
));
35660 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
35661 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
35663 static void *_p_wxRegionTo_p_wxObject(void *x
) {
35664 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
35666 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
35667 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
35669 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
35670 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
35672 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
35673 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
35675 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
35676 return (void *)((wxObject
*) ((wxEffects
*) x
));
35678 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
35679 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
35681 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
35682 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35684 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
35685 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
35687 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
35688 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
35690 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
35691 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
35693 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
35694 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
35696 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
35697 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
35699 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
35700 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35702 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
35703 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35705 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
35706 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
35708 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
35709 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
35711 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
35712 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
35714 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
35715 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
35717 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
35718 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
35720 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
35721 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
35723 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
35724 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
35726 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
35727 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
35729 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
35730 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
35732 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
35733 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
35735 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
35736 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
35738 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
35739 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
35741 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
35742 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
35744 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
35745 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
35747 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
35748 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
35750 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
35751 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
35753 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
35754 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
35756 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
35757 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
35759 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
35760 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
35762 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
35763 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
35765 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
35766 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
35768 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
35769 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35771 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
35772 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
35774 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
35775 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
35777 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
35778 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
35780 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
35781 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35783 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
35784 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
35786 static void *_p_wxImageTo_p_wxObject(void *x
) {
35787 return (void *)((wxObject
*) ((wxImage
*) x
));
35789 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
35790 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
35792 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
35793 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
35795 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
35796 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
35798 static void *_p_wxImageListTo_p_wxObject(void *x
) {
35799 return (void *)((wxObject
*) ((wxImageList
*) x
));
35801 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
35802 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
35804 static void *_p_wxCursorTo_p_wxObject(void *x
) {
35805 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
35807 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
35808 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
35810 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
35811 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
35813 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
35814 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35816 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
35817 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
35819 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
35820 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
35822 static void *_p_wxWindowTo_p_wxObject(void *x
) {
35823 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
35825 static void *_p_wxMenuTo_p_wxObject(void *x
) {
35826 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
35828 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
35829 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
35831 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
35832 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
35834 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
35835 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
35837 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
35838 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
35840 static void *_p_wxMaskTo_p_wxObject(void *x
) {
35841 return (void *)((wxObject
*) ((wxMask
*) x
));
35843 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
35844 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35846 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
35847 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
35849 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
35850 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
35852 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
35853 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
35855 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
35856 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
35858 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
35859 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
35861 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
35862 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35864 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
35865 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
35867 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
35868 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
35870 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
35871 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
35873 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
35874 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35876 static void *_p_wxFontTo_p_wxObject(void *x
) {
35877 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
35879 static void *_p_wxBrushTo_p_wxObject(void *x
) {
35880 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
35882 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
35883 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
35885 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
35886 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
35888 static void *_p_wxColourTo_p_wxObject(void *x
) {
35889 return (void *)((wxObject
*) ((wxColour
*) x
));
35891 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
35892 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
35894 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
35895 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
35897 static void *_p_wxControlTo_p_wxWindow(void *x
) {
35898 return (void *)((wxWindow
*) ((wxControl
*) x
));
35900 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
35901 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
35903 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
35904 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
35906 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
35907 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
35909 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
35910 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
35912 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
35913 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
35914 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
35915 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};
35916 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
35917 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
35918 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
35919 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
35920 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
35921 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
35922 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
35923 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
35924 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
35925 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
35926 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
35927 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
35928 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
35929 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
35930 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
35931 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
35932 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
35933 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
35934 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
35935 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
35936 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
35937 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
35938 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
35939 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
35940 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
35941 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
35942 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
35943 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
35944 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
35945 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
35946 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
35947 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
35948 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
35949 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
35950 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
35951 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
35952 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
35953 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
35954 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
35955 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
35956 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
35957 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
35958 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
35959 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
35960 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
35961 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
35962 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
35963 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
35964 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
35965 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
35966 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
35967 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
35968 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
35969 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
35970 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
35971 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
35972 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
35973 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
35974 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
35975 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
35976 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
35977 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
35978 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
35979 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
35980 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
35981 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
35982 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
35983 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
35984 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
35985 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
35986 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
35987 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
35988 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
35989 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
35990 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
35991 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
35992 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
35993 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
35994 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
35995 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
35996 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
35997 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
35998 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
35999 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
36000 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
36001 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
36002 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
36003 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
36004 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
36005 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
36006 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
36007 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
36008 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
36009 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
36010 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
36011 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
36012 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
36013 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
36014 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
36015 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
36016 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
36017 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
36018 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
36019 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
36020 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
36021 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
36022 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
36023 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
36024 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
36025 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
36026 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
36027 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
36028 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
36029 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
36030 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
36031 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
36032 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
36033 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
36034 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
36035 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
36036 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
36037 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
36038 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
36039 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
36040 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
36041 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
36042 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
36043 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
36044 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
36045 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
36046 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
36047 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
36048 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
36049 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
36050 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
36051 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
36052 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
36053 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
36054 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
36055 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
36056 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
36057 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
36058 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
36059 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
36060 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
36061 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
36062 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
36063 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
36064 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
36065 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
36066 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
36067 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
36068 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
36069 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
36071 static swig_type_info
*swig_type_initial
[] = {
36075 &_swigt__p_form_ops_t
,
36077 &_swigt__p_unsigned_char
,
36078 &_swigt__p_unsigned_int
,
36079 &_swigt__p_unsigned_long
,
36081 &_swigt__p_wxANIHandler
,
36082 &_swigt__p_wxAcceleratorTable
,
36083 &_swigt__p_wxActivateEvent
,
36084 &_swigt__p_wxAlphaPixelData
,
36085 &_swigt__p_wxAlphaPixelData_Accessor
,
36086 &_swigt__p_wxAutoBufferedPaintDC
,
36087 &_swigt__p_wxBMPHandler
,
36088 &_swigt__p_wxBitmap
,
36089 &_swigt__p_wxBoxSizer
,
36090 &_swigt__p_wxBrush
,
36091 &_swigt__p_wxBrushList
,
36092 &_swigt__p_wxBufferedDC
,
36093 &_swigt__p_wxBufferedPaintDC
,
36094 &_swigt__p_wxCURHandler
,
36096 &_swigt__p_wxChildFocusEvent
,
36097 &_swigt__p_wxClientDC
,
36098 &_swigt__p_wxClipboardTextEvent
,
36099 &_swigt__p_wxCloseEvent
,
36100 &_swigt__p_wxColor
,
36101 &_swigt__p_wxColour
,
36102 &_swigt__p_wxColourDatabase
,
36103 &_swigt__p_wxCommandEvent
,
36104 &_swigt__p_wxContextMenuEvent
,
36105 &_swigt__p_wxControl
,
36106 &_swigt__p_wxControlWithItems
,
36107 &_swigt__p_wxCursor
,
36109 &_swigt__p_wxDCOverlay
,
36111 &_swigt__p_wxDateEvent
,
36112 &_swigt__p_wxDisplayChangedEvent
,
36113 &_swigt__p_wxDropFilesEvent
,
36114 &_swigt__p_wxDuplexMode
,
36115 &_swigt__p_wxEffects
,
36116 &_swigt__p_wxEncodingConverter
,
36117 &_swigt__p_wxEraseEvent
,
36118 &_swigt__p_wxEvent
,
36119 &_swigt__p_wxEvtHandler
,
36120 &_swigt__p_wxFSFile
,
36121 &_swigt__p_wxFileSystem
,
36122 &_swigt__p_wxFlexGridSizer
,
36123 &_swigt__p_wxFocusEvent
,
36125 &_swigt__p_wxFontList
,
36126 &_swigt__p_wxFontMapper
,
36127 &_swigt__p_wxGBSizerItem
,
36129 &_swigt__p_wxGDIObjListBase
,
36130 &_swigt__p_wxGDIObject
,
36131 &_swigt__p_wxGIFHandler
,
36132 &_swigt__p_wxGraphicsContext
,
36133 &_swigt__p_wxGraphicsPath
,
36134 &_swigt__p_wxGridBagSizer
,
36135 &_swigt__p_wxGridSizer
,
36136 &_swigt__p_wxHeaderButtonParams
,
36137 &_swigt__p_wxICOHandler
,
36139 &_swigt__p_wxIconBundle
,
36140 &_swigt__p_wxIconLocation
,
36141 &_swigt__p_wxIconizeEvent
,
36142 &_swigt__p_wxIdleEvent
,
36143 &_swigt__p_wxImage
,
36144 &_swigt__p_wxImageHandler
,
36145 &_swigt__p_wxImageList
,
36146 &_swigt__p_wxIndividualLayoutConstraint
,
36147 &_swigt__p_wxInitDialogEvent
,
36148 &_swigt__p_wxJPEGHandler
,
36149 &_swigt__p_wxKeyEvent
,
36150 &_swigt__p_wxLanguageInfo
,
36151 &_swigt__p_wxLayoutConstraints
,
36152 &_swigt__p_wxLocale
,
36154 &_swigt__p_wxMaximizeEvent
,
36155 &_swigt__p_wxMemoryDC
,
36157 &_swigt__p_wxMenuBar
,
36158 &_swigt__p_wxMenuEvent
,
36159 &_swigt__p_wxMenuItem
,
36160 &_swigt__p_wxMetaFile
,
36161 &_swigt__p_wxMetaFileDC
,
36162 &_swigt__p_wxMirrorDC
,
36163 &_swigt__p_wxMouseCaptureChangedEvent
,
36164 &_swigt__p_wxMouseCaptureLostEvent
,
36165 &_swigt__p_wxMouseEvent
,
36166 &_swigt__p_wxMoveEvent
,
36167 &_swigt__p_wxNativeEncodingInfo
,
36168 &_swigt__p_wxNativeFontInfo
,
36169 &_swigt__p_wxNativePixelData
,
36170 &_swigt__p_wxNativePixelData_Accessor
,
36171 &_swigt__p_wxNavigationKeyEvent
,
36172 &_swigt__p_wxNcPaintEvent
,
36173 &_swigt__p_wxNotifyEvent
,
36174 &_swigt__p_wxObject
,
36175 &_swigt__p_wxOverlay
,
36176 &_swigt__p_wxPCXHandler
,
36177 &_swigt__p_wxPNGHandler
,
36178 &_swigt__p_wxPNMHandler
,
36179 &_swigt__p_wxPaintDC
,
36180 &_swigt__p_wxPaintEvent
,
36181 &_swigt__p_wxPalette
,
36182 &_swigt__p_wxPaletteChangedEvent
,
36183 &_swigt__p_wxPaperSize
,
36185 &_swigt__p_wxPenList
,
36186 &_swigt__p_wxPixelDataBase
,
36187 &_swigt__p_wxPoint
,
36188 &_swigt__p_wxPoint2D
,
36189 &_swigt__p_wxPostScriptDC
,
36190 &_swigt__p_wxPrintData
,
36191 &_swigt__p_wxPrinterDC
,
36192 &_swigt__p_wxPseudoDC
,
36193 &_swigt__p_wxPyApp
,
36194 &_swigt__p_wxPyCommandEvent
,
36195 &_swigt__p_wxPyEvent
,
36196 &_swigt__p_wxPyFontEnumerator
,
36197 &_swigt__p_wxPyImageHandler
,
36198 &_swigt__p_wxPyLocale
,
36199 &_swigt__p_wxPySizer
,
36200 &_swigt__p_wxPyValidator
,
36201 &_swigt__p_wxQueryNewPaletteEvent
,
36203 &_swigt__p_wxRegion
,
36204 &_swigt__p_wxRegionIterator
,
36205 &_swigt__p_wxRendererNative
,
36206 &_swigt__p_wxRendererVersion
,
36207 &_swigt__p_wxScreenDC
,
36208 &_swigt__p_wxScrollEvent
,
36209 &_swigt__p_wxScrollWinEvent
,
36210 &_swigt__p_wxSetCursorEvent
,
36211 &_swigt__p_wxShowEvent
,
36213 &_swigt__p_wxSizeEvent
,
36214 &_swigt__p_wxSizer
,
36215 &_swigt__p_wxSizerItem
,
36216 &_swigt__p_wxSplitterRenderParams
,
36217 &_swigt__p_wxStaticBoxSizer
,
36218 &_swigt__p_wxStdDialogButtonSizer
,
36219 &_swigt__p_wxStockGDI
,
36220 &_swigt__p_wxString
,
36221 &_swigt__p_wxSysColourChangedEvent
,
36222 &_swigt__p_wxTIFFHandler
,
36223 &_swigt__p_wxUpdateUIEvent
,
36224 &_swigt__p_wxValidator
,
36225 &_swigt__p_wxWindow
,
36226 &_swigt__p_wxWindowCreateEvent
,
36227 &_swigt__p_wxWindowDC
,
36228 &_swigt__p_wxWindowDestroyEvent
,
36229 &_swigt__p_wxXPMHandler
,
36232 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
36233 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
36234 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
36235 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
36236 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
36237 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
36238 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
36239 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
36240 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
36241 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
36242 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
36243 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
36244 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
36245 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
36246 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
36247 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}};
36248 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
36249 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
36250 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}};
36251 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
36252 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
36253 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
36254 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
36255 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxAutoBufferedPaintDC
, _p_wxAutoBufferedPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxMetaFileDC
, _p_wxMetaFileDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxPostScriptDC
, _p_wxPostScriptDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxDC
, 0, 0, 0}, {&_swigt__p_wxWindowDC
, _p_wxWindowDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxScreenDC
, _p_wxScreenDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxGCDC
, _p_wxGCDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxMirrorDC
, _p_wxMirrorDCTo_p_wxDC
, 0, 0},{0, 0, 0, 0}};
36256 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
36257 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
36258 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
36259 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
36260 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
36261 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
36262 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
36263 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
36264 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
36265 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}};
36266 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}};
36267 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
36268 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
36269 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
36270 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
36271 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
36272 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
36273 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
36274 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
36275 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
36276 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}};
36277 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
36278 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}};
36279 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
36280 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
36281 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
36282 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
36283 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
36284 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
36285 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
36286 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
36287 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
36288 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
36289 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
36290 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
36291 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36292 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36293 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36294 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
36295 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
36296 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
36297 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
36298 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
36299 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
36300 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
36301 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
36302 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
36303 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
36304 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36305 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36306 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36307 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36308 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
36309 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
36310 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
36311 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
36312 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36313 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36314 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
36315 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
36316 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36317 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
36318 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36319 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
36320 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36321 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36322 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36323 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
36324 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36325 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
36326 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
36327 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
36328 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
36329 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
36330 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
36331 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
36332 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
36333 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
36334 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
36335 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
36336 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
36337 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
36338 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
36339 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
36340 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
36341 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
36342 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
36343 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36344 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36345 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36346 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
36347 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
36348 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
36349 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
36350 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
36351 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36352 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36353 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36354 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
36355 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
36356 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
36357 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
36358 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
36359 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
36360 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
36361 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
36362 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegionIterator
, _p_wxRegionIteratorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPen
, _p_wxPenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGCDC
, _p_wxGCDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMask
, _p_wxMaskTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPseudoDC
, _p_wxPseudoDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFont
, _p_wxFontTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxRegion
, _p_wxRegionTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDC
, _p_wxDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIcon
, _p_wxIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDC
, _p_wxWindowDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGDIObject
, _p_wxGDIObjectTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEffects
, _p_wxEffectsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPostScriptDC
, _p_wxPostScriptDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAutoBufferedPaintDC
, _p_wxAutoBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScreenDC
, _p_wxScreenDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPalette
, _p_wxPaletteTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageList
, _p_wxImageListTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCursor
, _p_wxCursorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxMirrorDC
, _p_wxMirrorDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEncodingConverter
, _p_wxEncodingConverterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFileDC
, _p_wxMetaFileDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBitmap
, _p_wxBitmapTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBrush
, _p_wxBrushTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMetaFile
, _p_wxMetaFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColour
, _p_wxColourTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
36363 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
36364 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
36365 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
36366 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
36367 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
36368 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
36369 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}};
36370 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
36371 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
36372 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
36373 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
36374 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
36375 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
36376 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
36377 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
36378 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
36379 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
36380 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
36381 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
36382 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
36383 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
36384 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
36385 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
36386 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
36387 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
36388 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}};
36389 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}};
36391 static swig_cast_info
*swig_cast_initial
[] = {
36395 _swigc__p_form_ops_t
,
36397 _swigc__p_unsigned_char
,
36398 _swigc__p_unsigned_int
,
36399 _swigc__p_unsigned_long
,
36401 _swigc__p_wxANIHandler
,
36402 _swigc__p_wxAcceleratorTable
,
36403 _swigc__p_wxActivateEvent
,
36404 _swigc__p_wxAlphaPixelData
,
36405 _swigc__p_wxAlphaPixelData_Accessor
,
36406 _swigc__p_wxAutoBufferedPaintDC
,
36407 _swigc__p_wxBMPHandler
,
36408 _swigc__p_wxBitmap
,
36409 _swigc__p_wxBoxSizer
,
36411 _swigc__p_wxBrushList
,
36412 _swigc__p_wxBufferedDC
,
36413 _swigc__p_wxBufferedPaintDC
,
36414 _swigc__p_wxCURHandler
,
36416 _swigc__p_wxChildFocusEvent
,
36417 _swigc__p_wxClientDC
,
36418 _swigc__p_wxClipboardTextEvent
,
36419 _swigc__p_wxCloseEvent
,
36421 _swigc__p_wxColour
,
36422 _swigc__p_wxColourDatabase
,
36423 _swigc__p_wxCommandEvent
,
36424 _swigc__p_wxContextMenuEvent
,
36425 _swigc__p_wxControl
,
36426 _swigc__p_wxControlWithItems
,
36427 _swigc__p_wxCursor
,
36429 _swigc__p_wxDCOverlay
,
36431 _swigc__p_wxDateEvent
,
36432 _swigc__p_wxDisplayChangedEvent
,
36433 _swigc__p_wxDropFilesEvent
,
36434 _swigc__p_wxDuplexMode
,
36435 _swigc__p_wxEffects
,
36436 _swigc__p_wxEncodingConverter
,
36437 _swigc__p_wxEraseEvent
,
36439 _swigc__p_wxEvtHandler
,
36440 _swigc__p_wxFSFile
,
36441 _swigc__p_wxFileSystem
,
36442 _swigc__p_wxFlexGridSizer
,
36443 _swigc__p_wxFocusEvent
,
36445 _swigc__p_wxFontList
,
36446 _swigc__p_wxFontMapper
,
36447 _swigc__p_wxGBSizerItem
,
36449 _swigc__p_wxGDIObjListBase
,
36450 _swigc__p_wxGDIObject
,
36451 _swigc__p_wxGIFHandler
,
36452 _swigc__p_wxGraphicsContext
,
36453 _swigc__p_wxGraphicsPath
,
36454 _swigc__p_wxGridBagSizer
,
36455 _swigc__p_wxGridSizer
,
36456 _swigc__p_wxHeaderButtonParams
,
36457 _swigc__p_wxICOHandler
,
36459 _swigc__p_wxIconBundle
,
36460 _swigc__p_wxIconLocation
,
36461 _swigc__p_wxIconizeEvent
,
36462 _swigc__p_wxIdleEvent
,
36464 _swigc__p_wxImageHandler
,
36465 _swigc__p_wxImageList
,
36466 _swigc__p_wxIndividualLayoutConstraint
,
36467 _swigc__p_wxInitDialogEvent
,
36468 _swigc__p_wxJPEGHandler
,
36469 _swigc__p_wxKeyEvent
,
36470 _swigc__p_wxLanguageInfo
,
36471 _swigc__p_wxLayoutConstraints
,
36472 _swigc__p_wxLocale
,
36474 _swigc__p_wxMaximizeEvent
,
36475 _swigc__p_wxMemoryDC
,
36477 _swigc__p_wxMenuBar
,
36478 _swigc__p_wxMenuEvent
,
36479 _swigc__p_wxMenuItem
,
36480 _swigc__p_wxMetaFile
,
36481 _swigc__p_wxMetaFileDC
,
36482 _swigc__p_wxMirrorDC
,
36483 _swigc__p_wxMouseCaptureChangedEvent
,
36484 _swigc__p_wxMouseCaptureLostEvent
,
36485 _swigc__p_wxMouseEvent
,
36486 _swigc__p_wxMoveEvent
,
36487 _swigc__p_wxNativeEncodingInfo
,
36488 _swigc__p_wxNativeFontInfo
,
36489 _swigc__p_wxNativePixelData
,
36490 _swigc__p_wxNativePixelData_Accessor
,
36491 _swigc__p_wxNavigationKeyEvent
,
36492 _swigc__p_wxNcPaintEvent
,
36493 _swigc__p_wxNotifyEvent
,
36494 _swigc__p_wxObject
,
36495 _swigc__p_wxOverlay
,
36496 _swigc__p_wxPCXHandler
,
36497 _swigc__p_wxPNGHandler
,
36498 _swigc__p_wxPNMHandler
,
36499 _swigc__p_wxPaintDC
,
36500 _swigc__p_wxPaintEvent
,
36501 _swigc__p_wxPalette
,
36502 _swigc__p_wxPaletteChangedEvent
,
36503 _swigc__p_wxPaperSize
,
36505 _swigc__p_wxPenList
,
36506 _swigc__p_wxPixelDataBase
,
36508 _swigc__p_wxPoint2D
,
36509 _swigc__p_wxPostScriptDC
,
36510 _swigc__p_wxPrintData
,
36511 _swigc__p_wxPrinterDC
,
36512 _swigc__p_wxPseudoDC
,
36514 _swigc__p_wxPyCommandEvent
,
36515 _swigc__p_wxPyEvent
,
36516 _swigc__p_wxPyFontEnumerator
,
36517 _swigc__p_wxPyImageHandler
,
36518 _swigc__p_wxPyLocale
,
36519 _swigc__p_wxPySizer
,
36520 _swigc__p_wxPyValidator
,
36521 _swigc__p_wxQueryNewPaletteEvent
,
36523 _swigc__p_wxRegion
,
36524 _swigc__p_wxRegionIterator
,
36525 _swigc__p_wxRendererNative
,
36526 _swigc__p_wxRendererVersion
,
36527 _swigc__p_wxScreenDC
,
36528 _swigc__p_wxScrollEvent
,
36529 _swigc__p_wxScrollWinEvent
,
36530 _swigc__p_wxSetCursorEvent
,
36531 _swigc__p_wxShowEvent
,
36533 _swigc__p_wxSizeEvent
,
36535 _swigc__p_wxSizerItem
,
36536 _swigc__p_wxSplitterRenderParams
,
36537 _swigc__p_wxStaticBoxSizer
,
36538 _swigc__p_wxStdDialogButtonSizer
,
36539 _swigc__p_wxStockGDI
,
36540 _swigc__p_wxString
,
36541 _swigc__p_wxSysColourChangedEvent
,
36542 _swigc__p_wxTIFFHandler
,
36543 _swigc__p_wxUpdateUIEvent
,
36544 _swigc__p_wxValidator
,
36545 _swigc__p_wxWindow
,
36546 _swigc__p_wxWindowCreateEvent
,
36547 _swigc__p_wxWindowDC
,
36548 _swigc__p_wxWindowDestroyEvent
,
36549 _swigc__p_wxXPMHandler
,
36553 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36555 static swig_const_info swig_const_table
[] = {
36556 {0, 0, 0, 0.0, 0, 0}};
36561 /* -----------------------------------------------------------------------------
36562 * Type initialization:
36563 * This problem is tough by the requirement that no dynamic
36564 * memory is used. Also, since swig_type_info structures store pointers to
36565 * swig_cast_info structures and swig_cast_info structures store pointers back
36566 * to swig_type_info structures, we need some lookup code at initialization.
36567 * The idea is that swig generates all the structures that are needed.
36568 * The runtime then collects these partially filled structures.
36569 * The SWIG_InitializeModule function takes these initial arrays out of
36570 * swig_module, and does all the lookup, filling in the swig_module.types
36571 * array with the correct data and linking the correct swig_cast_info
36572 * structures together.
36574 * The generated swig_type_info structures are assigned staticly to an initial
36575 * array. We just loop though that array, and handle each type individually.
36576 * First we lookup if this type has been already loaded, and if so, use the
36577 * loaded structure instead of the generated one. Then we have to fill in the
36578 * cast linked list. The cast data is initially stored in something like a
36579 * two-dimensional array. Each row corresponds to a type (there are the same
36580 * number of rows as there are in the swig_type_initial array). Each entry in
36581 * a column is one of the swig_cast_info structures for that type.
36582 * The cast_initial array is actually an array of arrays, because each row has
36583 * a variable number of columns. So to actually build the cast linked list,
36584 * we find the array of casts associated with the type, and loop through it
36585 * adding the casts to the list. The one last trick we need to do is making
36586 * sure the type pointer in the swig_cast_info struct is correct.
36588 * First off, we lookup the cast->type name to see if it is already loaded.
36589 * There are three cases to handle:
36590 * 1) If the cast->type has already been loaded AND the type we are adding
36591 * casting info to has not been loaded (it is in this module), THEN we
36592 * replace the cast->type pointer with the type pointer that has already
36594 * 2) If BOTH types (the one we are adding casting info to, and the
36595 * cast->type) are loaded, THEN the cast info has already been loaded by
36596 * the previous module so we just ignore it.
36597 * 3) Finally, if cast->type has not already been loaded, then we add that
36598 * swig_cast_info to the linked list (because the cast->type) pointer will
36600 * ----------------------------------------------------------------------------- */
36610 #define SWIGRUNTIME_DEBUG
36614 SWIG_InitializeModule(void *clientdata
) {
36616 swig_module_info
*module_head
;
36617 static int init_run
= 0;
36619 clientdata
= clientdata
;
36621 if (init_run
) return;
36624 /* Initialize the swig_module */
36625 swig_module
.type_initial
= swig_type_initial
;
36626 swig_module
.cast_initial
= swig_cast_initial
;
36628 /* Try and load any already created modules */
36629 module_head
= SWIG_GetModule(clientdata
);
36631 swig_module
.next
= module_head
->next
;
36632 module_head
->next
= &swig_module
;
36634 /* This is the first module loaded */
36635 swig_module
.next
= &swig_module
;
36636 SWIG_SetModule(clientdata
, &swig_module
);
36639 /* Now work on filling in swig_module.types */
36640 #ifdef SWIGRUNTIME_DEBUG
36641 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
36643 for (i
= 0; i
< swig_module
.size
; ++i
) {
36644 swig_type_info
*type
= 0;
36645 swig_type_info
*ret
;
36646 swig_cast_info
*cast
;
36648 #ifdef SWIGRUNTIME_DEBUG
36649 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
36652 /* if there is another module already loaded */
36653 if (swig_module
.next
!= &swig_module
) {
36654 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
36657 /* Overwrite clientdata field */
36658 #ifdef SWIGRUNTIME_DEBUG
36659 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
36661 if (swig_module
.type_initial
[i
]->clientdata
) {
36662 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
36663 #ifdef SWIGRUNTIME_DEBUG
36664 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
36668 type
= swig_module
.type_initial
[i
];
36671 /* Insert casting types */
36672 cast
= swig_module
.cast_initial
[i
];
36673 while (cast
->type
) {
36674 /* Don't need to add information already in the list */
36676 #ifdef SWIGRUNTIME_DEBUG
36677 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
36679 if (swig_module
.next
!= &swig_module
) {
36680 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
36681 #ifdef SWIGRUNTIME_DEBUG
36682 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
36686 if (type
== swig_module
.type_initial
[i
]) {
36687 #ifdef SWIGRUNTIME_DEBUG
36688 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
36693 /* Check for casting already in the list */
36694 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
36695 #ifdef SWIGRUNTIME_DEBUG
36696 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
36698 if (!ocast
) ret
= 0;
36703 #ifdef SWIGRUNTIME_DEBUG
36704 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
36707 type
->cast
->prev
= cast
;
36708 cast
->next
= type
->cast
;
36714 /* Set entry in modules->types array equal to the type */
36715 swig_module
.types
[i
] = type
;
36717 swig_module
.types
[i
] = 0;
36719 #ifdef SWIGRUNTIME_DEBUG
36720 printf("**** SWIG_InitializeModule: Cast List ******\n");
36721 for (i
= 0; i
< swig_module
.size
; ++i
) {
36723 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
36724 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
36725 while (cast
->type
) {
36726 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
36730 printf("---- Total casts: %d\n",j
);
36732 printf("**** SWIG_InitializeModule: Cast List ******\n");
36736 /* This function will propagate the clientdata field of type to
36737 * any new swig_type_info structures that have been added into the list
36738 * of equivalent types. It is like calling
36739 * SWIG_TypeClientData(type, clientdata) a second time.
36742 SWIG_PropagateClientData(void) {
36744 swig_cast_info
*equiv
;
36745 static int init_run
= 0;
36747 if (init_run
) return;
36750 for (i
= 0; i
< swig_module
.size
; i
++) {
36751 if (swig_module
.types
[i
]->clientdata
) {
36752 equiv
= swig_module
.types
[i
]->cast
;
36754 if (!equiv
->converter
) {
36755 if (equiv
->type
&& !equiv
->type
->clientdata
)
36756 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
36758 equiv
= equiv
->next
;
36778 /* Python-specific SWIG API */
36779 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36780 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36781 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36783 /* -----------------------------------------------------------------------------
36784 * global variable support code.
36785 * ----------------------------------------------------------------------------- */
36787 typedef struct swig_globalvar
{
36788 char *name
; /* Name of global variable */
36789 PyObject
*(*get_attr
)(void); /* Return the current value */
36790 int (*set_attr
)(PyObject
*); /* Set the value */
36791 struct swig_globalvar
*next
;
36794 typedef struct swig_varlinkobject
{
36796 swig_globalvar
*vars
;
36797 } swig_varlinkobject
;
36799 SWIGINTERN PyObject
*
36800 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
36801 return PyString_FromString("<Swig global variables>");
36804 SWIGINTERN PyObject
*
36805 swig_varlink_str(swig_varlinkobject
*v
) {
36806 PyObject
*str
= PyString_FromString("(");
36807 swig_globalvar
*var
;
36808 for (var
= v
->vars
; var
; var
=var
->next
) {
36809 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
36810 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
36812 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
36817 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
36818 PyObject
*str
= swig_varlink_str(v
);
36819 fprintf(fp
,"Swig global variables ");
36820 fprintf(fp
,"%s\n", PyString_AsString(str
));
36826 swig_varlink_dealloc(swig_varlinkobject
*v
) {
36827 swig_globalvar
*var
= v
->vars
;
36829 swig_globalvar
*n
= var
->next
;
36836 SWIGINTERN PyObject
*
36837 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
36838 PyObject
*res
= NULL
;
36839 swig_globalvar
*var
= v
->vars
;
36841 if (strcmp(var
->name
,n
) == 0) {
36842 res
= (*var
->get_attr
)();
36847 if (res
== NULL
&& !PyErr_Occurred()) {
36848 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36854 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
36856 swig_globalvar
*var
= v
->vars
;
36858 if (strcmp(var
->name
,n
) == 0) {
36859 res
= (*var
->set_attr
)(p
);
36864 if (res
== 1 && !PyErr_Occurred()) {
36865 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36870 SWIGINTERN PyTypeObject
*
36871 swig_varlink_type(void) {
36872 static char varlink__doc__
[] = "Swig var link object";
36873 static PyTypeObject varlink_type
;
36874 static int type_init
= 0;
36876 const PyTypeObject tmp
36878 PyObject_HEAD_INIT(NULL
)
36879 0, /* Number of items in variable part (ob_size) */
36880 (char *)"swigvarlink", /* Type name (tp_name) */
36881 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
36882 0, /* Itemsize (tp_itemsize) */
36883 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
36884 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
36885 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
36886 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
36887 0, /* tp_compare */
36888 (reprfunc
) swig_varlink_repr
, /* tp_repr */
36889 0, /* tp_as_number */
36890 0, /* tp_as_sequence */
36891 0, /* tp_as_mapping */
36894 (reprfunc
)swig_varlink_str
, /* tp_str */
36895 0, /* tp_getattro */
36896 0, /* tp_setattro */
36897 0, /* tp_as_buffer */
36899 varlink__doc__
, /* tp_doc */
36900 0, /* tp_traverse */
36902 0, /* tp_richcompare */
36903 0, /* tp_weaklistoffset */
36904 #if PY_VERSION_HEX >= 0x02020000
36905 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
36907 #if PY_VERSION_HEX >= 0x02030000
36910 #ifdef COUNT_ALLOCS
36911 0,0,0,0 /* tp_alloc -> tp_next */
36914 varlink_type
= tmp
;
36915 varlink_type
.ob_type
= &PyType_Type
;
36918 return &varlink_type
;
36921 /* Create a variable linking object for use later */
36922 SWIGINTERN PyObject
*
36923 SWIG_Python_newvarlink(void) {
36924 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
36928 return ((PyObject
*) result
);
36932 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
36933 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
36934 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
36936 size_t size
= strlen(name
)+1;
36937 gv
->name
= (char *)malloc(size
);
36939 strncpy(gv
->name
,name
,size
);
36940 gv
->get_attr
= get_attr
;
36941 gv
->set_attr
= set_attr
;
36942 gv
->next
= v
->vars
;
36948 SWIGINTERN PyObject
*
36950 static PyObject
*_SWIG_globals
= 0;
36951 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
36952 return _SWIG_globals
;
36955 /* -----------------------------------------------------------------------------
36956 * constants/methods manipulation
36957 * ----------------------------------------------------------------------------- */
36959 /* Install Constants */
36961 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
36964 for (i
= 0; constants
[i
].type
; ++i
) {
36965 switch(constants
[i
].type
) {
36966 case SWIG_PY_POINTER
:
36967 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
36969 case SWIG_PY_BINARY
:
36970 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
36977 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
36983 /* -----------------------------------------------------------------------------*/
36984 /* Fix SwigMethods to carry the callback ptrs when needed */
36985 /* -----------------------------------------------------------------------------*/
36988 SWIG_Python_FixMethods(PyMethodDef
*methods
,
36989 swig_const_info
*const_table
,
36990 swig_type_info
**types
,
36991 swig_type_info
**types_initial
) {
36993 for (i
= 0; methods
[i
].ml_name
; ++i
) {
36994 const char *c
= methods
[i
].ml_doc
;
36995 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
36997 swig_const_info
*ci
= 0;
36998 const char *name
= c
+ 10;
36999 for (j
= 0; const_table
[j
].type
; ++j
) {
37000 if (strncmp(const_table
[j
].name
, name
,
37001 strlen(const_table
[j
].name
)) == 0) {
37002 ci
= &(const_table
[j
]);
37007 size_t shift
= (ci
->ptype
) - types
;
37008 swig_type_info
*ty
= types_initial
[shift
];
37009 size_t ldoc
= (c
- methods
[i
].ml_doc
);
37010 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
37011 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
37014 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
37016 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
37018 strncpy(buff
, "swig_ptr: ", 10);
37020 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
37021 methods
[i
].ml_doc
= ndoc
;
37033 /* -----------------------------------------------------------------------------*
37034 * Partial Init method
37035 * -----------------------------------------------------------------------------*/
37040 SWIGEXPORT
void SWIG_init(void) {
37043 /* Fix SwigMethods to carry the callback ptrs when needed */
37044 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
37046 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
37047 d
= PyModule_GetDict(m
);
37049 SWIG_InitializeModule(0);
37050 SWIG_InstallConstants(d
,swig_const_table
);
37053 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
37054 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
37055 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
37056 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
37057 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
37058 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
37059 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
37060 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
37061 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
37062 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
37063 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
37064 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
37065 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
37066 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
37067 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
37068 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
37069 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
37070 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
37071 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
37072 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
37073 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
37074 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
37075 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
37076 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
37077 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
37078 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
37079 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
37080 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
37081 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
37082 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
37083 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
37084 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
37085 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
37086 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
37087 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
37088 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
37089 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
37090 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
37091 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
37092 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
37093 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
37094 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
37095 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
37096 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
37097 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
37098 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
37099 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
37100 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
37101 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
37102 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
37103 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
37104 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
37105 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
37106 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
37107 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
37108 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
37109 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
37110 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
37111 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
37112 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
37113 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
37114 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
37115 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
37116 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
37117 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
37118 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
37119 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
37120 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
37121 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
37122 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
37123 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
37124 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
37125 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
37126 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
37127 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
37128 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
37129 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
37130 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
37131 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
37132 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
37133 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
37134 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
37135 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
37136 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
37137 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
37138 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
37139 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
37140 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
37141 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
37142 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
37143 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
37144 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
37145 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
37146 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
37147 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
37148 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
37149 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
37150 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
37151 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
37152 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
37153 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
37154 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
37155 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
37156 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
37157 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
37158 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
37159 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
37160 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
37161 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
37162 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
37163 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
37164 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
37165 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
37166 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
37167 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
37168 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
37169 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
37170 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
37171 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
37172 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
37173 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
37174 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
37175 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
37176 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
37177 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
37178 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
37179 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
37180 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
37181 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
37182 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
37183 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
37184 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
37186 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
37188 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
37189 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
37190 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
37191 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
37192 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
37193 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
37194 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
37195 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
37196 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
37197 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
37198 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
37199 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
37200 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
37201 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
37202 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
37203 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
37204 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
37205 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
37206 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
37207 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
37208 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
37209 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
37210 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
37211 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
37212 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
37213 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
37214 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
37215 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
37216 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
37217 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
37218 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
37219 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
37220 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
37221 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
37222 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
37223 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
37224 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
37225 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
37226 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
37227 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
37228 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
37229 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
37230 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
37231 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
37232 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
37233 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
37234 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
37235 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
37236 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
37237 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
37238 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
37239 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
37240 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
37241 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
37242 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
37243 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
37244 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
37245 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
37246 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
37247 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
37248 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
37249 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
37250 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
37251 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
37252 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
37253 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
37254 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
37255 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
37256 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
37257 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
37258 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
37259 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
37260 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
37261 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
37262 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
37263 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
37264 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
37265 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
37266 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
37267 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
37268 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
37269 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
37270 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
37271 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
37272 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
37273 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
37274 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
37275 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
37276 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
37277 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
37278 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
37279 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
37280 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
37281 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
37282 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
37283 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
37284 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
37285 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
37286 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
37287 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
37288 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
37289 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
37290 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
37291 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
37292 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
37293 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
37294 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
37295 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
37296 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
37297 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
37298 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
37299 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
37300 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
37301 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
37302 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
37303 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
37304 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
37305 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
37306 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
37307 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
37308 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
37309 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
37310 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
37311 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
37312 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
37313 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
37314 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
37315 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
37316 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
37317 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
37318 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
37319 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
37320 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
37321 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
37322 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
37323 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
37324 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
37325 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
37326 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
37327 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
37328 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
37329 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
37330 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
37331 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
37332 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
37333 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
37334 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
37335 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
37336 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
37337 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
37338 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
37339 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
37340 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
37341 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
37342 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
37343 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
37344 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
37345 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
37346 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
37347 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
37348 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
37349 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
37350 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
37351 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
37352 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
37353 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
37354 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
37355 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
37356 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
37357 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
37358 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
37359 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
37360 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
37361 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
37362 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
37363 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
37364 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
37365 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
37366 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
37367 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
37368 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
37369 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
37370 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
37371 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
37372 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
37373 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
37374 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
37375 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
37376 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
37377 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
37378 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
37379 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
37380 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
37381 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
37382 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
37383 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
37384 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
37385 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
37386 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
37387 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
37388 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
37389 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
37390 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
37391 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
37392 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
37393 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
37394 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
37395 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
37396 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
37397 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
37398 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
37399 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
37400 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
37401 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
37402 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
37403 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
37404 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
37405 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
37406 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
37407 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
37408 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
37409 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
37410 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
37411 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
37412 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
37413 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
37414 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
37415 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
37416 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
37417 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
37418 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
37419 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
37420 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
37421 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
37422 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
37423 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
37424 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
37425 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
37426 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
37427 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
37428 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
37429 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
37430 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
37431 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
37432 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
37433 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
37434 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
37435 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
37436 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
37437 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
37438 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
37439 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
37440 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
37441 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
37442 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
37443 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
37444 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
37445 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
37446 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
37447 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
37448 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
37449 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
37450 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
37451 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
37452 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
37453 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
37454 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
37455 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
37456 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
37457 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
37458 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
37459 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
37460 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
37461 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
37462 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
37463 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
37464 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
37465 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
37466 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
37467 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
37468 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
37469 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
37470 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
37471 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
37472 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
37473 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
37474 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
37475 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
37476 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
37477 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
37478 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
37479 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
37480 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
37481 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
37482 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
37483 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
37484 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
37485 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
37486 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
37487 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
37488 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
37489 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
37490 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
37491 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
37492 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
37493 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
37494 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
37495 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
37496 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
37497 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
37498 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
37499 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
37500 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
37501 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
37502 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
37503 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
37504 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
37505 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
37506 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
37508 // Work around a chicken/egg problem in drawlist.cpp
37509 wxPyDrawList_SetAPIPtr();